Sunday, November 4, 2012

Setting up unit tests in a Vala project using CMake

I've recently came across the issue of setting up unit tests in Vala.
Since I haven't found a lot of comprehensive documentation on the web to setup it, I share here my experience so it can be useful to somebody else (I hope).

Saturday, September 15, 2012

Les leçons que je tire d'un startup weekend

Ceci est un retour d'expérience sur un startup weekend auquel j'ai participé en Juin, à Paris.

Initialement, j'étais venu en observateur, en curieux.
Le startup weekend, pour ceux qui ne connaissent pas, c'est un weekend pour présenter un concept, le prototyper avec un business plan et présenter le résultat au bout de 48h. L'objectif est de convaincre le jury pour avoir l'opportunité de démarrer ensuite le projet avec un support des personnes de l'incubateur.

Wednesday, August 1, 2012

Allowing installation of non Mac App Store applications on MacOSX 10.8 Mountain Lion

I've recently upgraded to Mountain Lion.
Not that I was unhappy with Lion but I've got some feedbacks from developers telling me that there were issues installing one of my applications under Mountain Lion.

Hopefully, there is a simple way to recover your liberty to install the software you want.

Wednesday, July 25, 2012

A Preferences Pane for Cassandra on MacOSX

In the previous blog post, I wrote about a useful piece of software (at least to me!), the MongoDB Preferences Pane for MacOSX.

Today is about the little brother, the Cassandra Preferences Pane for MacOSX.
Based on the same codebase , it shares the same set of functionalities.

If you read the MongoDB Preferences Pane announcement, you can stop reading this blog post here. The rest is the same since both share the same set of functionalities.

Sunday, July 22, 2012

A Preferences Pane for MongoDB Server on MacOSX

These last weeks, I have worked a bit with MongoDB.
I work on a MacBook Pro laptop and in order to save my battery, I don't like having all my databases servers always up and running.
Since I liked the MySQL Preferences Pane very much and there was nothing like that for MongoDB, I wrote it.

It is available on Github:
The latest version can be downloaded here:

Tuesday, June 19, 2012

Improve your efficiency with GMail's shortcuts

Thanks to a good friend, I've recently discovered a great feature in GMail: shortcuts.

I see you, you are thinking that I am talking about something that everybody already knows, blablabla.
Well, maybe. But in my case, my knowledge of GMail's shortcuts was actually quite limited:
  • 'c' to compose a new email
  • 'r' to reply
  • 'a' to reply all
  • 'f' to transfer
That's all. Yep, really.

Monday, May 7, 2012

Export ACP from the Alfresco Store

Have you ever tried to export groups and people from an Alfresco Store?
Everytime I do this, it is a pain in the ass. you have to shutdown the server and then struggle to find the right command line to perform the export.
I get errors like javax.servlet exception or PermGen space and other ClassNotFound... It is a waste of time.
Here is the command line I use. I tried to clean it as much as possible.
It runs on an Ubuntu server with tomcat6 installed.

TOMCAT/webapps/alfresco/WEB-INF$sudo service tomcat6 stop
# Wait a bit that tomcat has been really shutdown.
TOMCAT/webapps/alfresco/WEB-INF$sudo java -XX:MaxPermSize=512m -classpath `locate servlet-api.jar`:classes/alfresco/module:classes:lib/* -user <MyUser> -pwd <MyPassword> -s workspace://SpacesStore -verbose -p /sys:system/sys:authorities  -d /tmp authorities.xml
TOMCAT/webapps/alfresco/WEB-INF$sudo service tomcat6 start

The official wiki page should also now be up to date:

Tuesday, April 3, 2012

Solving the Property 'foo' is a DateTime property! CMIS issue with Chemistry and Alfresco

Recently, I worked on CMIS and Alfresco 4 for a client.
It is a standard project. Everything is in Java with Maven. We developped an Alfresco custom model to fit the needs of the client...

For interoperability purpose and to avoid too much extra coding on the Alfresco side, we decided to use CMIS...

We ran into a Property 'foo' is a DateTime property! when trying to create a document using CMIS.
I read message from people complaining about the issue on the web but no solution about how to fix it. Here is how to do it.

Sunday, February 26, 2012

Restoring the Apple's EFI on a MacBookPro with Linux

Recently, you installed GNU/Linux and deleted the /EFI/APPLE directory.
But now, you need to boot from a USB key and holding the Option button no longer works! Even the recoveryHD USB doesn't work.
Why? Because this code was located in /EFI/APPLE/.

Here is how to restore it and why not, keep your EFI up to date on a macbook pro without having MacOSX installed.