View LICENSE.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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jan Kassens <jan@kassens.net> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
View selector-bug.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
<!DOCTYPE html> | |
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<script type="text/javascript"> | |
window.onload = function () { | |
console.log(document.querySelectorAll('div:nth-child(6) img')); | |
console.log(document.querySelectorAll('div:nth-child(6) img')); | |
console.log(document.querySelectorAll('div:nth-child(6) img')); | |
} | |
</script> |
View gist:362704
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 <Foundation/Foundation.h> | |
@interface Settings : NSObject { | |
NSString *email; | |
NSString *password; | |
NSString *server; | |
BOOL pushesMentions; | |
BOOL pushesBroadcasts; | |
View gist:134126
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(write, wrapper, slice, fragment){ | |
document.write = function(){ | |
var id = 'document_write' + $time().toString(36); | |
var html = slice.call(arguments).join(''); | |
write.call(document, '<span id="' + id + '"></span>'); | |
window.addEvent('domready', function(){ | |
Array.filter(wrapper.set('html', html).childNodes, document.write.filter).each(function(node){ |