Lazy checking website’s SSL certs

Thursday, 05. 11. 2006  –  Category: all, stash

I wanted to avoid RSI checking the browser’s padlock on every site I’d just updated a SSL cert for: [lemon@core ~ ] 0 $ for z in 4 5 6 7 8 9 10 11 12 ; do echo 'GET /' | openssl s_client -connect devgateway${z}.foo.co.uk:443 2>&1 | openssl x509 -text | grep -i 'Not […]

MySQL 4.0 -> 5.0, unicode

Thursday, 03. 2. 2006  –  Category: all, sw

Things: Loading a ISO-8559-1 encoded dump into a UTF-8 database breaks, fields are truncated at the first non-valid character. Not terribly surprising, but MySQL is silent about the breakage. Content which looks like, and is declared, ISO-8559-1 might actually get rendered by browsers as CP1252 (aka MS-ANSI WINDOWS-1252) The difference between these two are that […]

FreeBSD GEOM mirroring

Friday, 02. 3. 2006  –  Category: all, sw

‘Cos I keep losing it, here‘s a link to mirroring your new FreeBSD install without all the fiddly scripts of the other Google hits :)