Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Sunday, June 15, 2014

Wednesday, July 17, 2013

Ubuntu - merge several pdf

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=app.pdf -dBATCH application.pdf 201302cv.pdf 

Friday, July 5, 2013

Monday, June 10, 2013

Ubuntu - Samba file sharing



  • install samba
  • config file in: etc/samba (examples)
  • create the corresponding smb user: sudo smbpasswd -a user

Simple Example (German) here

Sunday, April 15, 2012

set up git for the first use (with rails)

After installing the packages git-core and gitosis:

configure
git config --global user.name "username"
git config --global user.email "user@mail.com"
git config --global core.editor "emacs -w"

run
git init

customize the .gitignore file
examples here

add your project to git
git add . ## from your project folder


to see which files are in the staging area:
git status

to tell Git you want to keep the changes
git commit -m "initial commit"


list of commit messages:
git log


undo changes
git checkout -f ## -f flag to force overwriting the current changes

Wednesday, March 21, 2012

Friday, June 3, 2011

Adding a public key

gpg --keyserver keyserver.ubuntu.com --recv keyid
gpg --export --armor keyid | sudo apt-key add -