Uncategorized

generate list of files for gem spec

Posted in Uncategorized on April 15th, 2010 by Rob – Be the first to comment

Gemspec files require the list of files to include in the gem build, here’s simple command you can run to add all files descending from the current directory, it ignores the .git directory and sorts the list for you.

1
find . -type file | grep -v .git/ | sort

You just to add the ruby array syntax.
replace ./ with ”
replace \n with “,\n

Mac OSX TerminalColors not loaded error with Terminal version 2.1.1 (v273)

Posted in Uncategorized on April 13th, 2010 by Rob – Be the first to comment

With the recent update to OSX Snow Leopard if your’re using the TerminalColors SIMBL plugin you may notice you’ll have an error when loading your Terminal.

This is easily fixable, by modifiying the Info.plist in the plugin to check for a higher version.

cd ~/Library/Application\ Support/SIMBL/Plugins/TerminalColours.bundle/Contents

open Info.plist in your favourite editor find the following lines:

28
29
30
31
<key>MaxBundleVersion</key>
<string>272</string>
<key>MinBundleVersion</key>
<string>240</string>

change the 272 to 273
save the file, close your Terminal.app completely (Cmd+Q)

Start Terminal again and everything should be back to normal.

Google thinks every result is spam/malware?

Posted in Uncategorized on January 31st, 2009 by Rob – Be the first to comment

I’ve turned my computer on today gone to search google and found that all the results have a warning under them…

“This site may harm your computer”

even amazon… what are google doing to me?

Clicking on them gives me a google page that blocks me access to the page. :(

Google reckons all it's results are harmful

Google reckons all it's results are harmful

//Update @ 15:16 GMT
It would appear that I am not the only one, Google is actually broken, someone’s committed some broken code, whoops.

Theres loads of threads on the Google support forum about this.