autojump

ctags

dev_ctags

ctags indicizzare js
sudo npm -g install jsctags

Ubuntu-make

gestore di pacchetti per software non opensource (IJ Idea CE, MS Visual Studio)

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt
-get update
sudo apt
-get install ubuntu-make

# Visual Studio Code:
umake web visual-studio-code

# lista pacchetti disponibili
umake --help

installare IDE non presenti nei repository:

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
 
# install Visual Studio Code:
umake ide visual-studio-code
umake ide pycharm
umake ide clion
umake ide idea-ultimate
umake ide rubymine
umake ide phpstorm
umake ide webstorm
umake ide idea
umake ide netbeans
 
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
 
 
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
 
deb http://dl.hhvm.com/ubuntu trusty main
deb http://download.mono-project.com/repo/debian wheezy main
 
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
 
deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu trusty main

MySql

symple compare

mysqldump -h localhost -u root -p --no-data dbname1>file1
mysqldump -h localhost -u root -p --no-data dbname2>file2
meld file1 file2
cpan install  MySQL::Diff
mysqldiff --server1=user:pass@host --server2=user:pass@host db1.object1:db2.object1
mysql-diff <from_file|from_jdbc_url> <to_file|to_jdbc_url>
# file name must point to SQL script
jdbc_url = jdbc:mysql://hostname:3306/db?user=root&password=secret
# Sync the production db with the changes from the development db
schemasync mysql://user:pass@dev-host:3306/dev_db mysql://user:pass@prod-host:3306/production_db
 
# Bob and Sally were working on independent parts of the application that required schema changes.
# Migrate these changes to the SAN so they can be tested and later rolled up to the production db.
schemasync --tag="bob" --ouput-dir="/location/of/san/" \
    mysql://user:pass@dev-host:3306/dev_db_bob mysql://user:pass@prod-host:3306/production_db
 
schemasync --tag="sally" --ouput-dir="/location/of/san/" \
    mysql://user:pass@dev-host:3306/dev_db_sally mysql://user:pass@prod-host:3306/production_db

DBDeploy tool per generare e applicare modifiche al db

Image

optimization

  • ImageOptim
  • jpegoptim
  • image_optim
  • pngcrush
sudo gem install image_optim
sudo gem install image_optim_pack
sudo apt-get install -y advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant
npm install -g svgo