fousa tag

Current tag: tag

2010

24 FEB

My Git integration with Terminal

The following scripts are added to my ~/.bash_profile for some Git integration. BRANCH AUTOCOMPLETION This piece of code autocompletes the branches when you press TAB. So "git checkout ma" and press TAB, will result in "git checkout master". _complete_git() { if [ -d .git ]; then branches=`git branch -a | cut -c 3-` tags=`git ta...

13 JAN

Migrating MySQL to PostreSQL // 4 comments

I never thought I had to do this but I'm migrating my MySQL database to PostgreSQL for my Rails application! The reason why is that I want to use the same type of database in development as in production. The reason for using PostgreSQL as a production DB is thanks to Heroku. This is a great hosting company! I had a few problems while migr...

7 JAN

Introduction on Cappuccino

A few weeks ago I decided to dive into the basics of Cappuccino. A nice web based javascript framework that gives the user the look-n-feel of a real (Mac OS X) desktop application. It's not only different for the user but also for the developer... He now can create web applications with Objective-C like code! So for those who adore developing...

2009

26 NOV

Problem installing MySQL gem on 64bit machine // 1 comment

When I wanted to use MySQL with Ruby on Rails I always got an error when I tried to install the mysql gem. Maybe the reason was because I was working on a 64bit machine, and it was the first time I did! RESOLUTION So to resolve this problem I did the following. I removed all the mysql gems. > sudo gem uninstall mysql Nex...

28 OCT

Create a bootable USB key from a Windows installer CD

I recently bought an Asus Eee PC 1005 HA with the intention of using it when I travel to work... I first tried jolicloud, but at the moment I'm still not very satisfied by it. Maybe I should wait until the final release and then install it next to my Windows. So I decided to install Windows 7. The only problem is that my netbook doesn't have ...

2 SEP

Thin, a fast and simple web server // 1 comment

For some strange reason my mongrel server doesn't seem to be running on Snow Leopard. When I start my rails server with the following command it takes forever... > ./script/server Using webrick resulted in the same slow startup, but less slow then mongrel tough! Don't know, don't care what Snow Leopard did! But I need to get to t...

28 AUG

Problem with SQLite3 after Snow Leopard upgrade // 1 comment

When I first upgraded to Snow Leopard everything seemed to be working just fine. But then I tried to migrate my sqlite3 database for my rails web-application... The error I received was the following: rake aborted! uninitialized constant SQLite3::Driver::Native::Driver::API That was the end of my development until I found the solution...

9 MAY

Exporting from iMovie to Vimeo in HD // 2 comments

One of my passions in life is recording the best moments. That is the reason why I bought a Flip Mino HD camera. And to share my video's with you guy I use my vimeo account. Also because this enables me to upload my movies in HD quality, with HD I mean 1280x720. But when I import my movies into iMovie they are automatically resized when I wan...

5 FEB

Start/stop a running process started from NSTask

When you start a script with NSTask, you can only end that script in the current session of your application (when you still have the NSTask object). There is nothing foreseen in Objective-C to stop a running process without having an NSTask object. But I found a nice framework that allows you to go through a list of running (background) proc...

3 FEB

Add your application to Apple's login items

For our LazyPoken app we needed the ability to start the script when a user logs on. The cleanest way to do this was adding an application wrapper, that runs the script, to the login items. You can find your personal login items in the preference pane under the accounts section. Normally all this has to be done with Core Foundation code b...

29 JAN

Building a preference pane with XCode // 2 comments

I always found it hard to setup a preference pane for my application. so I figured out how to do this, and wrote a small tutorial! When you create a preference pane, don't forget to keep the design conform with the Apple Human Interface Guidelines. You can find these guidelines in the Apple Online Documentation. CODING First thing you need...

23 JAN

Notify your app when a drive is mounted

Cocoa can be a hard language to learn when you want to develop your application. But not because of the language itself, it's more because of the lack of good documentation from Apple. That is the reason why I'm going to write more and more articles on Cocoa, so I can help the Apple community to create even more stunning apps. This topic will...

2008

24 DEC

Stop motioning my sleep with my iSight // 2 comments

Since Filip (a friend of mine) posted his stop motion video online (www.pitslamp.be/posts/17), I became fascinated by the idea to make the same type of movies just for fun. And last night I had a brilliant idea to create a stop motion movie of my sleep. I wondered what my body was doing in a non-conscience state. And it became very clear to me t...

go to the top ↑ ← back to the blog