Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am peyton on github.
  • I am peyton (https://keybase.io/peyton) on keybase.
  • I have a public key ASCGSnA_OYz82JytuwZibp2qZwN1hU3E8T-YuT_2aojgGwo

To claim this, I am signing this object:

@peyton
peyton / CGContextBlocks.h
Created March 6, 2012 20:02
Block-based helpers for CGContexts
/**
* CGContextBlocks.h
*
* Block-based convenience methods for organizing Core Graphics-heavy code.
*
* See https://gist.github.com/gists/1988678 for the latest version.
*
* Idea stolen from http://www.natestedman.com/post/improving-cgcontext-with-blocks/
*/
@peyton
peyton / ARCHelper.h
Created February 21, 2012 19:04 — forked from nicklockwood/ARCHelper.h
ARC Helper
//
// ARC Helper
//
// Version 1.2
//
// Created by Nick Lockwood on 05/01/2012.
// Copyright 2012 Charcoal Design
//
// Distributed under the permissive zlib license
// Get the latest version from here:
@peyton
peyton / Serial_Communications.pde
Created April 4, 2011 16:14
Serial communications sketch
/*
Serial Communications
Reports and receives servo positions via serial
*/
#include <Servo.h>
#include <AFMotor.h>
#include <aJSON.h>
@peyton
peyton / .vimrc
Created January 22, 2011 19:43
My vim configuration
" Vim configuration - Peyton Randolph
" turn off filetype to get around bug, load pathogen plugins, restart filetype
filetype off
call pathogen#runtime_append_all_bundles()
filetype plugin indent on
" indenting
set smartindent
set autoindent