Skip to content

Instantly share code, notes, and snippets.

Malte Ubl cramforce

Block or report user

Report or block cramforce

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:302006
var MAX_DEPTH = 3;
var work = []; // reusable stack
var seen = []; // "seen hash"
var run = 0;
var findPath = function (source, target, u2f, visitor) { // u2f = user to friend
source = Graph.userToIndex(source);
target = Graph.userToIndex(target);
View gist:306946
var MAX_DEPTH = 3;
var findPath = function (source, target, u2f, visitor) { // u2f = user to friend
source = Graph.userToIndex(source);
target = Graph.userToIndex(target);
var dist = []
var prev = []
var queue = []
var seen = []
View gist:324571
var sys = require('sys'),
http = require('http'),
url = require('url'),
Dirty = require('./dirty');
var files = {};
exports.connect = function (port) {
http.createServer(function (req, res) {
var url = url.parse(req.url);
View gist:383652
Module("gc.srv.bo.customer", function (m) {
Class("Address", {
isa: gc.srv.bo.BusinessObject,
does: gc.srv.bo.GenericDecorator,
has: {
obj: {
is: "rw"
}
},
View gist:383653
Module("gc.srv.bo.customer", function (m) {
Class("Address", {
isa: gc.srv.bo.BusinessObject,
does: gc.srv.bo.GenericDecorator,
validations: {
firstName: {
simple: ["required"]
},
View gist:399220
var MAX_DEPTH = 3;
var work = []; // reusable stack
var seen = []; // "seen hash"
var run = 0;
var findPath = function (source, target, u2f, visitor) { // u2f = user to friend
source = Graph.userToIndex(source);
target = Graph.userToIndex(target);
View gist:540678
var fullreset = (function () {
$(function () {
var iframe = document.createElement("iframe");
$("body").append(iframe);
var doc = iframe.contentDocument;
var win = iframe.contentWindow;
doc.open();
var html = "<!DOCTYPE html>\n"+
View gist:558770
<!doctype html>
<html>
<head>
<title>Hidden Scroll</title>
<meta charset="utf-8" />
</head>
<body>
<div style="width:570px; height:170px;overflow:hidden;">
<div style="width:600px; height:200px; overflow: auto">
<img src="http://www.party-lichteffekte.de/images/detail-photos/2079/jb-systems-lounge-laser-4.jpg" />
View gist:571529
syscall::connect:entry
/execname == "Echofon"/
{
this->sock = (struct sockaddr_in *)copyin(arg1, arg2);
port = this->sock->sin_port;
ip = this->sock->sin_addr.s_addr;
printf("%s %d %d.%d.%d.%d\n", execname, port, (ip >> 0) & 0xff, (ip >> 8) & 0xff, (ip >> 16) & 0xff, (ip >> 24) & 0xff);
}
View gist:601552
streamie.plugins.add(function noRetweets (tweet) {
return !tweet.retweet
})
You can’t perform that action at this time.