bash – dealing with backtics ” ` ” in mysql statement

problem : using backticks in bash for mysql statements. e.g. : mysql -u username -h host -e “GRANT SELECT, LOCK TABLES ON `somedatabase`.* TO ‘someuser’@’somehost’;” -p<password with no space after parameter> would get an error : ./scriptname: line 5: somedatabase:…

vim – error when starting

problem : For some reason, starting up vim pops up an error at the bottom : E575: viminfo: Illegal starting char in line: d^^F Press ENTER or type command to continue solution : delete the contents in ~/.viminfo Voila !!!

Firefox 3 – “force” your add on compatible with it

On the url bar, type “about:config” Right click on any of the empty space, click new –> boolean In the box, preference name –> extensions.checkCompatibility specified the value –> false restart firefox and Voila !!!

mount hfsplus (mac os file system) under Debian linux

Have an external hard disk with hfsplus or hfs+ partition on it? This is how you can mount it under linux (specifically, Debian) : in os x : disable journaling in the partition/external hdd in disk utility or use run…

How To Generate a Certificate Signing Request (CSR) for an SSL Certificate

This short tutorial is for Apache2.x + OpenSSL It’s advice to make a special directory for certificate for easy management and control. Create a new directory; mkdir -p /path-to-dir/sslcerts/example.takizo.com And now cd to your working directory to start generate CSR…