One by one, they started to die.
Nov 30 2011
The following is a list of specifiers that can be used for NSDateFormatter class: kontinue reading…
Nov 28 2011

This HOWTO will cover the basics for implementing UINavigationController and UITabBarController, programmatically, together, in a single, fluid environment. In short, UINavigationController is a class that implements a specialized view controller that manages the navigation of hierarchical content and UITabBarController is a class that implements a specialized view controller that manages a radio-style selection interface and provides a sort of “overall” look for the application as it places a bar at the bottom of the screen with selectable UI buttons. If you are a novice unfamiliar with either class, you’ll need to read up on both classes first. I won’t be explaining what each line of code does.
Before we begin, there are a few of things that should be noted. Anything outside of these points is out of the scope of this document.
First, you need OSX.
Second, this example covers a tab bar controller with 5 buttons (just like the AppStore) with 5 unique UIViews, each a navigation controller. The number of buttons is trivial but gives you the basic concept of adding/deleting as many as you want. Be creative.
And finally, due to the nature of this HOWTO, Interface Builder will not be covered. I find Interface Builder to be more of a hindrence than assistive so I, personally, build everything programmatically. Interface Builder is, however, very useful for getting coordinates.
Now, on with the HOWTO. Open XCode and create a new project using the Single View Application template. You may be tempted to create the new project using the Tabbed Application template but for the sake of this HOWTO, please do not. After creating you new project, delete the file ViewController.xib from the project as we will be programmatically implementing the controllers.
Now, let’s start hacking up this 5 button tab bar/navigation controller example…. kontinue reading…
Oct 13 2011
To upgrade from Ubuntu Server (regardless of which version you are upgrading from to which you are upgrading to):
1. Install the update-manager-core package if it is not already installed:
sudo apt-get install update-manager-core
2. Edit /etc/update-manager/release-upgrades and set Prompt=normal.
3. Launch the upgrade tool with the command
sudo do-release-upgrade -d
4. Follow the on-screen instructions.
Jul 21 2011

I’ve been a OS X user for a couple of years now and during this time, there is one feature I’ve never used; Spotlight. As such, I felt I needed to disable Spotlight so I searched high and low for a solution to completely disable Spotlight indexing and Spotlight in general. I found the solution in mdutil. To use this solution, you should be comfortable using BASH, a Terminal window and have administrator rights (root access). Ultimately, the solution really is quite easy.
Remember that you can always configure which items Spotlight to index (Apple -> System Preferences -> Spotlight).
Once you’re ready, fire up Terminal (Applications -> Utilities -> Terminal). kontinue reading…
Jul 16 2011
Upgrading similar websites, for example, WordPress blogs, usually requires uploading new files and overwriting old, existing files on the target server. Instead of uploading WordPress for each and every site, one can upload it once and copy new files into existing web directories by logging into the server via SSH. Ideally, we would just copy the new files over and be done quickly and efficiently but that isn’t the case with Fedora Core (*sigh*). kontinue reading…
May 26 2011
Just recently, I ran out of room on the network drive where all my media is stored. Naturally, I installed a larger hard drive and then copied all my media to the new hard drive. After about a week with the new hard drive, I noticed that all new media files copied to/created on this dedicated network drive were created with a group ownership of my user and not with the expected [dedicated] group, media-admin. I spent a good hour trying to figure out how to force Samba to force group ownership to newly created files and considering you can force user ownership with the “inherit owner” parameter, I assumed there was another parameter to control group ownership. I was wrong. kontinue reading…
Apr 28 2011
Before you start, be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
sudo apt-get install update-manager-core
sudo do-release-upgrade
Mar 23 2011

Should you ever find the need to remove Xcode, run the following from within a terminal window to make it happen:
sudo /Developer/Library/uninstall-devtools --mode=all
<Xcode> is the directory where the tools are installed. For typical installations the full path is /Developer/Library/uninstall-devtools
Easy enough, just make sure this is what you really intend to do as once it’s gone, it’s gone. This is, after all, UNIX.