Monday, May 18, 2015

Mysql backup using alias

This alias will create database backup with current date in filename:

alias dbbck='mysqldump -u myusername -pmypassword mydatabase > mijalkodb_$(date +"%Y_%m_%d").sql'

Add this to your .bashrc 

Tuesday, April 07, 2015

Strange osx shortcuts

Remander for me:


  • To maximize window press shift and double click on title bar
  • Blocked ssh connection: Enter  ~  .