At home I have a Macbook Pro that acts as my everyday desktop computer and a headless (no monitor) Ubuntu Linux server that acts as a development testbed. The Ubuntu server has Apache, MySQL and PHP installed for development. My Mac has that too, but I prefer turning those services off and let the Linux machine do the heavy lifting. Usually, it’s sufficient to log into the Linux machine through SSH and hack around with vi. However, there are times that you may want to log into the Linux GUI. That’s a pain in the arse for me, since I would have to connect a monitor and keyboard to the server. The simplest solution is to log in through X and XDMCP.
Continue reading
Tag Archives: OSX
Free Tools for the Mac Hacker
I use the Mac OSX daily for my job as a developer. It’s a Unix based OS so it has a very ‘hackerish’ feel to it if you get past the shiny GUI. In fact, Leopard has PHP, perl and python installed and ready for use from the get-go. Here are some tools that I use for the Mac to make my life easier.
Continue reading
OS X Get Resource Path from within an APP package
If you’re developing for OSX and need a way to fetch out the complete filename of a resource in your .app package, here’s a bit of code that will help you do it.
Pass in the file name/resource name and it will spit back the complete absolute filename of the resource. This is useful if you’re attempting to load a file with a C library function.
Continue reading
