Skip to content

Instantly share code, notes, and snippets.

View michel's full-sized avatar

Michel de Graaf michel

View GitHub Profile
#!/bin/bash
# Update and upgrade packages
sudo apt-get update && sudo apt-get upgrade
# Install postgres 9.3
sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 postgresql-contrib-9.3
# Having Postgres 9.1 already, this will create database instance configured to run on port 5433
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install git build-essential git-core curl libssl-dev \
libreadline-gplv2-dev \
zlib1g zlib1g-dev \
libmysqlclient-dev \
libcurl4-openssl-dev \
libxslt-dev libxml2-dev
require 'socket'
require 'openssl'
require 'net/ftp'
class Net::FTPS < Net::FTP
end
class Net::FTPS::Implicit < Net::FTP
FTP_PORT = 990