Posted in 25 January, 2007 ¬ 04:10h.chmouel
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 up (one of those
days you know) and like that i thought to maybe stop [...]
Read the rest of this entry »
Posted in 21 January, 2007 ¬ 07:02h.chmouel
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 of the place
Read the rest of this entry »
Posted in 21 January, 2007 ¬ 06:32h.chmouel
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 -e
d=$(date ‘+%Y%m%d’)
debpatch=20061218-1
mkdir -p cvs
pushd cvs >/dev/null && {
cvs -Q -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs
} && popd >/dev/null
mkdir [...]
Read the rest of this entry »
Posted in 10 January, 2007 ¬ 23:05h.chmouel
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 the long command line :
blah bar FOO=1 FOO=3 FOO=6 cnt=1
you can just type :
!blah:s^FOO^VALUE^:G
and it will [...]
Read the rest of this entry »
Posted in 8 January, 2007 ¬ 03:42h.chmouel
Litle one is growing and soon one year old
Read the rest of this entry »
Posted in 6 January, 2007 ¬ 20:48h.chmouel
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. With the extended “query-replace-regexp“ from Emacs22 stuff are much easier to rename.
Read the rest of this entry »
Posted in 6 January, 2007 ¬ 02:19h.chmouel
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 how fast is your server for postgres.
Here are some results we have collected using theses options :
pgbench -Uuser [...]
Read the rest of this entry »
Posted in 4 January, 2007 ¬ 16:19h.chmouel
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.
Read the rest of this entry »
Posted in 2 January, 2007 ¬ 20:24h.chmouel
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 ENOENT (No such file or directory)
close(3) [...]
Read the rest of this entry »