Twitter: chmouel
- RT @rackerhacker: Want to work on a huge deployment of @OpenStack at @Rackspace? Join my team as a Linux Engineer and let's do this. DM ... about 21 hours ago from Twitter for Mac ReplyRetweetFavorite
- RT @flepied: My e-book #Quality #Python Development is available for free on Amazon: http://t.co/3z8Su0Ai . Plz RT and make a review if ... about 21 hours ago from Twitter for Mac ReplyRetweetFavorite
Archives
- April 2012
- February 2012
- December 2011
- November 2011
- September 2011
- July 2011
- May 2011
- April 2011
- February 2011
- January 2011
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- February 2009
- January 2009
- December 2008
- October 2008
- July 2008
- May 2008
- March 2008
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- February 2007
- January 2007
- December 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
Meta
Author Archives: chmouel
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
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
6 Comments
My first webpage
Classic my first webpage is still on the web that was back in 98 and that was about Emacs http://membres.lycos.fr/crblinux/html/xemacs.html It is in french thought.
Posted in Emacs
Leave a comment
I am a user of the Bagdhad Musem Wiki
Ah i just discovered that the Bagdhad Musem have fetched my wikipedia page and i am on it now : http://www.baghdadmuseum.org/ref/?title=User:Chmouel I feel greatly honored (yeah whatever).
Posted in Misc
Leave a comment
Xterm like Control-L in Eshell
If you want to emulate Control-L in Eshell (the Emacs Shell) like in Xterm, you can use this : (defun eshell-show-minimum-output () (interactive) (goto-char (eshell-beginning-of-output)) (set-window-start (selected-window) (save-excursion (goto-char (point-max)) (line-beginning-position))) (eshell-end-of-output)) And add a key bind to it in … Continue reading
Posted in Emacs
Leave a comment
Error loading native library: libnjni9.so
If you like me when running oracle on x86_64 get that damn : Error loading native library: libnjni9.so when launching dbca and you have googled the thousands five hundred useless answer. Just add the path of the libs $ORACLE_HOME/lib and … Continue reading