Skip to content

Instantly share code, notes, and snippets.

@jvidalba1
Last active August 29, 2015 14:11
Show Gist options
  • Save jvidalba1/d5a5553a66a54c77f4aa to your computer and use it in GitHub Desktop.
Save jvidalba1/d5a5553a66a54c77f4aa to your computer and use it in GitHub Desktop.
installation guide for Ubuntu
sudo apt-get update
sudo apt-get install curl
sudo apt-get install git

Skype

sudo apt-get autoremove --purge skype

Download last version of Skype

ZSH

http://www.webmasseo.com/bye-bash-hola-zsh/

RVM and its minions

curl -L get.rvm.io | bash -s stable

rvm install ruby

At the end of .zshrc bash file, write:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

rvm use ruby --default

gem install rails --no-rdoc --no-ri

if there are some problems with openssl, follow this fucking stuff, i dont know why, but just follow them ;)

rvm get stable brew update brew doctor brew install openssl rvm install ruby-2.1 (or whatever version) rvm use (ruby version here) i.e. rvm use ruby-2.1 rvm gemset create NAME i.e. rvm gemset create rails41 gem install rails -v 4.1

Postgrest

sudo apt-get -y install postgresql-9.1 libpq-dev -y

Node.js

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install python-software-properties python g++ make nodejs

Sublime

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Open sublime console and copy-paste this python code:

import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

Redis

wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make

It is a good idea to copy both the Redis server and the command line interface in proper places, either manually using the following commands:

sudo cp src/redis-server /usr/local/bin/
sudo cp src/redis-cli /usr/local/bin/

Start redis server executing: redis-server

Terminator

sudo apt-get install terminator

Include zsh to this terminal app:

  • Open terminator terminal.
  • Right click over screen and choose "Preferences" option.
  • Click on "Profiles" tab and after that click on "Command" option.
  • Select the 3 options shown.
  • On the text field "Custom command", write "zsh".
  • Close the current terminal and open a new one.

Change shortcut "CTRL+ALT+T" to open Terminator:

  • Go to System Settings and Keyboard options.
  • Select the option "Shortcuts".
  • Add a new shortcut selecting the option with a plus sign.
  • In the text field for name, type the name that you want set for the current shortcut.
  • In the tex field for command, type the command to execute the program, in this case "terminator".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment