Thursday, March 26th, 2009

Zsh glob qualifiers ftw!

I have a FreeBSD 7.1 server, a couple of macs, a windows machine, and an ubuntu machine. I need to share files between them all. I could try to get NFS for windows working, but it seemed to me that using Samba was a good way for me to allow all of the machines (Even [...]

No Comments » - Posted in Computer Stuff by mike

Tuesday, February 12th, 2008

Pro Tip: OSTYPE is set at compile time

A friend of mine keeps an OpenBSD box up so that we can use it for a shell if we need one (it’s come in handy on more than one occasion, let me tell you!). I was logged in the other day and wanted to add a package. My zsh startup files make it a [...]

No Comments » - Posted in Computer Stuff by mike

Sunday, February 10th, 2008

Sed on Mac OS X 10.5 Leopard

Imagine you’re a PHP developer that uses OS X. You’re given 50+ php files that all have a line that needs to be changed. 50 files, one change? Hmmm sounds like maybe I could use automator to do this! Well I don’t know how to use automator Luckily, I’m a unix geek, and [...]

1 Comment » - Posted in Computer Stuff by mike