morocco

in search for some February sunshine i’ve spent 11 days in Morocco.

extracting single database from a [large] mysqldump

extracting the whole database: sed -n '/^-- Current Database: `databaseName`/,/^-- Current Database: `/p' /path/to/the/fill/dump.sql > output.sql single table: sed -n '/^CREATE TABLE `tableName`/,/^\-\- Table structure for table /p' /path/to/the/fill/dump.sql > output.sql [via this blog]

aspies

few articles about mild form of autism: Jeff Atwood – Software Developers and Asperger’s Syndrome Tracy Mayor/computerworld – Asperger’s and IT: Dark secret or open secret? sounds familiar?