Skip to content

Instantly share code, notes, and snippets.

View atduskgreg's full-sized avatar

Greg Borenstein atduskgreg

View GitHub Profile
using UnityEngine;
using System.Collections;
public class interact_boulder : MonoBehaviour {
public GUISkin boxText;
public bool showBox;
public float GUIScreenWidth = Screen.width/2;
public float GUIScreenHeight = Screen.height/2;
public float GUIScreenToolWidth = Screen.width - 5;
{{pass_manager.isPassing}}
P1 -> propeller(:motor)
P2 -> led
P3, P4 <-> xbee(:serial)
P6 <- button(:button)
P7 <- thermometer(:analog)
when button.pushed
led.off
end

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

// I am changing this 1
#import <Foundation/Foundation.h>
typedef enum _WRSideIdentifier {
kWRSideLeft = 1 << 0,
kWRSideRight = 1 << 1,
kWRSideBottom = 1 << 2,
kWRSideTop = 1 << 3
} WRSideIdentifier
// I am forking this separately.
#import <Foundation/Foundation.h>
typedef enum _WRSideIdentifier {
kWRSideLeft = 1 << 0,
kWRSideRight = 1 << 1,
kWRSideBottom = 1 << 2,
kWRSideTop = 1 << 3
} WRSideIdentifier
sdfsdf
The sign-off is a simple line at the end of the explanation for
the patch, which certifies that you wrote it or otherwise have
the right to pass it on as a open-source patch. The rules are
pretty simple: if you can certify the below:
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
@atduskgreg
atduskgreg / gist:1420122
Created December 1, 2011 21:45 — forked from anonymous/gist:1419933
convert your app from ITP to heroku
Create an account on heroku
Download your app from itp.nyu.edu
Cleanup config.ru
put everything in public
Install the heroku gem
- launch Terminal
- install heroku gem:
sudo gem install heroku
(type your computer's password)