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
import flash.events.TimerEvent; | |
class TimerInfo | |
{ | |
public function new(toInvoke, block) | |
{ | |
invoke = toInvoke; | |
blocking = block; | |
} | |
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
.karusell { | |
position: relative; | |
overflow: hidden; | |
} | |
.karusell .page.next { z-index: 3; } | |
.karusell .page.current { z-index: 2; } | |
.karusell .page { | |
position: absolute; | |
background: black; |
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 Class() { } | |
Class.extend = function(data) { | |
var cls = data.init || function(){}; | |
cls.base = data.__proto__ = this.prototype; | |
cls.extend = arguments.callee; | |
cls.prototype = data; | |
return cls; | |
}; |
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> | |
<head> | |
<title>Testing</title> | |
<base href="https://raw.github.com/sciolist/waffles.js/master/www/"> | |
<script type="text/javascript" src="coffee-script.js"></script> | |
<script type="text/javascript" src="../out/waffles.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<script type="text/javascript" src="scrolls.js"></script> | |
<script type="text/javascript" src="tableview.js"></script> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <limits.h> | |
#ifndef PAGESIZE | |
#define PAGESIZE 4096 | |
#endif |
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
require './oh_god_why' | |
class Object | |
include FigureItOut | |
end | |
str = "hello, world." | |
puts str.make_upper_case # HELLO, WORLD. | |
this = "this be some text" |
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
javascript:Array.prototype.slice.call(document.getElementsByTagName("*")).forEach(function(x)%20{for(var%20i=0;%20i<x.childNodes.length;%20++i)%20{var%20v%20=%20x.childNodes[i];%20if(v.nodeType%20!=%203)%20continue;%20if(!v.textContent.match(/[^\s]/))%20continue;v.textContent%20=%20v.textContent.replace(/[\w%C3%A5%C3%A4%C3%B6%C3%85%C3%84%C3%96]+/g,%20function(t)%20{var%20up%20=%20t[0].toUpperCase()%20==%20t[0];%20var%20vals%20=%20["fuck",%20"shit",%20"damn",%20"hell",%20"cock",%20"cunt",%20"ass"];%20var%20sel%20=%20vals[Math.floor(Math.random()%20*%20vals.length)];if(up)%20sel%20=%20sel[0].toUpperCase()%20+%20sel.substring(1);return%20sel});}}); |
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
gcc -Os main.c -sectcreate __TEXT example example.txt |
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 Grid(w, h, minSize) { | |
if(w === undefined) w = 16384; | |
if(h === undefined) h = w; | |
if(minSize === undefined) minSize = Math.max(1, Math.max(w, h) / 1024); | |
this.root = {x:0,y:0,w:w,h:h}; | |
this.minSize = minSize; | |
} | |
Grid.prototype.get = function(at) { |
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 index = new Index([ | |
{ name: 'Moped', flags: ['slow', 'vehicle', 'red'] }, | |
{ name: 'Car', flags: ['fast', 'vehicle', 'blue'] } | |
]); | |
index.facet('flags', function(m) { return m.flags }); | |
var query = new BitField(index.items.length, true); | |
query.and(index.facets.flags.fast); | |
console.log(index.collect(query)); // [ { name: 'Car' } ... ] | |
query.or(index.facets.flags.red); |
OlderNewer