I hereby claim:
- I am guilffer on github.
- I am guilffer_nubank (https://keybase.io/guilffer_nubank) on keybase.
- I have a public key ASD97J0RWXdE4R21hIqbGsfxgBiUUCMegW9YipTGE_E_Cwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am guilffer on github. | |
* I am guilffer_nubank (https://keybase.io/guilffer_nubank) on keybase. | |
* I have a public key ASD97J0RWXdE4R21hIqbGsfxgBiUUCMegW9YipTGE_E_Cwo | |
To claim this, I am signing this object: |
cd ~/.rbenv/plugins/ruby-build && git pull && cd - |
› ruby anagram.rb horse | |
horse | |
heros | |
shore | |
0.010000 0.000000 0.010000 ( 0.017254) | |
heros | |
horse | |
shore | |
0.130000 0.000000 0.130000 ( 0.130771) | |
I hereby claim:
To claim this, I am signing this object:
cd ~ | |
sudo apt-get update | |
sudo aptitude install -y build-essential curl wget git-core postgresql libpq-dev libmagickwand-dev sqlite3 nodejs | |
\curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.0.0 --default | |
rvm use 2.0.0 --default | |
gem install bundle | |
curl https://gist.github.com/guilffer/7118448/raw/2ca03f4565dd5f6e8566e22e3605b5a84b25bba5/gistfile1.txt > Gemfile | |
bundle |
source /etc/profile.d/rvm.sh | |
rvmsudo /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/gem install bundle | |
curl https://gist.github.com/guilffer/7118448/raw/46f4da4603b78195db296c708e2c77eb12eff769/gistfile1.txt > Gemfile | |
rvmsudo /usr/local/rvm/gems/ruby-2.0.0-p247@global/bin/bundle |
source 'https://rubygems.org' | |
gem 'devise' | |
gem 'rails', '4.0.0' | |
gem 'sqlite3' | |
gem 'pg' | |
gem 'carrierwave' | |
gem 'rmagick' | |
gem 'rails_12factor' |
sudo aptitude install -y nodejs | |
\curl -L https://get.rvm.io | sudo bash -s stable | |
source /etc/profile.d/rvm.sh | |
export rvmsudo_secure_path=0 | |
rvmsudo /usr/local/rvm/bin/rvm install 2.0.0 --default | |
rvm use 2.0.0 --default | |
rvmsudo /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/gem install bundle devise carrierwave rmagick pg rails_12factor coffee-script-source execjs coffee-script coffee-rails jbuilder jquery-rails rdoc sass sass-rails sdoc sqlite3 turbolinks uglifier --no-ri --no-rdoc | |
rvmsudo /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/gem install rails |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |