Skip to content

Instantly share code, notes, and snippets.

@fabiotatsuo
Last active December 16, 2015 11:59
Show Gist options
  • Save fabiotatsuo/5431085 to your computer and use it in GitHub Desktop.
Save fabiotatsuo/5431085 to your computer and use it in GitHub Desktop.
Link ifresh nstall Ubuntu 12.04
http://grosser.it/2012/04/28/a-fresh-start-with-ubuntu-precise-pangolin-12-04/
Git sudo apt-get install git
Dropbox install + start syncing
dotfiles
cd ~ && git clone git://github.com/grosser/dotfiles.git
ruby dotfiles/install.rb
Rubymine to /opt/rubymine
Command key
If you like OSx like shortcuts e.g. Cmd+T, choose "meta is mapped to left win" in advanced keyboard layout options and you can use your windows key for them.
Executable
/opt/rubymine/bin/rubymine.sh and setup mine as executable then
alias m="mine . > /dev/null 2>&1 &"
Oracle/Sun-java
It is no longer in ubuntu repos.
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Unity menu key
Map unity menu from super to Super+z, so you can use it with shortcuts (see below) and with rubymine commands
sudo apt-get install compizconfig-settings-manager -y
open compiz application and rebind unity laucher @ "ubuntu unity plugin", dont mess with anything else, I managed to make ubuntu no longer boot into a GUI with just a few clicks
Shortcuts
Super+D = desktop
Super+E = open home
Super+Up = maximize
Super+Down = minimize
Super+Q = quit application (Alt+F4)
Chrome sudo apt-get install chromium-browser -y
Ruco commandline editor gem install ruco (atm not working on ruby 1.9.3 / ubuntu 12)
copy important dotfiles + firefox history/forms/... database from .mozilla
dotfiles
Multi-clipboard sudo apt-get install clipit -y
(set history shortcut: Ctrl+Alt+V)
Skype + add skype to startup
(video fix in dotfiles --> add add /home/xxxx/dotfiles/bin/video-skype to "Startup Spplications" )
Mysql:
sudo apt-get install mysql-server mysql-client libmysql-ruby libmysqlclient-dev -y
I`d recommend no root password
Redis sudo apt-get install redis-server -y
Memcached sudo apt-get install memcached
ImageMagic sudo apt-get install imagemagick -y
Arial/Verdana etc fonts: sudo apt-get install msttcorefonts -y
VirtualBox
Nginx + Passenger
Restrcited codes sudo apt-get install ubuntu-restricted-extras -y
Terminal
Set Ctrl+Shift+L for clear+reset in terminal, so the history gets removed on keypress
Set Ctrl+t for new tab
Postgres
sudo apt-get install postgresql libpq-dev
gem install pg
sudo su postgres
createuser
use no username / no password in database.yml
Reverse scrolling
If you often work on macs this can reduce your confusion.
sudo add-apt-repository ppa:zedtux/naturalscrolling
sudo apt-get update
sudo apt-get install naturalscrolling -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment