Git Tip : Restore a deleted tag

A little tip that can be very useful, how to restore a deleted Git tag.
If you juste deleted a tag by error, you can easily restore it following these steps. First, use
git fsck –unreachable | grep tag
then, you will see the unreachable tag. If you have several tags on the list, use
git show KEY
to found the good tag and finally, when you …

Write and read binary files in C++

C++ Logo

To write the EDDI compiler, I had to write and read binary files. Writing text files is really easy in C++, directly using the < < operator on the stream, but writing binary is a little harder and, I must say, a lot less elegant.

First, to write to a binary file, we have to use the binary flag when we create the file …

EDDI : A new programming language project

The project I’m working on for my Bachelor thesis is a C++ project. I’ve never worked on a big C++ project, so I decided to start a personal project in C++.
I wanted to develop my own language for a long time now. So I chose to develop a new language : EDDI
Because I didn’t want to write assembly code, EDDI follows the same …

Upload files to FTP using Bash

Ubuntu Logo

This morning, I wanted to automatically update a little website from my computer without using Filezilla. So I searched a little bit and found that there is a very useful tool called nftp. To install it, you only have to use apt-get :

sudo apt-get install ncftp

This tool can be used directly from bash to upload files to FTP (and also to get files of …

This website is now running WordPress 3.1.3

Wordpress Logo

I just made the update of this website to WordPress 3.1.3.
I’ve had no problems with the update. But at the start the automatic updater throws me an Out Of Memory Error. But after disabling all my plugins, the automatic update had no problem to update my entire website without any errors
Don’t hesitate to contact me (in the comments or via the …

Solve “File param is missing” problem of W3 Total Cache

Wordpress Logo

As you may have seen, my website had not CSS these last days.
This was due to a bug in the W3 Total Cache plugin of WordPress. The minified CSS file wasn’t accessible. When we tried to access it from the site, there was an error : “File param is missing”
There is an easy solution to solve this problem. You just have to disable …

How to solve scrolling problems in Kile when using Gnome

Ubuntu Logo

From this morning, I was encoutering problems when scrolling in Kile editor using Gnome. When I scrolled, not all the lines were moving and the text was only correct when I clicked on them…
After some researches, I found that the solution was to use a different graphics system. You can do that in any Qt applicaitions using the graphics-system command line option. You …

Now writing from Berkeley, California

Hi,
This message has been written from California, where I’m for 3 months. I’m making my bachelor final project in Berkeley Labs.
I’ll certainly give some informations about the project and my researches during the next months.
I hope that I’ll have the time to write more articles this next months as I’ve made the last months… I had a lot of work at …

Using LINQ to query Sharepoint lists

Sharepoint

When I started using Sharepoint 2010 with .NET, I used the Sharepoint 2010 API to query the Sharepoint Lists, but when I come with lookup column with multiple values, it started to be really difficult to use.
So I found that I can use LINQ to query Sharepoint lists and for what I saw on the internet, it was really simple to use. LINQ provide …

Export a Sharepoint 2010 site as Solution Package

Sharepoint

Hi,
From several days, I started developing with Sharepoint 2010 for a School project. It’s not as easy as I thought in my first opinion. So I will try to share some solutions I found with you
In Sharepoint 2007, we used Solution Generator to create a wsp file of the site and then we can use this wsp file in Visual Studio for example.
But in …