Skip to content

Instantly share code, notes, and snippets.

View awt's full-sized avatar

Adam Thorsen awt

  • Decaf Software
  • SF Bay Area
View GitHub Profile
require 'formula'
# homebrew formula to install ratpoison
class Ratpoison < Formula
homepage ''
url 'http://download.savannah.nongnu.org/releases/ratpoison/ratpoison-1.4.6.tar.xz'
sha256 'b9b181dd2aa08508cb3c3d40aa670ef179f7d11bb439e6d7ea05ea3d1a82956c'
# depends_on 'cmake' => :build
@import "constants", "mixins", "fonts", "basic"
@import "alert, "btn", "circle, "dropdown"
@awt
awt / gist:3290754
Created August 8, 2012 00:07
Causes classname cannot be nil exception
public static ArrayList<ParseObject> getFamilyMembers(){
ParseUser currentUser = ParseUser.getCurrentUser();
try {
currentUser.fetch();
}
catch(com.parse.ParseException e){
e.printStackTrace();
}
ParseRelation familiesRelation = currentUser.getRelation("families");
ParseQuery familiesQuery = familiesRelation.getQuery();
upstream classic_upstream {
fair;
server 127.0.0.1:5500;
}
server {
listen 80;
server_name www.mywebsite.com website.com;
* executing "cd /data/cims/releases/20080722212302; rake RAILS_ENV=production db:migrate"
servers: ["65.74.174.196"]
[65.74.174.196:8214] executing command
** [out :: 65.74.174.196:8214] (in /data/cims/releases/20080722212302)
** [out :: 65.74.174.196:8214] rake aborted!
** [out :: 65.74.174.196:8214]
** [out :: 65.74.174.196:8214] undefined method `require_gem' for main:Object
** [out :: 65.74.174.196:8214]
** [out :: 65.74.174.196:8214] /data/cims/releases/20080722212302/Rakefile:4
** [out :: 65.74.174.196:8214]