Skip to content

Instantly share code, notes, and snippets.

View kassens's full-sized avatar

Jan Kassens kassens

View GitHub Profile
(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){
#import <Foundation/Foundation.h>
@interface Settings : NSObject {
NSString *email;
NSString *password;
NSString *server;
BOOL pushesMentions;
BOOL pushesBroadcasts;
<!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>
@kassens
kassens / LICENSE.txt
Created May 23, 2011 11:52 — forked from 140bytes/LICENSE.txt
Fibonacci in 52 bytes.
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