Select Page

Kinect on MacOS X with Homebrew

This is with XCode 4.6.2 on Mac OS X 10.8 If you use our favorite package manager getting up and running with libfreenect  is almost straightforward :). 1) Be sure homebrew is installed see http://mxcl.github.io/homebrew/ 2) Go to cd /usr/local/Library/Formula 3) Get...

Updating sitemap file on Heroku

Preparing your Heroku application for using AWS S3 is really easy. You can just follow the steps at the Heroku AWS guide. Because you need to do some more steps to get it all working I summed up the instructions to have it all in one place. Our own website and this...

Various ActiveResource Tips

Although you find the most of the following tips by simple googling or visiting the ActiveResource documentation, I just wanted to outline them on one single page again (mostly because of my obliviousness). Enable logging of ActiveResource actions Add the following to...

Show NSWindow below your NSStatusItem

Often, showing a simple menu in your status bar application is not sufficient enough. This short tutorial explains how you can show your own window right below of your status item. Inspired was this blog post by the following question on StackOverflow. For the basic...

How to create a Mac OSX status bar application

Creating a Mac OS X status bar application is really straightforward. However, below you will find a condensed step-by-step tutorial to avoid unnecessary mistakes. Create a new Xcode Cocoa Application project Go to Info.plist  file and add the key Application is agent...

An apology to all Customers

Unfortunately it has come to our attention that with the latest Sandboxing restrictions in the Mac App Store, it is not possible to start and stop Launchd items with LaunchDControl. This is something that has been brought to our attention recently by a Customer and we...

Create your own Xcode code snippets

Using the Code Snippet Library from Xcode is very handy sometimes. However, the library consists only of a small amount of available code snippets. But you are not limited to them, rather than you can create your own code snippets for code patterns you are using very...

Swipe gestures on UITableView

User interactions on table cells don’t have to be necessarily restricted to simply scroll and tap them. However, with some additional code and the support of gesture recognizers introduced in iOS 3.2 you can give your users the possibility to swipe on your table view...

Objective C HMAC-MD5

Sometimes it is necessary to implement some cryptographic functions for security reasons within your iOS apps. In one of our projects I was faced with the problem of implementing some kind of a two-step registration/confirmation process with a iOS app and a...

PostgreSQL trivia

Sometimes it is necessary to use the psql command line tool to quickly explore odds in database. Often you also need to use some commands to view structure of your database or tables. In PostgreSQL (and also in other database systems) you can do that by querying...