Skip to content

Instantly share code, notes, and snippets.


Phips Peter pspeter3

View GitHub Profile
pspeter3 /
Last active Mar 4, 2016
Lambda: A simple functional TypeScript library


This is just meant to be a small proof of concept functional programming libray for TypeScript which handles working with Releasables, Maps, Maybes, and Results.

pspeter3 / main.go
Last active Feb 19, 2016
IFTTT Maker Channel Asana Proxy
View main.go
package main
import (
type handler struct{}

Keybase proof

I hereby claim:

  • I am pspeter3 on github.
  • I am pspeter3 ( on keybase.
  • I have a public key whose fingerprint is 5ED7 7417 FCDD A309 186E 34BE FCD7 7F73 9981 2DF9

To claim this, I am signing this object:

pspeter3 /
Created Dec 13, 2013
Print out the tasks you mark today from asana
import base64
import json
import os
import urllib
import urllib2
AUTHORIZATION = base64.encodestring(
"%s:" %(os.environ["ASANA_API_KEY"])).replace("\n", "")
pspeter3 /
Last active Sep 21, 2017
VIM settings
mkdir ~/.vim
curl -Sso ~/.vimrc
mkdir -p ~/.vim/colors
curl -Sso ~/.vim/colors/Tomorrow-Night.vim
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -Sso ~/.vim/autoload/pathogen.vim
cd ~/.vim/bundle
pspeter3 / statusboard.js
Last active Dec 22, 2015
Status Board Foursquare Server written in pure node.js
View statusboard.js
* Status Board Foursquare Server
var http = require('http');
var https = require('https');
var querystring = require('querystring');
var util = require('util');
* Configuration for the server
pspeter3 /
Created Sep 9, 2013
Status Board Foursquare Python Server
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from json import loads
from os import environ
from time import time
from urllib2 import urlopen
HEADER = environ.get('HEADER')
FOURSQUARE_IDS = set(environ.get('FOURSQUARE_IDS').split(','))
pspeter3 /
Created Jul 24, 2012
Quickly add aliases to your ~/.bashrc
function add-alias() {
echo "alias $1=\"${@:2:$#}\"" >> ~/.bashrc;
source ~/.bashrc;
pspeter3 / minecraft.xboxdrv
Created Jul 31, 2011
Use with xboxdrv -c minecraft.xboxdrv
View minecraft.xboxdrv
# Supports the default controls in the way I thought was logical.
# A is jump
# B is sneak
# X is drop
# Y is chat
# Scroll with the DPAD
# RT is left click
# LT is right click
# Left joystick is WASD