How to push a new local branch to a remote Git repository

git push -u origin new-branch git fetch origin git checkout --track origin/new-branch

How to change last commit message if pushed by mistake

git reset --soft HEAD^ or git commit --amend git commit -m "New message" git push -f

Remove last commit from repository

git reset --hard HEAD~1 git push -f

Remove bad tag from repository

git tag -d bad-tag git push origin :bad-tag git tag -a good-tag -m "Add good-tag" git push --tags

Bold and Italic in HTML5

Use <b> when you want the text to have a different style without contextual importance, but use <strong> when you want the text to have extra importance from a content or SEO perspective. Use <i> to offset the mood of text, but use <em> to make text emphatic.

Lorem Ipsum – All the facts – Lipsum generator

http://pl.lipsum.com/

Rebuilding the font cache

If you install a new font in linux, you need to rebuild the fonts cache: sudo fc-cache -f -v

Problems during update: Can’t exec “insserv”: No such file or directory at /usr/sbin/update-rc.d

sudo apt-get install –reinstall insserv sysv-rc

Convert timestamp to date

http://timestamptodate.com/

23 najlepsze sztuczki z wykorzystaniem SSH

http://jakilinux.org/aplikacje/23-najlepsze-sztuczki-z-wykorzystaniem-ssh/