Skip to content

Instantly share code, notes, and snippets.

source :rubygems
gem 'rails', '~> 3.0.0'
gem 'rake', '~> 0.9.0'
gem 'pg'
gem 'devise'
gem 'fastercsv'
gem 'decent_exposure'
gem 'paperclip'
gem 'aws-s3'
Gems included by the bundle:
* actionmailer (3.2.3)
* actionpack (3.2.3)
* activemodel (3.2.3)
* activerecord (3.2.3)
* activerecord-import (0.2.9)
* activeresource (3.2.3)
* activesupport (3.2.3)
* acts_as_versioned (3.2.0 a2ba638)
* addressable (2.2.7)
@jwhitehorn
jwhitehorn / gist:3248988
Created August 3, 2012 16:02
Haiku rev 44378 POSIX test
This file has been truncated, but you can view the full file.
conformance/behavior/WIFEXITED/1-1: build: PASS
conformance/behavior/WIFEXITED/1-1: link: PASS
conformance/behavior/WIFEXITED/1-2: build: PASS
conformance/behavior/WIFEXITED/1-2: link: PASS
conformance/behavior/WIFEXITED/1-3: build: PASS
conformance/behavior/WIFEXITED/1-3: link: PASS
conformance/behavior/timers/1-1: build: PASS
conformance/behavior/timers/1-1: link: PASS
conformance/behavior/timers/2-1: build: PASS
conformance/behavior/timers/2-1: link: PASS
@jwhitehorn
jwhitehorn / nightly
Created August 15, 2012 03:02
TextMate-fork update
{ url = 'https://github.com/downloads/jwhitehorn/textmate/TextMate2_r10262.tbz'; revision = 10262; signee = 'org.textmate.duff'; signature = 'MC0CFGvtu+ic2PTpMBH643gw43CpLy6AAhUAuJyng8SilVGMkFDIWZFP3wn0+Uw='; }
@jwhitehorn
jwhitehorn / appcast.xml
Created December 5, 2012 03:24
Service Manual Appcast
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Jason Whitehorn's Service Manual Changelog</title>
<link>https://raw.github.com/gist/4211908/appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<!--
<item>
<title>Version 1.0.2</title>
- (void)viewDidLoad{
[super viewDidLoad];
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_async(queue, ^{
//go fetch some data from the Iternet or DB here...
//data received!
dispatch_async(dispatch_get_main_queue(), ^{
//update UI
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
AsyncTask<Object, Void, Object> worker = new AsyncTask<Object, Void, Object>(){
@Override
protected Object doInBackground(Object... args) {
//do something
return something;
}
04-15 17:57:57.677: E/AndroidRuntime(29310): FATAL EXCEPTION: main
04-15 17:57:57.677: E/AndroidRuntime(29310): java.lang.RuntimeException: Unable to start activity ComponentInfo{in.wptrafficanalyzer.locationgooglemapv2demo/in.wptrafficanalyzer.locationgooglemapv2demo.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.os.Handler.dispatchMessage(Handler.java:99)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.os.Looper.loop(Lo
@implementation NSArray (Access)
- (id) firstObject{
if([self count] > 0){
return [self objectAtIndex:0];
}
return nil;
}
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#pragma mark Named Structures
struct CGPoint {
double x;