bash lore: command substitution and final new lines

Be wary that command substitution will remove all final new lines. Command substitution are $(command ..) construct or older `command ..` one that will be substitued by the standard output of the given command. But that's incorrect: a proper definition …

Read more »

bash lore: NUL character and variables

Bash variables are often thought as being able to store any binary content. Please bear in mind that it can't store NUL character, and only this one. Here you are: $ ascii_table() { echo -en "$(echo '\'0{0..3}{0..7}{0..7} | tr -d …

Read more »

Fixing empathy in ubuntu 12.10, 13.04, 13.10, and 14.04

I recently decided I'll upgrade my Ubuntu 12.04 to Quantal 12.10. There wasn't a lot of new feature, and I was really disappointed by the changes in empathy. Empathy was not usable anymore. I installed pidgin and recalled that it …

Read more »

comparison of minimal packaging between distribute and distutils2

In a pythonic mind, we shoud keep things simple as possible. But when having to deal with distribution of your code, especially if it's ONE small python file, you'll might cringe when facing the boilerplate that is required. Even with …

Read more »

Emacs and flymake for python, javascript, php, rst

Emacs is a wonderfull editor, every sane people know this. Here's how to extend your flymake to some trendy languages. You'll find here a general overview by answering question as What's flymake ? for emacs, and How does it work …

Read more »

cleaned and released kal-shlib-* code and dd_rhelp

This is a long time since I wrote the first line of this shell script library which has followed me since then. These library were managed on subversion, so this was the opportunity to move them toward GIT. kal-shlib-core -- …

Read more »

sun flares vs earth

This 15th of April 2012, a magnificient solar flare erupted from the sun in the right angle to get perfect shots. The dailymail has many NASA footages, including videos and wide images. I was wondering how the size of earth …

Read more »

SpamAssassin, Amavis and ubuntu

If running spamassassin (SA) with amavis without usage of spamd on ubuntu 10.04 and you feel that sa-learn isn't working right, here are a few tips. I had mails that were false positive and I had to dig a little …

Read more »

quick hints about installing mobile-org

I use org-mode and I have android mobile devices. I ought to try MobileOrg. But configuration is quite rough, and these are information I found lacking: This won't be a synchronization of files as Dropbox handles usually. Instead you'll need …

Read more »

extracting a subpart of a git repository with history

I recently had to extract a subdirectory of an existing git repository towards its own new repository. And I wanted to keep all the commit information and history that was related to this directory. EDIT: Even if the solution I …

Read more »