Skip to content

Instantly share code, notes, and snippets.

var fs = require('fs');
var path = require('path');
var source = require('vinyl-source-stream');
var gulp = require('gulp');
var gutil = require('gulp-util');
var browserify = require('browserify');
var watchify = require('watchify');
var glob = require('glob');
var source = require('vinyl-source-stream');
var es = require('event-stream');
@billgloff
billgloff / es.sh
Last active December 13, 2015 19:18
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.4.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
sudo mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install
@billgloff
billgloff / gist:3562082
Created September 1, 2012 00:57
rails 2.3 on jruby
DEPRECATION WARNING: Giving :session_key to SessionStore is deprecated, please use :key instead. (called from build at /Users/billgloff/.rvm/gems/jruby-head/gems/actionpack-2.3.14/lib/action_controller/middleware_stack.rb:72)
SQL (4.0ms) SET SQL_AUTO_IS_NULL=0
Processing ApplicationController#index (for 0:0:0:0:0:0:0:1 at 2012-08-31 18:29:43) [GET]
NoMethodError (undefined method `sub!' for nil:NilClass):
org/jruby/RubyBasicObject.java:1656:in `method_missing'
org/jruby/RubyProc.java:249:in `call'
org/jruby/RubyArray.java:1612:in `each'
@billgloff
billgloff / install_ruby.sh
Created December 21, 2011 19:33
installs ruby for a BBB ubuntu vm image
#!/bin/bash
cd /tmp
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar xvzf ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290
./configure --prefix=/usr\
--program-suffix=1.9.2\
--with-ruby-version=1.9.2\
--disable-install-doc
make