Archive for the 'development' Category

Hacking Time Machine

Posted by dre on August 8th, 2008

It’s “hack some shit up” Friday. Everybody ready?
Have a Time Capsule or Mac OS X Server configured to provide network time machine backups? Of course you do! Let’s examine the client / server interaction.
The Time Machine preference pane provides a list of available backup volumes. This list includes local volumes as well as network volumes. [...]

Tiger Server servermgrd library for Python

Posted by dre on June 11th, 2007

motivation
I finally found a reason to write some Python. Being something of a monitoring and data junkie, I’ve had a fair amount of experience with snmp, data mining scripts, etc. After writing this post to the server list, I figured I’d make some templates for snmp that published interesting pieces of data about the server. [...]

Eggdrop TCL using Google’s SOAP API

Posted by dre on May 27th, 2007

Link to google-soap
I was helping my brother with a script called incith-google used by one of his IRC bots. It acts as a bridge between IRC and google, allowing IRC users to perform queries against google from the comfort of their IRC client. The script performs the search on the IRC user’s behalf and returns [...]

Installing perl modules locally

Posted by dre on December 6th, 2006

Dealing with CPAN has always felt a little weird. Today I found a nice shortcut for getting perl modules installed in a home directory, which is really useful for when you don’t have admin on the box, or if you simply prefer to keep your custom perl stuff all cinched up in a tidy homedir [...]

Ice Weasels?

Posted by dre on October 12th, 2006

14:57 < sky> debian forked firefox? haha
15:00 -!- PowerUser [i=hollandp@nat/apple/x-c57695efe759d747] has quit ["Fly
the white flag of war!"]
15:21 < dre^> lol, why?
15:24 < johnny-o> the inability to modify the artwork, if you can actually
[...]

macosforge opens the doors

Posted by dre on August 15th, 2006

What with opendarwin closing down shop, this seems like a good time to mention that macosforge has seen some rather remarkable activity today. A pile of previously internal Apple bugs were exposed to the world for all to see (including one of mine). In my opinion, this is a really cool thing. The primary reason [...]

NSTask trickery for long shell pipelines

Posted by dre on May 31st, 2006

I learned a cool trick hack today in the process of trying to help somebody with their cocoa code. Dude was trying to fire an NSTask with some arguments for the current command, and then an additional argument that included the rest of a 3 or 4 stage pipeline. The command in question is /usr/bin/ldapsearch, [...]