Immediate log messages of resque workers
The following description and code example was tested with the following gem spec: rails (3.2.11) resque (1.24.1) resque-scheduler (2.0.1) Since the default Resque.logger does not immediately flush all log messages to the log file, we want to use our own logger instance and a separate log file. All we have to do are the following steps:
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 :).
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 are very sorry that we missed it when delivering […]
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 corresponding server-side interface. We decided to implement this by using a generated confirmation […]
iOS fade-in and fade-out Animation
Today just a small code snippet to create a nice fade-in-fade-out (or call it pulsating) effect on a given UIImage . To accomplish this within a UIView you have to do only a few steps: Create a UIImageView containing your image. Create the animation with its properties. Set the animation for the specific layer containing your image.