Skip to content

Instantly share code, notes, and snippets.

View soundofjw's full-sized avatar

Josh Whelchel soundofjw

View GitHub Profile
@soundofjw
soundofjw / cleanup_versions.py
Last active November 5, 2015 18:08
Cleaning up "old" appengine versions - great for Managed VM Deployment
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""gcloud Version Cleanup Script
"""
import argparse
import os
import subprocess
import logging
import re
The Not Alone remix is intended to be, as many of our remixes are, a vocal arrangement with
no strict definition of genre, though definitely inspired by pop/electronic, etc.
Worth noting, the remix is literally 5 years old. OCRemix took the necessary time to create
a cohesive album, at the cost of having some very dated mixes
- but I'll preemptively agree that it doesn't matter. :)
That said, it does make talking about the remix a bit hard, as we created it so long ago :)
As Poolside, Melinda and I have always created controversial vocal remixes:
@soundofjw
soundofjw / test_tq.py
Last active August 29, 2015 14:27
base class for running taskqueue tasks from testcases
import datetime
import unittest
import time
import cgi
import base64
import random
import sys
import StringIO
import logging
@soundofjw
soundofjw / keybase.md
Created June 1, 2015 16:05
keybase.md

Keybase proof

I hereby claim:

  • I am soundofjw on github.
  • I am soundofjw (https://keybase.io/soundofjw) on keybase.
  • I have a public key whose fingerprint is B954 B648 A0D4 5E67 6ABC D2C4 25FA 9876 AD7E 874A

To claim this, I am signing this object:

@soundofjw
soundofjw / payload.py
Created June 3, 2014 22:57
Getting taskqueue.Task payload parameter
class GenericTaskHandler(webapp2.RequestHandler):
def get(self):
payload = self.request.body
# taskqueue.Task(payload="Data")
# assert payload == "Data"
@soundofjw
soundofjw / Fez Cryptography Results
Created March 11, 2014 04:14
FEZ Common Cipher Output (and code)
FROM OUT OF NOWHERE
IMPOSSIBLE VISITORS
OUR BENEFACTORS
WATCHING OVER US
IN THE HIDDEN FOLDS OF SPACE
IN FRONT OF BEHIND
GIVE THE GOLDEN GIFT
A DEEP REVELATION
OUR EYES WIDE OPEN
SHAPES TO TESSELLATE
@soundofjw
soundofjw / fez.py
Created March 11, 2014 02:03
FEZ Cipher Script
import pycipher
tome_keywords = {
"Cycled Page-Order": "PEABEUAB",
"Presented Order": "PAEAEBUB",
}
# classroom codes
classroom_codes = [
"45 614436",
@soundofjw
soundofjw / FrameBuffer.cpp
Created July 8, 2011 07:26
Basic (very basic) Monocle Engine Shader Implementation
//
// FrameBuffer.cpp
// Teelo
//
// Created by Josh Whelchel on 5/31/11.
// Copyright 2011 jwmusic.org. All rights reserved.
//
#include "FrameBuffer.h"
#include "Debug.h"
@soundofjw
soundofjw / light.fsh
Created June 8, 2011 15:20
Lightmap Shader
uniform sampler2D sampler0;
uniform sampler2D sampler1;
void main()
{
vec2 off = gl_TexCoord[0].st;
vec4 baseColor = texture2D(sampler0, off);
baseColor = baseColor * texture2D(sampler1,off);