I hereby claim:
- I am berga on github.
- I am berga (https://keybase.io/berga) on keybase.
- I have a public key ASAssUJ8HJJrWYtbp9GhTzYLqB5UwAmEshZB6JJrT7pvEQo
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
RUBY_V = File.open("./.ruby-version") { |f| f.read }.chomp | |
$apt_script = <<SCRIPT | |
sudo apt-get update | |
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev libmysqlclient-dev | |
SCRIPT |
// http://stackoverflow.com/questions/4460205/detect-ipad-iphone-webview-via-javascript | |
var standalone = window.navigator.standalone, | |
userAgent = window.navigator.userAgent.toLowerCase(), | |
safari = /safari/.test( userAgent ), | |
ios = /iphone|ipod|ipad/.test( userAgent ); | |
if( ios ) { | |
if ( !standalone && safari ) { | |
//browser | |
} else if ( standalone && !safari ) { |
# Update, upgrade and install development tools: | |
apt update | |
apt -y upgrade | |
apt -y install build-essential git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: | |
echo '# rbenv setup' > /etc/profile.d/rbenv.sh |
I hereby claim:
To claim this, I am signing this object:
This guide assumes that you recently run brew upgrade postgresql
and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.
First let's check something.
brew info postgresql
The top of what gets printed as a result is the most important: