1. Install .vpk files on mac

    .vpk files are packaged up add-on files for steam games such as Left 4 Dead 2. To install these files on windows doub...

  2. Tidy git branches

    Branching in git is an ease to work with and literally takes seconds. You can be working on your own feature, switch ...

  3. Rails mass assignment checker

    A quick way to list all you rails models and find out column names an which have been white and blacklisted against m...

  4. sed find and replace

    Currently in the middle of a rails 3 upgrade. Here's a quick one line fix with sed to replace all named_scope to ...

  5. nginx rewrite rules for html extensions

    I Just swtiched to jekyll running in nginx. It's simple and lightning fast.jekyll makes all output files .html ho...

  6. Restarting nginx

    A quick how to on restarting nginx when init scripts or start scripts aren't available. These aren't added by...

  7. rm: /PATH_TO_FILE not removed: Disc quota exceeded

    This occurred whilst using Solaris on Joyent. Somewhat annoying when one can't remove a file when Disc quota exce...

  8. Connecting to SourceTV with password

    In order to connect to SourceTV with a password set the following syntax is used in console...connect SERVER_IP; pass...

  9. How-to: Deploy Ruby on Rails in a subdirectory and not in root

    Normally one would deploy their rails application in the root directory (top-level) ie where the domain is, for examp...