Skip to content

Instantly share code, notes, and snippets.

Paul Booth paulbooth

Block or report user

Report or block paulbooth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@paulbooth
paulbooth / post_data_uri.js
Last active Dec 14, 2015
Make a Facebook post with a DataURI image using Rem
View post_data_uri.js
var fs = require('fs')
, path = require('path');
var rem = require('rem')
, FormData = require('form-data');
rem.connect('facebook.com').prompt({
scope: ['publish_stream']
}, function (err, user) {
var form = new FormData();
@paulbooth
paulbooth / .bash_aliases
Last active Dec 12, 2015
Aliases for quick git action. Slap this in ~/.bash_aliases (create it if it doesn't exist)
View .bash_aliases
alias twag='echo "That was a joke." | say'
alias ga='git add'
alias gp='git push'
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gc='git commit -am'
alias gma='git commit -am'
alias gb='git branch'
alias gco='git checkout'
@paulbooth
paulbooth / factortrinomial.cpp
Created Dec 5, 2011
Factor a trinomial in C++
View factortrinomial.cpp
//Paul Booth
//June 01, 2009
//Programming 3 final program
//Trinomial factoring program
//inputs a trinomial, displays factored form
#include <iostream>
#include <windows.h>
@paulbooth
paulbooth / GuitarGame.cpp
Created Dec 5, 2011
Make a Guitar Game in C++
View GuitarGame.cpp
/* Paul Booth
Guitar Hero clone in ascii. (mary had a little lamb)
*/
#include <iostream>
#include <windows.h>
#define G 392
#define A 440
#define B 494
#define D 587
You can’t perform that action at this time.