Hacking your vim with python

I'm happy vim user for a while now. After learned the basics I started customize the editor to my needs/preferences and for a long time everything were well. I did not face anything that I could not do and this is still true. However, when I became a more …

Continue reading »

Git: partial commit

This post will demonstrate one of many cool features available in Git, partial commit. This feature allows add just some hunk of a file leaving other ones for future commit.

Let's suppose in a project there is the following source code:

#include <stdio.h>

void foo(void);
void bar(int …

Continue reading »

malloc/free implementation. Just4Fun!

Some time ago I bought the The Linux Programming Interface book, one of the best books I have acquired. One of the first chapters I read were about memory allocation. At the end of the chapter, author offers some exercises to the reader. Among them there is a challenging one …

Continue reading »

cgo: Go lang with C

Some weeks ago I had to customize the Docker to integrate it with some libraries written and C. Maybe you already know Docker is written in Go language and to do this task was used cgo Cgo enables integrate Go code with C. It shows itself easier and smooth comparing …

Continue reading »

Recovering missed data from stash

Today my colleague almost lost everything that he did during 4 days! Because a wrong git command he dropped his changes saved on stash. After this sad episode we looked for a way to try to recover as least part of his work... and we did it!

First of all …

Continue reading »

From Brazil to Germany, an Unforgettable LibreOffice Hackfest in Freiburg

While I have not decided what it will be my first post about development stuff I'll post the text that me and my friend wrote to the The Document Foundation's blog. In that text we talked about out trip to LibreOffice hackfest in freiburg. From Brazil to Germany, an Unforgettable …

Continue reading »