Wednesday, March 18th, 2009
uninstall inactive!
Oh man I just realized that I never ran “sudo port uninstall inactive” and I have reclaimed… hmm… 5 gigs? It’s as simple as that – if you’re using macports for a while and you’ve been using “sudo port upgrade outdated” to upgrade, make sure you remove the old versions because after a while that [...]
No Comments » - Posted in Computer Stuff, WTF? by mike
Thursday, November 20th, 2008
X11 Forwarding via SSH from OpenBSD 4.4 to OS X 10.5.5
Does it work? The answer is yes!
All you have to do is edit the sshd_config file on the OpenBSD machine and set X11Forwarding to yes, then fire up X (I’m using XQuartz 2.3.2 (xorg-server 1.4.2-apple18)) and in an xterm (or Terminal.app!) enter
ssh -Y user@openbsd_machine program
Voila!
P.S.: Actually, you don’t even have to start X on [...]
2 Comments » - Posted in Computer Stuff, Non Fiction by mike
Wednesday, April 16th, 2008
Why won’t airport auto join my network?
If you have a mac and use wireless to connect, you might expect that it will automatically join your wireless network after you tell it to “remember this network”. I know on my old powerbook it did, and on my girlfriend’s macbook it auto-joins too. So I started wondering why my macbook pro just wouldn’t [...]
1 Comment » - Posted in ...And I Quote:, Computer Stuff by mike
Friday, April 4th, 2008
DHCP Renaming your mac?
The DHCP server at my office was reconfigured yesterday and it started forcing my macbook pro to change it’s name. I like having my host name remain constant for various reasons, so I asked in #macosx and some kind user there pointed me to this blog post:
http://www.elharo.com/blog/software-development/web-development/2005/11/29/setting-a-permanent-host-name-in-mac-os-x/
It works on leopard, in case you’re wondering! Solved [...]
No Comments » - Posted in ...And I Quote:, Computer Stuff, WTF? by mike
Wednesday, March 19th, 2008
Security Update Breaks SSH on OS X
If you installed Security Update 002 for leopard and suddenly ssh tells you “bus error”, the answer lies here:
http://discussions.apple.com/thread.jspa?messageID=6863360#6863360
Apparently the guys at rogue amoeba have some work to do – we need instant hijack!
If you are too lazy to read that thread, the fix is:
sudo /usr/local/hermes/bin/hermesctl unload
thereby uninstalling instant hijack and fixing the problem. Somehow…
… [...]
No Comments » - Posted in ...And I Quote:, Computer Stuff, WTF? 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
Tuesday, January 29th, 2008
Mysql 5 client from MacPorts and Server from Official Package
I just noticed that when you use the mysql 5 client from MacPorts (installed as /opt/local/bin/mysql5) to connect to a mysql5 server running on localhost that was installed via the package at dev.mysql.com, an error is generated:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysql5/mysqld.sock’ (2)
This is because the installation of [...]
No Comments » - Posted in Computer Stuff by mike
Monday, July 30th, 2007
G.A.P. – The Golden Apple Project – Part I
The other day I acquired a hardly used PowerMac G4 from someone who was going to throw it out. Imagine that? It’s got a 450Mhz PPC CPU, 256MB of RAM, a 20GB hard drive, and AGP video. Certainly this nice little machine can be used for something… But what?
Though I could probably get away with [...]
No Comments » - Posted in Computer Stuff, Golden Apple Project (G.A.P.) by mike
Tuesday, October 10th, 2006
How to install OpenBSD on an eMac (the hard way)
It’s easy to install OpenBSD on mac hardware the right way. Simply download what you need and follow the install guide. What’s not so easy is installing OpenBSD the wrong way. This guide is intended to help someone who may have gotten anxious and strayed from doing things The Right Way(tm) [see also, The Easy [...]
No Comments » - Posted in Computer Stuff, WTF? by mike
Wednesday, August 16th, 2006
Spam Sieve
I’m experimenting with Spam Sieve to see if it can replace Mail.app’s dumb junk mail filters. I trained Mail’s junk filters for about a year and I still got spam last week. Obvious spam at that. It’s just silly. Thunderbird for Mac has great junk filters but no direct tie-in to the Addressbook. SpamSieve adds [...]