Skip to content

Instantly share code, notes, and snippets.

View fpruitt's full-sized avatar

Forrest Pruitt fpruitt

  • Amazon Game Studios
  • Seattle, WA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am fpruitt on github.
  • I am fpruitt (https://keybase.io/fpruitt) on keybase.
  • I have a public key whose fingerprint is B98A 0383 B41E 058B 7A63 3F37 F761 3BEA 6B86 7452

To claim this, I am signing this object:

@fpruitt
fpruitt / gist:56533f500d4ec7ae3430
Created January 26, 2016 00:38
picking up planet
|=======================================|
|SEMIOSPHERE |
|=======================================|
|_______________________________________|
10 | | | | | | | | |
9 | | O | | | | | | |
8 | | | | | | | | |
7 | | | | | | | | |
6 | O | | | | | | | |
5 | p | | | | | | | |
using System;
using System.Linq;
using System.Collections.Generic;
using Windows.UI.Xaml;
using Windows.UI.Popups;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
using Windows.UI.Xaml.Media.Animation;
using Microsoft.Xbox.Services;
using Microsoft.Xbox.Services.System;
Spendsetter - @epochblu
First class object:
Save function into variables
return functions from functions
pass functions as arguments
nest functions inside of functions
Deck: 15 character cards
Duke x 3
Assassin x3
Captain x 3
Ambassador x 3
Contessa x 3
50 coins in Treasury
Start:
@fpruitt
fpruitt / gist:2b7dfd6ac82462051cc6
Created May 20, 2014 20:33
Getting started jplumb
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<script src="jsPlumb/dist/js/jquery.jsPlumb-1.6.1-min.js "></script>
<style type="text/css">
.item {
border: 1px solid black;
background-color: #ddddff;
@fpruitt
fpruitt / gist:36ccd566dd90ad286580
Created May 19, 2014 17:05
Carbon Objects job posting
At Carbon Objects, we are pushing the boundaries of applied augmented reality, and loving every minute of it. We are looking for full-stack generalists, iOS or Python gurus, and those willing to learn.
You:
… are a generalist who thrives on solving new problems
… are process-oriented, but at home in a startup environment
… like quick turn-around and rapid iteration
… love to stitch together multiple languages and platforms to create something greater than the sum of its part
We:
@fpruitt
fpruitt / testApp.cpp
Created August 5, 2013 16:54
Final JSON Object Viewer
#include "testApp.h"
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
#include <json/json.h>
#define MANUAL_FRAMERATE 25
//--------------------------------------------------------------
void testApp::onMessage( ofxLibwebsockets::Event& args )
{
// if(args.json != NULL)
// {
//// string df_str = args.json["TYPE"].toStyledString();
// cout << args.json.toStyledString() << endl;
// }
// //ofLog(OF_LOG_NOTICE, args.json["TYPE"]);
if(args.json != NULL)
#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup() {
ofSetFrameRate(30);
windowWidth = ofGetWidth();
windowHeight = ofGetHeight();
//Networking Magic
//Cloud Passthrough Server at EPB: