Skip to content

Instantly share code, notes, and snippets.

View emgeee's full-sized avatar

Matt Green emgeee

View GitHub Profile
Verifying myself: My Bitcoin username is +matt_green. https://onename.io/matt_green
var gulp = require('gulp');
var gutil = require('gulp-util');
var livereload = require('gulp-livereload');
var watch = require('gulp-watch');
var http = require('http');
var ecstatic = require('ecstatic');
var watchGlob = 'www/**/*.{js,html,css}';
var iosDest = "platforms/ios/www/";
@emgeee
emgeee / web-audio-test.html
Last active August 29, 2015 14:01
Buffering Audio in Parallel on Mobile with Web Audio API
<html>
<head>
<title>Fun test</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/async/0.9.0/async.js"></script>
<script>
@emgeee
emgeee / typeracer.js
Last active August 29, 2015 14:01
Automatically beat typerace.net at a given WPM
// Beat typeracer!
// this is a little script that can be copy+pasted into the console
// on typerace.net and auto beat it for you
// Include jQuery
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// wait for jQuery to be loaded