This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The sketch: | |
A [poop] enters a pet shop. | |
Mr. Praline: 'Ello, I wish to [throw] a [today]. | |
(The owner does not [fart].) | |
Mr. Praline: 'Ello, [it]? | |
Owner: What do you [gentle] "miss"? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDF to Post | |
* Description: Allows Admin to add a pdf and turns it into a post | |
* Version: 0.1 | |
* Author: Sam Tobia/Mike Wagner | |
* License: GPL2 | |
*/ | |
add_action('admin_menu', 'my_plugin_menu'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Application(href){ | |
EventEmitter.call(this); | |
this.href = href; | |
var that = this; | |
socket.on("open", function(){ | |
while(that.backlog.length > 0) | |
that.socket.send(that.backlog.shift()); | |
that.emitEvent("open",arguments) | |
}) | |
socket.on("message", function(msg,flags){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ee = require('events').EventEmitter; | |
function some_cuteness(next){ | |
var our_event = new ee(); | |
var functioned = 0; | |
cb("we're in the main"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var j = {"web-app": { | |
"servlet": [ | |
{ | |
"servlet-name": "cofaxCDS", | |
"servlet-class": "org.cofax.cds.CDSServlet", | |
"init-param": { | |
"configGlossary:installationAt": "Philadelphia, PA", | |
"configGlossary:adminEmail": "[email protected]", | |
"configGlossary:poweredBy": "Cofax", | |
"configGlossary:poweredByIcon": "/images/cofax.gif", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PathWrapper(path,subs,ctx){ | |
if(typeof ctx == "undefined"){ | |
ctx = subs; | |
subs = void(0); | |
} | |
this.ctx = ctx; | |
return this.prep(path,subs); | |
} | |
PathWrapper.prototype.prep = function(path,subs){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v8::Array convertAttribute(AuthAttrubutes pAttribute){ | |
Local<Object> ret = Object::New(); | |
ret->Set( | |
String::NewSymbol("user"), | |
v8::String::New(pAttribute.szUser) | |
); | |
ret->Set( | |
String::NewSymbol("realm"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<!-- This is a comment, you won't see thin except if you look at the code --> | |
<!-- Doctype is necessarry for every html page. You used to need to specify the type, but nowadays all you need to specify is html --> | |
<!-- the html tag is necessary and always is the biggest box. But technically isn't seen --> | |
<!-- (however technically is, you'll understand one day) --> | |
<head> | |
<!-- the head is never seen. however it gets loaded before what gets seen does --> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//!/usr/bin/env node | |
var fs = require("fs"); | |
var curclass = []; | |
var lastws = 0; | |
var curws = 0; | |
var multi = false; | |
var req = []; | |
var lastline = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license almond 0.3.0 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. | |
* Available via the MIT or new BSD license. | |
* see: http://github.com/jrburke/almond for details | |
*/ | |
/* | |
* Copyright 2014, Gregg Tavares. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without |
OlderNewer