Monthly Archives: January 2007

Stopped smoking

While reading this entry. I just remembered that it has been a a litle bit more than a month that i stopped smoking. I was a real smoker, smoking a 25 red malboro every day. But one day i wake … Continue reading

Posted in Life | Leave a comment

OpenSource Jokes

Funny website that you should checkout : http://opensourcejokes.com/ i wish theses guys were not putting some stupids google ads on the site. But well i know them it’s a day to day full time job to be the funny guys … Continue reading

Posted in Misc | 1 Comment

Emacs nighly cvs snapshot with xft on Ubuntu Edgy

I wanted to try the latest cvs snapshot with XFT support, since i did not want to screw up more my workstation i have used packages instead of make install blindy. Basically i have a script called ./build.sh #!/bin/bash set … Continue reading

Posted in Emacs | 8 Comments

History expansion and substitions in ZSH

I better to keep that somewhere since i always forget that thing, to do a search and replace from the command line in zsh. you just have to do the :s^FOO^BAR after your expansion For example you just have typed … Continue reading

Posted in Scripts | Leave a comment

Noah latest update

Litle one is growing and soon one year old

Posted in Noah | 1 Comment

Rename bunch of file via regexp

To rename bunch of files via regexp i was using before a homegrown python script call rename-regexp.py to change bunch of files with a regexp. But since then i discovered wdired which is pretty fantastic to use that from emacs. … Continue reading

Posted in Emacs | Leave a comment

Benchmarking with PGBench: TPS results.

pgbench is not the best tools to benchmark postgres but it’s the one shipped by default with postgres. It does not do a good job for benchmarking your “web apps” SQL wise, it will give you some good indication about … Continue reading

Posted in postgres | Leave a comment

Compile tora with oracle

After installing Oracle instant client, if you have them in /usr/local/lib/instantclient_10_2, this is the command line i use : ./configure –with-instant-client=/usr/local/lib/instantclient_10_2 –with-oracle-includes=/usr/local/lib/instantclient_10_2/sdk/include –with-oracle-libraries=/usr/local/lib/instantclient_10_2 –with-oci-version=10G Let me know ny email if you want the deb for ubuntu linux.

Posted in Oracle | 5 Comments

sqlplus timeout when connnecting

If you are using a pam_ldap or pam_nis environement and it happend that sqlplus does not want to connect as user but it does as root, waiting for : socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, path=”/var/run/.nscd_socket”}, 110) = -1 … Continue reading

Posted in Oracle | 5 Comments