Skip to content

Instantly share code, notes, and snippets.

View pspeter3's full-sized avatar

Phips Peter pspeter3

View GitHub Profile
pspeter3 / .eleventyignore
Last active December 8, 2022 20:42
Eleventy 11ty.js Extensions
pspeter3 /
Last active March 4, 2016 18:18
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 February 19, 2016 18:28
IFTTT Maker Channel Asana Proxy
View main.go
package main
import (
type handler struct{}
pspeter3 /
Created October 24, 2014 19:43

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 December 13, 2013 00:51
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 September 21, 2017 02:12
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 December 22, 2015 18:09
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 September 9, 2013 23:04
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 July 24, 2012 18:15
Quickly add aliases to your ~/.bashrc
function add-alias() {
echo "alias $1=\"${@:2:$#}\"" >> ~/.bashrc;
source ~/.bashrc;
pspeter3 / minecraft.xboxdrv
Created July 31, 2011 08:37
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