A Better Python strftime / strptime Table

I present two tables that reformat the Python strptime, strftime documentation. The first is a short table with the most useful directives, the second is a longer table with all of the directives. This is easier for me to scan than the native docs. Hopefully it will help others as well.

UnitDirectiveDescriptionExample
YEAR%Y4-digit1970, 1988, 2001, 2013
MONTH%mDecimal zero-padded01, 02, ..., 12
DAY%dDecimal zero-padded01, 02, ..., 31
HOUR%H24-hour clock, zero-padded00, 01, ..., 23
MINUTE%MDecimal zero-padded00, 01, ..., 59
SECOND%SDecimal zero-padded00, 01, ..., 59
TIMEZONE%zUTC offset(empty), +0000, -0400, +1030
ISO format%Y-%m-%dT%H:%M:%S%z

Continue reading

Good Old Disk Utility

If you have been sadly struggling with the new Apple Disk Utility software, I can confirm the instructions on this page work to restore the old Disk Utility. I can make no claims as to the reliability of running the old Disk Utility on El Cap, however.

https://justus.berlin/2015/10/restore-old-disk-utility-in-os-x-el-capitan/