Skip to content

Instantly share code, notes, and snippets.

View wprater's full-sized avatar
💾
Building

Will Prater wprater

💾
Building
View GitHub Profile
@wprater
wprater / php-cgi.rb
Created May 25, 2012 15:49 — forked from daz/php-cgi.rb
Homebrew Formula for PHP 5.4.3 as php-cgi (for nginx, etc.)
# Homebrew Formula for PHP 5.4.3 as php-cgi (for nginx, etc.)
require 'formula'
class PhpCgi <Formula
@url='http://www.php.net/get/php-5.4.3.tar.gz/from/a/mirror'
@version='5.2.17'
@homepage='http://php.net/'
@md5='c9dccc89cc89d39e84f6e6f0cf1c8a65'
@wprater
wprater / chart.coffee
Last active December 17, 2015 22:29 — forked from dandavison/chart.coffee
class BaseChart
accessors:
width: 100
height: 100
_margin: {}
@margin: top: 0, right: 0, bottom: 0, left: 0
# http://bost.ocks.org/mike/chart/

#How to install node.js on a Google Compute Engine instance

Start and ssh into instance

Make sure you have a Google Compute engine account, have a project created and the gcutil command line tool installed.

Since want to ssh without the gcutil tool, you need to a your ssh key to the instance in addition to the already existing google_compute_engine key (used for gcutil).

@wprater
wprater / Dockerfile
Created June 14, 2017 15:56 — forked from yefim/Dockerrun.aws.json
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
# Example Dockerfile
FROM hello-world