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
/* | |
Script: Event.js | |
Contains the Browser native event enhancement, to make the event object completely crossbrowser. | |
License: | |
MIT-style license. | |
*/ | |
function Event(event){ | |
if ((event = event || window.event).event) event = event.event; |
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 | |
class ForgeMDParser | |
{ | |
var $errors = array(); | |
public function __construct($data){ | |
$this->data = $data; | |
$this->parse(); |
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 | |
class ForgeMDParser { | |
protected $data; | |
protected $xml; | |
protected $options; | |
protected $sections = array(); | |
protected $arbitrarySections = array(); |
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
// in answer to http://gist.github.com/303362 | |
(function(){ | |
var window,top,self,parent,global; | |
return eval('window'); | |
}).call({}); | |
(function(){ | |
var window,top,self,parent,global; | |
return (function(){ return this; })(); | |
}).call({}); |
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 Request = require('express/request').Request, | |
deflate = require('./support/deflate').deflate, | |
statusBodies = require('http').STATUS_CODES, | |
gzipTest = /gzip/, | |
_long = function(n) { | |
return String.fromCharCode(n & 0xFF) | |
+ String.fromCharCode(n >> 8 & 0xFF) | |
+ String.fromCharCode(n >> 16 & 0xFF) | |
+ String.fromCharCode(n >> 24 & 0xFF); |
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
guillermo:test rauchg$ git clone git://github.com/LearnBoost/Socket.IO-node.git --recursive | |
Initialized empty Git repository in /Users/rauchg/test/Socket.IO-node/.git/ | |
remote: Counting objects: 464, done. | |
remote: Compressing objects: 100% (331/331), done. | |
remote: Total 464 (delta 214), reused 283 (delta 129) | |
Receiving objects: 100% (464/464), 67.25 KiB, done. | |
Resolving deltas: 100% (214/214), done. | |
Submodule 'lib/vendor/js-oo' (git://github.com/visionmedia/js-oo.git) registered for path 'lib/vendor/js-oo' | |
Submodule 'test/client' (git://github.com/LearnBoost/Socket.IO.git) registered for path 'test/client' | |
Initialized empty Git repository in /Users/rauchg/test/Socket.IO-node/lib/vendor/js-oo/.git/ |
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 connect = require('connect'), | |
cwd = process.cwd(), | |
sys = require('sys'); | |
var usage = '' | |
+ '\x1b[1mUsage\x1b[0m: connect [options] [PATH]\n' | |
+ '\n' | |
+ '\x1b[1mOptions\x1b[0m:\n' | |
+ ' -v, --version Output connect version\n' |
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
http://swarmation.com | |
http://maprejuice.com/ | |
http://demiox-boiko.no.de/ | |
http://piston-hurricane.no.de/ | |
http://nodelicious.no.de/ | |
http://virtual-design.no.de/ | |
http://inflatable-chum.no.de/ | |
http://fragnut.me/ | |
http://braintree.no.de/ | |
http://nodty.no.de/ |
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
port install cairo |
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 () { | |
mpq = [['init', MIXPANEL_TOKEN]]; | |
var mpmetrics = {} | |
, methods = ['track', 'track_funnel', 'register', 'register_once' | |
, 'register_funnel', 'identify']; | |
for (var i = 0, l = methods.length; i < l; i++) | |
(function(method) { | |
mpmetrics[method] = function () { |
OlderNewer