Over the last month I’ve experienced a small explosion in email traffic about CAC on Linux, especially Ubuntu derivatives — most of it bad. It seems like some version of Firefox has a nasty bug where Firefox crashes hard as soon as you stick your CAC in the pooter, and then can’t get up again […]
Month: April 2013
Version String Comparison in Python
Comparing and sorting version strings in Python scripts has come up a few times lately. Here are some simple approaches. These examples assume that the version strings will be numeric representations and not include elements like “rc-1” or “alpha” or whatever. If your problem includes these kinds of elements, don’t worry — they are solvable […]
Most common Bash date commands for timestamping
From time to time I get asked how to use the date command to generate a timestamp. Here is an idiot-friendly script you can post for reference in your team’s bin/ if you get interrupted about timestamp questions or have an aversion to typing phrases like “man date” (with or without a space). All but […]