Archive for August, 2008
Finally a fix for textmate
by Jett on Aug.27, 2008, under Miscellaneous
So, I have been struggling the past few weeks with Textmate and it being stupid slow on certain projects that contain a ton of files. Apparently every time Textmate gets focus, it re-scans the entire project folder for changed files – which really sucks if you’re alt-tabbing back and forth a bit to see changes you’re making to a project.
I finally did a bit of searching around and discovered this gem:
il maestro ignoto » Blog Archive » slow projects loading in textmate
To save some typing, you can just copy and paste this into your preferences:
!(/\.(?!htaccess)[^/]*|\.(jpeg|jpg|png|gif|mp3|pdf|swf)|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
This will tell Textmate to ignore graphics and whatnot when it regains focus and greatly speed up the loading of your projects.
Semi-quick update
by Jett on Aug.20, 2008, under Personal, Site Updates
So, I just added OpenID support to my blog, which I hope will encourage more people to comment.
I fixed the stupid problem I was having with tank by re-installing Ubuntu. Since I no longer have any optical bays, I had to actually set up Ubuntu over a netboot install, which was kind of cool. If I have some time, I’ll post some instructions on how to do it in case anyone’s interested.
System updates and Busybox…
by Jett on Aug.14, 2008, under Miscellaneous
Been a little while since I’ve posted I realize – been quite busy lately. So, I picked up a new toy today for my fileserver / it just arrived today, I ordered it quite a while ago. I had one more hard drive than I had bays, and I wasn’t using any of my optical bays – so I decided to buy a 3-4 drive bay converter. Specifically I got one of these: http://www.ncix.com/products/index.php?sku=22889&vpn=CFP51%2DB&manufacture=Silverstone%20Technology
Really nice piece of hardware – very well packaged and organized. Anyway, I proceeded to shut down the fileserver to install the drive, got it all set back up – drive detected, go to boot ubuntu, and guess what it won’t boot. I end up at a busybox prompt. Really not cool.
It would appear there’s some kind of bug in the ubuntu kernel or one of the recent ubuntu updates that is giving me grief – I know its not the new drive because I unplugged it and continued to have the same problem. Specifically if I try to boot up, it gives me an error saying it can’t mount /root – Device or resource busy. Well, I mean, really, how can the drive be busy, there’s nothing open on it.
So far I can almost get it to boot up but I think I’m going to leave it for the night and see if I can come up with a solution. Currently to boot it up I have to do this:
mount -o ro /dev/hda1 /root
ctrl-d
That will at least bring me to a prompt, but for some reason I can’t access any of my drives – they’re all saying device or resource busy.
Again – Really not cool.