Install wkhtmltopdf on CentOS 5
Posted by on Wed, Aug 24 2011 15:44:00
Download wkhtmltopdf from http://code.google.com/p/wkhtmltopdf/
wget wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2
unzip and move to bin
mv wkhtmltopdf-i386 /usr/local/bin/wkhtmltopdf
Install other dependencies
yum install openssl-devel libXrender-devel libXext-devel libXft-devel
Some useful tips with .gitignore
Posted by on Fri, Jul 15 2011 22:12:00
If you wish to ignore files being added to Git repository.
- Remove all nodes from index
git rm -r --cached . - Add everything all over again.
git add . - Must commit your changes before doing other thing.
git commit -m 'un-track some files from repository'
Using GIT
Posted by on Wed, Jul 13 2011 01:35:00
Server repository
==============
cd repo
git init
git add .
git commit -m 'initial commit'
Working folder
============
git clone ssh://user@domain:000/path/to/repo local/dir
Setup server repository as bare
You can simply convert your remote repository to bare repository ( There is no working copy in the bare repository - the folder contains only the actual repository data ) .
Execute following command in your remote repository folder:
git config --bool core.bare true
Then delete all the files except .git in that folder. and then you will be able to perform git push to the remote repository without any errors.
