Grading in the future?

As partial exams just passed at my work (devine.be), the job of carefully entering grades takes a lot of time. A common workflow is

  1. Correct grades on paper
  2. Input grades in a spreadsheet with partial grades
  3. Double-check grades on paper with grades in spreadsheet
  4. Merge partial grades in a new spreadsheet with global grades
  5. Input grades in school system

As I was working I was thinking about how nice it would be if I could just speak to my computer and the grades would be filled in automatically.

Continue reading

Enumerate fonts on your IOS device

When you work with custom fonts in your IOS projects, you’ll need to find out the correct name for your font.

You can do this by looping though all the font families and then use the font family name to loop through all the fonts that belong to the family.

The following function will take care of this and return you a nice list ordered per font family.

I’ve also created a gist on github You can find it right here.

Belgian cities sql import

For those in need, I’ve created a SQL dump with all the cities of Belgium linked to their provinces in two tables (cities & provinces). Most SQL dumps have all the Belgian cities and provinces stored in one table which is not always very convenient.

Thanks to @anthonyvanoyen and @jverdeyen for pointing me to some start files.

You can find the dump on my Github account.

CakePHP Basics Tutorial – Part 3

Overview

In this tutorial I will show you how to create a login form which validates the user with the database and do some basic security to redirect people who try to access a protected page. I’ll go over Flash messages to show the user some information which will last for one request.

Continue reading

Unhide the Library folder on (Mountain) Lion

Problem

Since OSX 10.7 Apple has decided to hide the ~/Library folder from your users directory. When you are using the iPhone Simulator or other development applications, you spend a fair amount navigating around in the Library. So if you are tired of using command+shift+G all the time, you can easily unhide the Library folder forever and ever, without showing all the hidden files on your system!

Continue reading