Category Archives: Computer

Installing gitolite on a Mac

How to install gitolite on a Mac. Continue reading

Posted in Mac | Tagged , , , , | 3 Comments

Resetting the iPhone

iPhone suddenly shut down and was unresponsive, as if the battery were completely dead. Continue reading

Posted in Mac | Tagged , , | Leave a comment

Get PyDev Eclipse to Find zmq

If correctly installed, Python on the OS X has no trouble finding the ØMQ Python bindings. However, the Eclipse PyDev by default will not locate the zmq library within the Eclipse IDE. Therefore, if you include the following in your … Continue reading

Posted in Programming | Tagged , , , , , , , | Leave a comment

OS X, Apache, Tomcat, and mod_jk

I spent some time with a colleague from South Africa yesterday. He’s a long-time Windows user that writes in Java. He has a new MacBook Pro, and we scratched our head why Apache+mod_jk+Tomcat was blowing up on him. JAVA_HOME The … Continue reading

Posted in Mac | Tagged , , , , , , | Leave a comment

git Over A Non-Standard ssh Port

git speaks ssh over the standard port 22 out of the box, and flawlessly. For example: git clone git@hostname:repository_name There are a fair number of installations running ssh on non-standard ports, however, and the above method doesn’t directly support a … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Installing git on CentOS

git is available as an EPEL package. First, activate EPEL via $ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm NOTE:That exact URL will change with time. I took it from the EPEL FAQ. Next, install the git package. $ sudo yum install git

Posted in SysAdmin | Tagged , , , , | Leave a comment

How to Reveal Hidden Files and Folders in a Mac OS X File Dialog

It turns out that there is an undocumented (or poorly documented) key combination to show and hide hidden folders and files. Press Command-Shift-Period (⌘⇧.) to toggle hidden files and folders on and off. Continue reading

Posted in Mac | Tagged , , , , , , , , , , | Leave a comment

Cleaning Up Jammed Subversion Transactions

There was a very odd server failure while a big Subversion commit was in process. (The ISP hosting the server is kind of flaky.) To clean up the leftover files from the failed transaction, I did this: $ svnadmin lstxns … Continue reading

Posted in SysAdmin, Uncategorized | Leave a comment

DHCP Lease Time Optimization

Setting DHCP lease times is in practice pure voodoo. I ran across a paper presented in 2007 on research into DHCP lease times at Georgia Tech’s student network called Usage-Based DHCP Lease Time Optimization. While the paper on the whole … Continue reading

Posted in SysAdmin | Leave a comment

Eliminating Multi-Threading Headaches

I first touched parallel processing as an undergrad. I was selected to for a summer research program that tackled different aspects of parallel processing using transputers. They broke us into teams and I was put on the parallel debugging team. … Continue reading

Posted in Programming | Leave a comment