Unix

move composer into a bin directory you control: sudo mv composer.phar /usr/local/bin/composer # scp download scp root@{ip_adresa}:/{full path}/file.php local_file.php # scp upload scp local_file.php root@{ip_adresa}:/{full path}/file.php # scp upload folder & files scp -r {loacal-folder-name} root@{ip_adresa}:{full path} Miro: miro is really a great tool for downloading videos from various sites including youtube. You just need to run one command on terminal. sudo apt-get install miro One can know more about it from link: http://www.getmiro.com/download/for-ubuntu/ 2. youtube-dl: youtube-dl is a small command-line program to download videos from YouTube, Vimeo and a few more sites. It is included in the Ubuntu repositories, so you may install it by typing: sudo apt-get install youtube-dl Now,get the URL of the video. Then simply execute the command - youtube-dl"URL_of_the_video" youtube-dl supports downloading videos through a proxy, by setting the http_proxy environment variable to the proxy URL, as in http://proxy_machine_name:port/. 3. vimeo-dl: vimeo-dl is a stand-alone command-line program to download videos from Vimeo. It is not included in the Ubuntu repositories, therefore you must download and save the script somewhere and make it executable by typing: chmod 775 <script> 4. ClipGrab : ClipGrab is a free software for downloading and converting online videos from many sites like YouTube or Vimeo. ClipGrab can download from the following sites: YouTube, Clipfish, Collegehumor, Dailymotion, MyVideo, MySpass, Sevenload, Tudou, Vimeo. To Install ClipGrab,run these commands on your terminal. sudo add-apt-repository ppa:clipgrab-team/ppa sudo apt-get update sudo apt-get install clipgrab4. Add-ons/Plugins for Mozilla Firefox / Google Chrome 5. Flash Video Downloader it’s a great plugin for Mozilla Firefox. You can download the video in appropriate format (mp4, flv, 3gp, webm etc), for the devices you want – you can also use the converter for more options. As the name suggest, it’s not just for youtube, you can download videos from a number of video sharing sites including Facebook, Metacafe etc. # mogrify za slike http://www.imagemagick.org/script/mogrify.php http://blog.prashanthellina.com/2008/02/03/create-pdf-thumbnails-using-imagemagick-on-linux/ convert -thumbnail x180 *.pdf[0] prilog.jpg mogrify -resize 256x256 *.jpg # renema sav space sa - u folderu rename 's/ /-/g' * rename files - mice space s - for f in *\ *; do mv "$f" "${f// /-}"; done lowercase: 'y/A-Z/a-z/' *

Auto back up

http://noseyparka.me.uk/2011/12/31/simple-automated-mysql-backups-on-ubuntu-linux/

Open cmd in actual folder

Wouldn’t it be useful to open the terminal in the current directory from the GNOME file browser of Ubuntu? The following package gives an option to open the terminal from the right click menu in the nautilus file browser. Install the package nautilus-open-terminal from the Synaptic package manager or by using the command [bash]sudo apt-get install nautilus-open-terminal[/bash] You may need to restart nautilus for the change to appear. [bash] killall nautilus && nautilus[/bash] source: http://satyadeepk.in/2011/02/quicktip-right-click-to-open-terminal-in-current-directory-in-ubuntu/

convert images

convert somefile.png somefile.pnm # PNG to PNM potrace somefile.pnm -s -o somefile.svg