After I got a MacBook from work last year, I really enjoyed working with OSX. Everything ran smooth, the user interface is polished and I could still do everything I did on Linux and Windows. But a notebook is still a notebook. The screen is not optimised to do heavy programming work (13″) so I … Continue reading My Mac Pro Early 2009 Octo-core
One of the main reasons I switched to Mac was the fact that the user interface is polished and I still maintain the power and freedom I find Linux. But one downside in Mac Terminal is that there is no standard syntax highlighting. So here is some info how I got to enable some basic … Continue reading Enable syntax highlighting in Mac OSX Snow Leopard
Just got my new MacPro this weekend. After installing my common applications, I had to install my development tools as well. These are the instructions to install MySQL 64-bit version on OS X Snow Leopard. First of all, note that we are going to install MySQL compiling from source. So make sure you have installed … Continue reading Installing MySQL on Snow Leopard
Keep this in mind: In any group, the person on top consciously or unconsciously sets the tone. If leaders are fearful, hesitant to take any risks, or overly concerned for their ego and reputation, then this invariably filters its way through the entire group and makes effective action impossible. Complaining and haranguing people to work … Continue reading Leading from the front
Most western people use the Gregorian calendar to determine when a new year starts. Like most of my friends now, I’m a bit of the chart. For me, a new year starts after my summer holiday, so that makes it pretty variable. But I have a good, simple reason to do this. As most of … Continue reading Almost new year
Some people tell me I’m crazy for working most of the time. Running my own small company and working a full time job. Sometimes, I have to admit they are right. When I sit in front of my computer I totally lose sense of time. I just get wrapped up in problems that need to … Continue reading For love of the game
NOTE: SMALL UPDATE FOR SNOW LEOPARD USERS. KEEP THIS UPDATE NEXT TO THIS POST Just bought a network disk last week to backup some stuff on from my dads computer. But instead of buying a normal external USB drive, I decided to buy a network drive so I could use it myself. After some research … Continue reading Time Machine & Network Drive
I had a small problem on my Mac when I wanted to rebuild a subversion repo. When I worked on windows, I just searched the project folder for .svn folders. But on Mac and Linux, thats another story. Thankfully for the command-line, one quick command, and the problem is fixed: find . | grep .svn$ … Continue reading Remove hidden .svn folders from command-line
Today, I needed to empty a folder through bash on my Linux server that contained a lot of files. The files where maybe 2kb, but all the files together contained over 400Mb. So I used rm * to remove them, but it threw me a nice error: bash: /bin/rm: Argument list too long . Looks … Continue reading bash: /bin/rm: Argument list too long
Finally, I found a nice solution for the RoR 2.2 MySQL problem. The initial problem was that the MySQL library isn’t bundled with RoR anymore, and you need to install it as a gem. No big deal at first, but we Leopard users are “plagued” with the fact that Apple has somewhat of an exotic … Continue reading Mac Leopard, ROR 2.2 and MySQL