Skip to content

Instantly share code, notes, and snippets.

var outsiderID;
$("#kelvarnsen").on('event',function(){
var id = $("#artvandelay").attr("id");
outsiderID = id;
});
$("pennypacker").on('event',function(){
@tony-o
tony-o / zezikaro.js
Created December 7, 2012 19:53
zezikaro
/* app.js */
require("./mastah.js");
require("./comp1.js");
require("./comp2.js");
/* call all reflected items in mastah.js */
var temp, parse;
for(var i in mastah.names){
temp = mastah.components;
parse = mastah.names[i].split(".");
wchar_t[] index = new wchar_t[256]; //change 256 to number of unique chars in both streams or max number possible of uniques
item* push(wchar_t v,int c,item* curr){
curr->value = v;
curr->count = c;
index[v] = &curr;
curr->next = (item*)(malloc(sizeof(item)));
return curr->next;
}
/*
module a
*/
module.exports = function(self){
return {
echo:function(){
console.log(self.echo);
}
};
};
-var pad = function(decimal){ return decimal.toFixed(2); };
h2 Hi NoNuby
div!= pad(locals.val1);
div!= pad(locals.val2);
fuor:four
O
/ / \ \
f o u r
| | |
o u r
| |
u r
|
var http = require("http");
var madworld = "i axe to axe";
http.createServer(function(req, res){
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end(madworld);
}).listen(6679, '127.0.0.1');
@tony-o
tony-o / nicholai.md
Last active December 15, 2015 06:49

perl scopes

use strict;

my $peters = { };
my $val = 3;

my $pans = sub{
 my $val = 5;

tileSets.pm

package tileSets;

use strict;
use Exporter;
use Time::HiRes 'usleep';
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
my $TILES;
@tony-o
tony-o / md.md
Last active December 15, 2015 09:49

controller.pm

package Sims::Controller;

use strict;
use warnings;
use AnyEvent;
use Data::Dump qw(dump);
my @sims;