Archive for the ‘Code’ Category

Photo feed as Desktop Background

Thursday, April 17th, 2008

I first came up with this idea after reading a post on HackerMoJo.com about getting an RSS feed of images as a Screen Saver using a python script. The idea is simple: Take a feed, parse it, and save the photos it links to as numbered images in a folder on the disk, then use […]

Smooth SSH Passwordless Authentication

Tuesday, February 5th, 2008

This post first appeared on the Voodoo Finance blog which is maintained by my friend Constantinos Michael, and I’m recreating it here with some extensions so I can find the code more easily when I need it. Using computers remotely is a big part of what I do. Whether I’m at home and need to […]

Simulating encrypted physical disk in OS X

Wednesday, January 30th, 2008

I’ve always wanted to do this: have my personal files on a memory stick, encrypted, and when I insert the memory stick in a USB port then OS X asks me for a password to decrypt the files. Unfortunately, this functionality isn’t offered directly as you can’t (at least from what I’ve tried and read) […]

Spoofing Leopard’s MAC address

Saturday, January 19th, 2008

There are many legitimate reasons why someone would want to spoof a system’s MAC address. In my case, my University binds our network ports to a specific computer’s MAC address, and only allows you to reset that address once a week. My problems start when I want to switch my two computers for whatever reason, […]

Bandwidth throttling in OS X

Saturday, January 19th, 2008

It’s been a while since my last post, and that’s because I’ve been busy with coursework, so I haven’t had time to mess around with OS X. However there was one feature I needed to figure out out of necessity if anything else. I have certain files I wish to freely share with some friends […]

Automatically restart crashed applications

Sunday, October 14th, 2007

I love Quicksilver. If I ever sit on a machine without it, I feel handicapped, like something extremely important is missing. My major gripe with Quicksilver (and, this might just be my setup, I’m not sure), is that it likes to crash a lot. At least 2-3 times a week. And when it crashes, it’s […]

Searching Google the way you want

Tuesday, September 18th, 2007

Google is awesome. I don’t even know where to start with all the features they’ve got packed in that tiny little searchbox of theirs. There’s a lot of sites that explain some of these advanced features [google.com], but I’m more interested in the ones I use regularly, or ones that make my search experience easier. […]

iTunes scripts I can’t live without

Tuesday, July 24th, 2007

I have few obsessions in my life, and one of those happens to be keeping my iTunes library in some form (and definition) of ‘order’, without having me go completely insane. This involves keeping the ID3 data as accurate as I can make it (very tedious process as I had about 100 songs named Track […]

LiveSearch 1.3

Tuesday, March 27th, 2007

I’ve finished work on LiveSearch 1.3 some time ago, just never got around to creating a tarball and uploading it to this site. The major change was that it no longer requires that the searchform.php and livesearch.css files be manually copied to your themes directory. If you want to make theme-specific changes to it you […]

Pretty CAPTCHA

Tuesday, March 6th, 2007

I know, I know… CAPTCHA is outdated. But there are still cases where it might be useful, and it’s hard to make one that’s good looking, easy to read by humans and has a certain level of complexity for machines. This is what led me to create my own PHP version, that can be pretty […]