Category: WebDev & Code

  • Calc (Openoffice / Libreoffice) If statements using 'between' or 'and'

    It’s always annoyed me when I want to write an if statement where true is based upon more than one fact and I have to nest if statements. Today I looked at lots of other forumulas and found one that let me create an if_between effect. Like “IF a number is between 2000 and 3000…

  • 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…

  • 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…