Skip to content

Instantly share code, notes, and snippets.

View gu3st's full-sized avatar
🥃
Just gotta get through this week

Dustin Dawes gu3st

🥃
Just gotta get through this week
View GitHub Profile
@gu3st
gu3st / gist:4158348
Created November 28, 2012 01:08
insanity 3
(function(window){
api = {
clear: clear,
add: add
}
function clear(){
}
@gu3st
gu3st / gist:4158332
Created November 28, 2012 01:06
javascript2
function Awesome(){
var property1 = 'xxx';
var property2 = 'yyy'
};
Awesome.prototype.clear = function(){
this.property1 = '';
this.property2 = '';
}
@gu3st
gu3st / JavascriptInsanity
Created November 28, 2012 01:04
Javascript Insanity
var Awesome = (function(){
var public = {
test: test,
test2: test2,
clear: clear
};
function test(){
}
@gu3st
gu3st / gist:3405840
Created August 20, 2012 17:03 — forked from corydorning/Cross-Browser ::before and ::after pseudo-class polyfill
Cross-Browser ::before and ::after pseudo-class polyfill
/* =============================================================================
CSS Declarations
========================================================================== */
/* ==|== The Standard Way =================================================== */
.foo::before {
/* ...css rules... */
}
@gu3st
gu3st / json
Created August 8, 2012 20:43 — forked from steventroughtonsmith/json
Using Twitter from ComputerCraft
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see LICENCE.txt for details.
--
-- USAGE: