Monday, December 27, 2010

MAC infested

Well I have some news for my readers. As some of you may have suspected I have a secret. A secret I have kept in the closet for many years. I knew this about myself at a young age back in the late 80's. I used ot have a poster with a lot of models on it that I hung on my wall that I would fantasize about.
I am a Macintosh Computer enthusiast.


I recently bought a 15" Macbook Pro for myself. Basically a birthday gift to me, from me. It may seem a bit extravagant to spend $1700 on a computer. But it's a great IT tool.
This may come as a surprise to some of you that aren't familiar with macs.
Those are the computers people that don't knmow how to use a PC get right?
Well there is a user friendly aspect to Macintoshes. But there are some IT guy and some hacker friendly aspects to it as well.
First off, it come with a load of networking tools built into the advanced section of the TCP/IP control panel preferences pane. It's got Ping, traceroute and even a port scanner! The Macs networking is such that it can function as a multihoming network device. This means that I can assign many IP addresses to the one physical interface, or plug in more interfaces and assign those addresses as well. This is handy as each Mac ships with all you need for setting up a webserver on Apache. Including Perl and Python.
What really makes it a geekfest is the inclusion of UNIX as the core of the OS. This means that when I get down to the command line I can use my rusty UNIX shell skills to get around.
Also, using VMware Fusion or Parallels I can set up VMs of Windows 7, Windows XP etc. This makes web development much easier, not to mention client support tasks.
So yeah, I totally bought it because it looks cool and will get the chicks.

So in the spirit of MAC Hackery;
HOW TO SEE HIDDEN FILES ON YER MAC
Open up The terminal application. This is located in Applications/Utilities.
type in the following (the dollar sign represents the command prompt you don type that!)
$ defaults write com.apple.finder AppleShowAllFiles TRUE
this sets the invisible system files behavior to visible.
$ killall Finder
This bascially reboots the open finder windows so that they reload with the invisible bits visible.
$ defaults write com.apple.finder AppleShowAllFiles FALSE
toggles the visibility to off again, after which you of course;
$ killall Finder