Category Archives: Programming

Better output from sqlite3 command line

That weird output from sqlite3 command line is annoying you as well ? Just set this up to get something better : cat < <EOF>~/.sqliterc .mode "column" .headers on .explain on EOF

Posted in Programming | Leave a comment

Ruby XMLRPC over a Self Certified SSL with a warning

If you use the XMLRPC client in ruby over a self certified SSL you have this warning : warning: peer certificate won’t be verified in this SSL session You can get override that warning cleanly (i have seen some people … Continue reading

Posted in Programming, Ruby | 2 Comments

Yum Force Exclude List

While talking with my fellow colleague Darren Birkett about what seems a design limitation of yum to not be able to force listing the excludes from yum. I had a shoot to make a yum plugin to force listing the … Continue reading

Posted in Programming, Python, RedHat | 8 Comments

Moving from Australia and going back to Paris.

Finally after three years (almost i arrived on 29 September 2004 here) i am following all my french friends (except Aurelien whos staying here) and i am moving back to France. It is a heartbreak since this is one (if … Continue reading

Posted in Programming | Tagged | 2 Comments

Generating md5 encrypted password for chpasswd

If you want to generate properly encrypted password to feed to chpasswd, the most easier and proper way is to do that from command line : [code lang="bash"] echo "encryptedpassword"|openssl passwd -1 -stdin [/code] If you want to generate in … Continue reading

Posted in Programming, Python, Scripts, Solaris, Travel | 3 Comments

Linus Torvalds on GIT

Pretty good video to look if you like to know more about git and its creation : http://www.youtube.com/watch?v=4XpnKHJAok8

Posted in Programming | Leave a comment

Access Gajim within Emacs

Here is some function to launch a gajim window from Emacs : (defvar gajim-remote "/usr/bin/gajim-remote") (defvar gajim-user-list ())   (defun my-gajim-get-list() (save-excursion (with-temp-buffer (call-process gajim-remote nil t nil "list_contacts") (goto-char (point-min)) (while (re-search-forward "^jid[ ]*:[ ]*\\(.*\\)$" (point-max) t ) (setq … Continue reading

Posted in Emacs, Programming | Leave a comment

crypt(3) on unix maximal length

When i have a password comparaison function using crypt(3) i really should remember that the comparaison stop at the 7 bytes, because that stuff is weird for me : In [1]: import crypt In [2]: seed=’foo!bar’ In [3]: crypt.crypt(‘abcdefghaa123456681′, seed) … Continue reading

Posted in Programming | 2 Comments

Jabber/Asterisk and Gajim notification

At work we are using Asterisk and Jabber and i am using Gajim as my client. I did a quick patch to have a notification on my desktop when someone call me and i get my big headphones (not that … Continue reading

Posted in Misc, Programming, Python | Leave a comment