Author: sroot
-
Gitolite won't let server read repo
A note for my future self. Summary: When adding a new production server to my cap deploy that will clone a repository from my gitolite server, First SSH into the gitolite server so the production server has the gitolite server in it’s trusted hosts file. More detail: A repository on my gitolite server wouldn’t allow…
-
Installing a new hard disk in a Mac = not fun
So I had to upgrade my mac hard disk. 12 months and I filled the 320Gb disk so I treated myself to a Seagate Momentus XT 750Gb disk. It has NOT been fun. Problems so far include: Initialise disk over the internet and restore from TimeMachine – fails to restore the recovery partition so cannot…
-
WordPress redirects
Moving from movabletype to wordpress has involved several post moving to new locations. The redirection plugin has made adding redirects easy but only once I figured out the correct regular expressions to use. Here’s what I’ve had to use. 1) Old MT pages had .html on the permalink Source: /(d*)/(d*)/(.*).html Target: /$1/$2/$3/ 2) A much…