skarm
4/29/2014 - 5:52 PM

Some instructions

Some instructions

GIT:

sudo apt-get install curl git

Subime 3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update && sudo apt-get install sublime-text-installer

https://packagecontrol.io/installation

PhantomJS:

cd /usr/local/share/
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
sudo tar jxvf phantomjs-1.9.8-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/ /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
sudo rm phantomjs-1.9.8-linux-x86_64.tar.bz2

Libs for rmagick

sudo apt-get install imagemagick libmagickwand-dev

MYSQL

sudo apt-get install libmysqlclient-dev

PostgreSQL

/etc/apt/sources.list.d/postgresql.list << deb http://apt.postgresql.org/pub/repos/apt/ utopic-pgdg main
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get install postgresql-9.3 postgresql-contrib-9.3 libpq-dev

.bashrc:

autoload ruby:

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

name of git branch in console: PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\[\033[0;31m\] [$(__git_ps1 "(%s)")]\[\e[0m\]$ '

All for RAILS:


curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm requirements
sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev

rvm install 2.0.0
rvm use 2.0.0 --default
rvm rubygems current
gem install rails

NodeJS

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs

Other

##Skype icon sudo apt-get install sni-qt:i386

##Ubuntu tweak ???

sudo add-apt-repository ppa:tualatrix/stable
sudo apt-get update; sudo apt-get install ubuntu-tweak

sudo apt-get install compizconfig-settings-manager compiz-plugins-extra