Shell code:
$ gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf
- out.pdf - destination file name
- in1.pdf, in2.pdf - source file names
(gs - Ghost Script - on Ubuntu 12.04 and OpenSuse 11.3 is installed by default)
Open source, Linux, VIM, PHP, Ruby, Python, Symfony, Rails, SQL, Javascript, JQuery, whatever... - tips&tricks.
$ gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf
rm -rf $(find . ! -wholename './web/index.php' ! -wholename './web/.htaccess' ! -name '.' ! -name 'web')
watch -n 1 'ls -l'
watch --color -n 10 -d 'ls -la'
onoremap p i( onoremap m i{ onoremap " i" onoremap ' i'
c' d'to use defined text-blocks
$ sudo apt-get install gpicker
map <Leader>p :GPickFile<CR> noremap <C-p> :GPickFile<CR> map <Leader>. :GPickBuffer<CR>
$ curl -L https://raw.github.com/exu/vim-dotfiles/master/gitinstall|bash