Skip to content

Instantly share code, notes, and snippets.

$ git --no-pager log --oneline -n1
04a3242 Auto merge of #14939 - upsuper:add-aliases, r=emilio,Manishearth
$ ./mach run -d -w https://html5test.com/
BUGGY: Codec detection bug in Android where no better answer than "maybe" is given
Delete the non-exist key:ImageKey(6, 0)
Delete the non-exist key:ImageKey(8, 0)
Delete the non-exist key:ImageKey(7, 0)
Delete the non-exist key:ImageKey(9, 0)
Stack trace for thread "ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }"
w=["because", "thought", "nothing", "believe", "through", "talking", "getting", "someone", "another", "looking", "tonight", "already", "problem", "exactly", "without", "morning", "friends", "telling", "married", "anymore", "working", "brother", "between", "minutes", "feeling", "promise", "trouble", "anybody", "alright", "wedding", "perfect", "waiting", "against", "husband", "started", "serious", "finally", "worried", "Theresa", "brought", "leaving", "running", "parents", "happens", "special", "kidding", "meeting", "welcome", "outside", "company", "mistake", "totally", "control", "realize", "picture", "hundred", "changed", "explain", "playing", "Michael", "fucking", "calling", "Natalie", "protect", "forever", "besides", "himself", "amazing", "decided", "antonio", "country", "perhaps", "darling", "dollars", "evening", "suppose", "imagine", "sitting", "Frasier", "million", "charity", "message", "missing", "careful", "figured", "instead", "stopped", "forgive", "wearing", "college", "history", "herself", "deserve"
def h(n):
print 2**n-1
def m(h,f,v,t):
if h>0:m(h-1,f,t,v);print"Move disk from [%d] to [%d]"%(f,t);m(h-1,v,f,t)
m(n,1,2,3)
diff --git a/bug-754344 b/bug-754344
index 3821f33..20b8221 100644
--- a/bug-754344
+++ b/bug-754344
@@ -1,13 +1,12 @@
# HG changeset patch
-# Parent f4981b5e1f7a1b7e951c7013a2bc30fb72c0e01c
+# Parent 58bc22e5354276912ee185dbf752b2532005d39c
# User Hernan Rodriguez Colmeiro <colmeiro@gmail.com>
try: -b o -p linux,linux64,macosx64,win32,win64 -u none -t none
@cers
cers / test
Created May 13, 2012 00:12
bug-754344
test
@cers
cers / zscroll.html
Created March 22, 2012 19:05
Scrolling along the Z-Axis
<html>
<head>
<title>Scrolling along the Z-Axis</title>
<!--
Example from http://eng.wealtfront.com
Assumes browser window is sized at a height of 400px (the size of the black box).
-->
<style>
body{height:600px;}
#viewport {
CmdUtils.makeSearchCommand({
name: "Directory",
url: "http://www10.go.com.mt/edirnew_dev/modules/edir_checkquery.asp",
get postData() {
var query = this.__globalObject.noun_arb_text.split(",");
var data = {g_telephone:query[0]};
if (query.length > 1)
data.g_surname = query[1];
return data;
},
function doStuff(doc) {
// must be run when document/resources are fully loaded
$("body",doc).css("background","red");
};
jetpack.tabs.onReady(function(doc){
$(this).load(function(){doStuff(doc);});
if (doc.readyState == "complete") {
doStuff(doc);
}
});
function Post(){};
Post.prototype = {test : function test() console.log};
p = new Post();
p.test()("foobar"); // foobar
Post.prototype = {test : function test(a) {console.log(a)}};
p = new Post();
p.test("foobar"); // foobar
CmdUtils.CreateCommand({
names: ["exercise twitter"],
description: "Makes you exercise your neck while reading Twitter.",
author: {
name: "Christian Sonne",
email: "cers@geeksbynature.dk",
homepage: "http://geeksbynature.dk",
},
license: "GPL",
homepage: "http://geeksbynature.dk",