Skip to content

Instantly share code, notes, and snippets.

View ksaa's full-sized avatar

Karri Saarinen ksaa

View GitHub Profile
### Keybase proof
I hereby claim:
* I am ksaa on github.
* I am karri (https://keybase.io/karri) on keybase.
* I have a public key ASC7wVkAmFoxrATWeM8GBLmkgrYxzetXmlcvOyjibu_2igo
To claim this, I am signing this object:
@ksaa
ksaa / install
Last active November 15, 2016 18:52
#!/bin/bash
# Let's get some color going!
red=$'\e[1;31m'
grn=$'\e[1;32m'
end=$'\e[0m'
bold=$(tput bold)
# Find Box Sync folder
Verifying that +ks is my openname (Bitcoin username). https://onename.io/ks
set -e
echo "Installs Homebrew for installing other software"
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
brew update
echo "Installs RVM (Ruby Version Manager) for handling Ruby installation"
curl -L get.rvm.io | bash -s stable
# RVM
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.bash_profile
@ksaa
ksaa / railsgirls-love.sh
Created February 17, 2012 03:23
Rails Girls love check
echo -e "\n- - - - - - - - - \n"
echo -e "Now we are going to print some information to check that everything is done:\n"
echo -n " ,;;;, ,;;;, Should be brew 0.8 or higher: brew "
brew -v
echo -n " ;;;' ';' ';;; Should be sqlite 3.7.3 or higher: sqlite "
sqlite3 --version
echo -n " ;;; ;;; Should be rvm 1.6.32 or higher: "
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-10
echo -n " ';;, ,;;' Should be ruby 1.9.2p290: "