This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import urllib, urllib2 | |
import re | |
import os | |
import subprocess | |
from datetime import datetime | |
import simplejson as json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/discourse | |
sudo ./launcher enter app | |
cd /var/www/discourse | |
rails c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
class Compiler | |
def initialize | |
@mruby_dir = '/Users/shannonskipper/.rubies/mruby' | |
sanity_check_argv | |
@file = ARGV.first.sub /.rb$/, '' | |
end | |
def run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
# Selectively only require the parts of PushType we need | |
gem 'push_type_core', '~> 0.10.2' | |
gem 'push_type_api', '~> 0.10.2' | |
gem 'push_type_admin', '~> 0.10.2' |
OlderNewer