Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Austin matt-

  • m-austin
View GitHub Profile
@matt-
matt- / 0_reuse_code.js
Created Mar 4, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View CVE-2012-2848.html
<!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%;
View mem.rb
#!/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 Oct 4, 2012
Sample Light Show
View light_show.ino
#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];
View GrooveShark.class.php
<?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 Dec 28, 2011
Solaris in Node JS
View solaris.js
var net = require('net');
var host = 'apache.org';
var max = 300;
var connections = Array();
var count = 0;
var ip = '';
var dns = require('dns');
View test.html
<script>
alert(1);
</script>
View groove_shark_tokens.txt
Token Key: theTicketsAreNowDiamonds
Client: htmlshark
Client Revision: 20110906
Rev Token: imOnAHorse