March 2010
2 posts
A simple way to import commits from git to svn
Disclaimer: I’m posting this because when I googled for a quick solution for importing a few git commits into subversion there was nothing. This might not be perfect, but it worked for me. The basic idea is to output the patch files from git. This will export a patch file for each commit between these two shas git format-patch --no-prefix sha1..sha2 Then apply the patch, add and remove...
Mar 31st
Real Time Web Talk at Scottish Ruby Conf
Here are the slides for the talk Makoto and I gave today at Scottish Ruby Conf. Thanks to everyone who came to support us, and for all the positive comments. Real Time Web - What’s that for? View more presentations from mloughran.
Mar 27th
August 2009
1 post
Removing Vodafone malware that spoils the Snow...
I had the software for a Vodafone mobile dongle installed on my 10.5 mac which caused a 5 minute beach ball after I installed Snow Leopard. Maybe installing rosetta as prompted would have made it work, but I just wanted to rid myself of this nastiness since I’m not using the dongle any more anyway. Dear google, this is what I did, YMMV: Remove the following from...
Aug 28th
1 note
April 2009
1 post
Roaming calls swindle continues...
Since the EU regulations on roaming charges within Europe came into force, I’ve been pleased to receive a handy little text from O2 whenever I enter a new country: Calls to the UK & the EU cost 35ppm and 18pmm to receive (inc VAT). Further info on freephone 2266. Voicemail works as it does in the UK. Nice, but they don’t tell you one very important thing: While incoming...
Apr 5th
February 2009
1 post
SmartSleep →
Fantastic little tool that automatically chooses sleep (RAM) or sleep + hibernate (disk) based on your battery level. I used to disable hibernate because of the inordinate time it takes for 4GB of RAM to be written to disk. I want to sleep and go NOW without worrying that my delicate hard disk is still spinning half way down the street!
Feb 26th
October 2008
2 posts
Oct 4th
Dear Google, please look here!
Friends of Carmarthen Museum has some fascinating articles on the history of Carmarthenshire which should be googleable!
Oct 4th
August 2008
1 post
Aug 9th
June 2008
1 post
UNIQLOCK →
Brain hypnosis. So creative. Does it ever repeat?
Jun 11th
May 2008
1 post
Tinydb.org
Tinydb is a fantastic way of storing structured data inside a tiny url. It’s a database in the cloud without any security, querying, editing… basically anything. However since it runs on the Google App Engine the data is actually being stored on a Google Bigtable. Clearly, it’s the best place in the world for the most useless data I can possibly imagine! I am happy to...
May 13th
April 2008
1 post
I needed to use mysql and php...
Problem: built in php can’t find macports installed MySQL on OS X Leopard. Solution: sudo cp /etc/php.ini.default /etc/php.ini mysql.default_socket = /private/tmp/mysql.sock in php.ini restart apache
Apr 9th
March 2008
4 posts
Why data matters →
Google isn’t merely interested in all the data on the internet. They would like to store every interaction of every human being with every piece of that data. Running MapReduce on that data set must be so much fun.
Mar 25th
OneLessDesk →
Unfortunately I just bought a new desk…
Mar 18th
Mar 14th
Do not use 123-reg
I cannot believe their site is so bad. It’s absolutely criminal. They spend loads of time making their front end website really nice and pretty to get people to sign up but then provide the worst management tools I’ve ever seen. There is no navigation, no style, no IA, no logic, no usability. Random static text, forms with existing values not pre-filled, and timeout errors as they...
Mar 4th
February 2008
1 post
Optical illusion: grayscale colour photo! →
Best optical illusion I’ve seen for a while! I bet I could find out how this works too and make my own.
Feb 25th
January 2008
7 posts
Rubular →
This is so simple! Such a nice way to play around with regular expressions (ruby).
Jan 31st
Jan 26th
Jan 25th
Jan 20th
Jan 20th
Cron runs on the iPhone
I wish I could think of something cool to do with this tidbit of information!
Jan 7th
How come I never knew about the unix file utility?! It’s so handy!
Jan 7th
December 2007
5 posts
The flash based iplayer is here! Well done BBC.
Dec 14th
reverse_merge! →
Why didn’t I think of this?
Dec 13th
http://alienryderflex.com/sub_pixel/ →
Best explanation I’ve seen of sub-pixel anti aliasing. Mighty clever, but honestly it’s just a horrible hack until we finally get high dpi displays.
Dec 9th
Code golf →
This could waste so much time!
Dec 7th
Trying out tumblr
I’m too lazy for blogging.
Dec 6th