Skip to content

Instantly share code, notes, and snippets.

@matt-
matt- / 0_reuse_code.js
Created March 4, 2014 22:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Google Chrome "Local File Disclosure" via HTML5 Link Download with DND Upload POC</title>
<style>
html, body {
height: 100%;
#!/usr/bin/env ruby
require 'net/telnet'
require 'curses'
require 'optparse'
options = {}
options[:port] = 11211
options[:host] = 'localhost'
OptionParser.new do |opts|
opts.banner = "Usage: mem.rb [options]"
@matt-
matt- / light_show.ino
Created October 4, 2012 18:50
Sample Light Show
#include "SPI.h"
#include "WS2801.h"
int spectrumReset=5;
int spectrumStrobe=4;
int spectrumAnalog=0; //0 for left channel, 1 for right.
// Spectrum analyzer read values will be kept here.
int Spectrum[7];
<?php
/**
* GrooveShark - Interface to the Grooveshark unofficial web API
*
* PHP Version 5
*
* @author Matt Austin <matt@m-ausitn.com>
*/
include("util.class.php");
@matt-
matt- / solaris.js
Created December 28, 2011 20:09
Solaris in Node JS
var net = require('net');
var host = 'apache.org';
var max = 300;
var connections = Array();
var count = 0;
var ip = '';
var dns = require('dns');
@matt-
matt- / test.html
Created November 23, 2011 07:52
test
<script>
alert(1);
</script>
@matt-
matt- / groove_shark_tokens.txt
Created November 23, 2011 07:46
Grooveshark Tokens
Token Key: theTicketsAreNowDiamonds
Client: htmlshark
Client Revision: 20110906
Rev Token: imOnAHorse