MBP Keyboard

I am actually working on a little side project with my friend Thomas Debarochez. We are using Play!Framework and Compass and we deploy it to Heroku.

One issue that came when we first deployed the application with Compass to Heroku was that the default scala buildpack does not include sass and compass binaries.

Following this post on the Play!Framework mailing list, I forked and patched the buildpack to install sass and compass on the environment.

You can find it here and use it with the following command :

heroku config:set BUILDPACK_URL=https://github.com/CedricGatay/heroku-buildpack-scala

I hope someone will find this useful !


At Code-Troopers, we like to work with the frameworks we love. One of them is Apache Wicket, and it happens to some of us doing some Play! Framework or Ruby on Rails (either for a client project, a side project or giving back OSS love).

One thing really great is this two frameworks is the central route system, one file allows to group all the routes handled by your application. Wicket does not provide such way of grouping routes, you can manually mount routes into your application or annotate your page classes.

Wicket routes mount library

This small library project available on Github allows to group mounts into a central file. To use it, simply add its dependency to your pom.xml (artifact is available on Maven central):

This dependency will transitively gets wicket-auth-roles (if there is a special need for a version without this dependency, it could be done easily).


To use it, simply create a routes.conf file at the root of the sources in your project (typically src/main/resources/) respecting the following format :

# mountPoint        class                           roles
/home               codetroopers.HomePage           
/secured            codetroopers.SecuredPage        USER
/user/${mode}/#{id} codetroopers.UserPage           ADMIN,USER

The files content is the following :

  • Mount path : using standard Wicket syntax (${requiredParam} and #{optionalParam} are available)
  • Page class : fully qualified name of the page class to mount
  • Roles (optional) : comma separated list of roles required to access the page

IntelliJ IDEA can do completion for class names in this file (you just need to hit the ctrl+space shortcut twice)

Logo DuckDuckGoMozilla added a function to search on the web in the latest versions of Thunderbird.That's nice, but the default search engine is bing. As a DuckDuckGo user, I wanted to add my favourite search engine and use it by default. So here's how to do it.
  1. Find your profile folder.
  2. In it, create a folder named "searchplugins" (without the quotes) if it doesn't exists.
  3. Save this xml file in it.
  4. (Re)start Thunderbird.
  5. Select some text in any mail, right clic and search with bing (sorry).
  6. Click the DuckDuckGo icon on the left.
  7. Click the heart icon on the bottom left.
  8. That's all!
To add google, add this file in the same folder.