Creating an accordion using an UITableView

2012-04-04

Today I had to create an accordion for one of our iOS application. While there is no real difficulty here, I thought of sharing some code. Example project: https://github.com/kuon/ios-example-acc...


Debugger bug in Xcode 4.3, member variables showing wrong value

2012-03-26

While working with Xcode 4.3, I encountered a problem with the debugger. The member variables of the objects were wrong. To correct this problem you must use GDB instead of LLDB. To change the deb...


Starting X server headless with an Nvidia ION and HDMI

2012-03-08

The problem I have a Zotac HTPC with an NVIDIA ION and Fedora on it. This PC is hooked to my decoder (an excellent Emotiva UMC-1). So far so good. The only problem is that I can start the X serve...


Using unicorn with heroku (cedar stack)

2012-02-17

To use Unicorn instead of thin on heroku, do the following: Add gem "unicorn" to your Gemfile Add a Procfile Add config/unicorn.rb Procfile 1 web: bundle exec unicorn -p $PORT -c ./co...


Using XBMC as a master to control other IR devices

2012-01-29

I bought a nice little keyboard (Logitech dinovo mini) to control my XBMC box. I was a bit frustrated to keep using all my other remotes to control my dvd player, decoder, sound processor and TV. ...


Using ruby 1.9.3 with heroku cedar stack

2012-01-16

To use ruby 1.9.3 with heroku's cedar stack, do the following: Prepare a new application Enable the user env lab feature with: heroku labs:enable user_env_compile -a <appname> Set the R...


Making a clock with arduino

2011-12-25

Arduino For once I wanted to have a bit of fun building a bit of hardware. Some times ago I stepped across the Arduino boards. They got plenty of input output and are easy to work with as you can ...


How to: Delete a git tag in a remote repository

2011-12-21

We use git tags to manage our versions, and sometime we tag a version like so: 1 git tag v1.0.0 But, we realize that we have one more fix to commit. To do so, we need to delete the tag first, b...


How to: Use git tag and commit hash as version number for your application

2011-12-21

It is a good practice to use a sane version number for your applications. For example, vx.y.z is a common paradigm. I will not debate the x.y.z vs x.y vs whatever. The purpose of those lines is to ...


Using formatters in cappuccino from Xcode

2011-07-29

At the time of this writing, cappuccino does not support NSDateFormatter (or any other formatter) if you drag it directly in Xcode. If you want to use a formatter in Xcode/IB (and you will want), ...


Sproutcore versus Cappuccino

2011-05-05

I've been using sproutcore for six months now, and cappuccino for three. I have to say, that, at a first glance, I had no idea of what I would discover. At first Sproutcore seemed very applica...


Building static websites with nanoc

2011-04-29

Lately I've been willing to build a blog but I couldn't find any solution that really pleased me. I tried tons of online blogging softwares as well as offline ones but I was always frustra...