Skip to content

Instantly share code, notes, and snippets.

@PrimaryFeather
PrimaryFeather / Polygon.h
Last active December 16, 2015 01:09
An example for a custom display object for the Sparrow Framework.
#import "SPDisplayObject.h"
@interface Polygon : SPDisplayObject
- (id)initWithRadius:(float)radius numEdges:(int)numEdges color:(uint)color;
- (id)initWithRadius:(float)radius numEdges:(int)numEdges;
@property (nonatomic, assign) int numEdges;
@property (nonatomic, assign) float radius;
@property (nonatomic, assign) uint color;
@berinle
berinle / gist:1487328
Created December 16, 2011 18:38
Textmate 2 (custom bundles)
cd ~/Library/Application\ Support
mkdir -p Avian/"Pristine Copy"/Bundles
cd Avian/Pristine\ Copy/Bundles
#clone groovy bundle
git clone https://github.com/textmate/groovy.tmbundle.git
#clone grails bundle
git clone https://github.com/textmate/groovy-grails.tmbundle.git