Skip to content

Instantly share code, notes, and snippets.

@Kambfhase
Kambfhase / LICENSE.txt
Created July 4, 2011 09:45 — forked from 140bytes/LICENSE.txt
activity detection
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Kambfhase
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
@Kambfhase
Kambfhase / LICENSE.txt
Created August 12, 2011 09:44 — forked from 140bytes/LICENSE.txt
Cornifyer
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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
@Kambfhase
Kambfhase / LICENSE.txt
Created June 5, 2011 11:59 — forked from 140bytes/LICENSE.txt
class inheritance for real
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Kambfhase
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
@Kambfhase
Kambfhase / LICENSE.txt
Created June 1, 2011 18:50 — forked from 140bytes/LICENSE.txt
Userscript that filters the forks
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Kambfhase
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
@Kambfhase
Kambfhase / LICENSE.txt
Last active September 25, 2015 22:28 — forked from 140bytes/LICENSE.txt
Brainfuck139
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Kambfhase
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
@Kambfhase
Kambfhase / LICENSE.txt
Created May 23, 2011 15:52 — forked from 140bytes/LICENSE.txt
140byt.es -- Ackermann function
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Kambfhase
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
$(document).ready( function( ) {
var extendedLogger = function( ) {
//
this.many = ['console', 'alert', 'print'];
//
this.logMultiple = function ( msg ) {
var i=0, many= this.many, n=many.length;
for (; i<n; i++) {
this.logMany( msg, many[i] );
// So what I'm doing here seems cool, but I'm not sure exactly what it's called.
// (also, I'm not doing anything smart here with execution context)
function partial( orig_func ) {
var ap = Array.prototype,
partial_args = ap.slice.call( arguments, 1 ),
invoked_args;
function fn() {
var result;
// 1: how could you rewrite the following to make it shorter?
// It can be done in one line, but it gets messy:
bar.[ foo? "doSomething" : "doSomethingElse" ]( el);
// 2: what is the faulty logic in the following code?