View empty-colored-cell.html
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
<html> | |
<body> | |
<table> | |
<tr> | |
<td style="background-color: rgb(233, 235, 238);">one</td> | |
<td style="background-color: rgb(233, 235, 238);"></td> | |
</tr> | |
</table> | |
</body> | |
</html> |
View gist:8727429
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
// Paste into Chrome's DevTools and run step() repeatedly | |
var count = 0; | |
function step() { | |
var c1 = String.fromCharCode(97 + Math.floor(count/26)); | |
var c2 = String.fromCharCode(97 + count % 26); | |
location.hash = "#search/label:^" + c1 + c2 + "+is:anywhere"; | |
count++; | |
} |
View numbers.py
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
_DIGITS = frozenset(xrange(0, 10)) | |
def generate(sequence, available_digits): | |
if not available_digits: | |
yield sequence | |
for digit in available_digits: | |
for s in generate(sequence + [digit], available_digits - set((digit, ))): | |
yield s | |
def eval(digits): |
View gist:5209291
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
for (var i = 0; i < ..; i++) { | |
var thing; | |
for (var j = 0; j < ...; j++) { | |
if (...) { | |
thing = ...; | |
break; | |
} | |
} | |
if (thing) { |
View crash
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
FlateDecode: decoding error: incorrect data check. | |
ASSERTION FAILED: m_rootObject->isValid() | |
(/Users/mihaip/Developer/source/chromium1/src/third_party/WebKit/Source/WebCore/bridge/jsc/BridgeJSC.cpp:109 void JSC::Bindings::Instance::willDestroyRuntimeObject(JSC::Bindings::RuntimeObject*)) | |
-> JSC::Bindings::Instance::willDestroyRuntimeObject(JSC::Bindings::RuntimeObject*) | |
-> JSC::Bindings::RuntimeObject::~RuntimeObject() | |
-> WebKit::ProxyRuntimeObject::~ProxyRuntimeObject() | |
-> JSC::MarkedSpace::allocate(unsigned long) | |
-> JSC::Heap::allocate(unsigned long) | |
-> JSC::JSCell::operator new(unsigned long, JSC::ExecState*) | |
-> JSC::BooleanPrototype::BooleanPrototype(JSC::ExecState*, JSC::JSGlobalObject*, WTF::NonNullPassRefPtr<JSC::Structure>, JSC::Structure*) |