<?php echo "TTPETER BLOG"; ?>

A CakePHP powered Content Management System.
  • Home
  • About
    • Vision
  • Contact

Install wkhtmltopdf on CentOS 5

Posted by Administrator 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

15 Comments

Some useful tips with .gitignore

Posted by Administrator on Fri, Jul 15 2011 22:12:00
If you wish to ignore files being added to Git repository.
  1. Remove all nodes from index git rm -r --cached .
  2. Add everything all over again. git add .
  3. Must commit your changes before doing other thing. git commit -m 'un-track some files from repository'
16 Comments

Using GIT

Posted by Administrator 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.
9 Comments

News

This is news update page.

Search

About

This is the content of your block. Can be modified in admin panel.

Categories

  • Uncategorized
  • Announcements

Blogroll

  • CakePHP
  • Croogo

Recent Posts

  • Install wkhtmltopdf on CentOS 5
  • Some useful tips with .gitignore
  • Using GIT

Meta

  • Site Admin
  • Entries (RSS)
  • Comments (RSS)
Powered by Croogo.