Skip to content

Instantly share code, notes, and snippets.

View rossjourdain's full-sized avatar

Ross Jourdain rossjourdain

  • Wellington, New Zealand
View GitHub Profile
@rossjourdain
rossjourdain / chef_solo_bootstrap.sh
Created November 22, 2012 07:59 — forked from ouranos/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
tar -xvzf ruby-1.9.3-p327.tar.gz
cd ruby-1.9.3-p327/
./configure --prefix=/usr/local
make
make install
@rossjourdain
rossjourdain / powssl
Last active August 29, 2015 13:56 — forked from paulnicholson/powssl

Instructions

  • Install stud $ brew install https://raw.github.com/paulnicholson/homebrew/master/Library/Formula/stud.rb
  • Download and install the powssl script $ curl https://gist.github.com/paulnicholson/2050941/raw/3ea59efe8c7e9013c265313045a9fdda5c653963/powssl > ~/bin/powssl $ chmod +x ~/bin/powssl
  • Run powssl to create development certificate and configure stud.
  • $ powssl