I hereby claim:
- I am tal on github.
- I am tal (https://keybase.io/tal) on keybase.
- I have a public key whose fingerprint is F4A2 A992 2844 D7D2 9FE4 89BD 79F9 E82F D6D6 1C15
To claim this, I am signing this object:
for (var i = 0; i < 10; i += 1) { | |
setTimeout(function() { | |
console.log(i); | |
}, 0); | |
} |
#ifndef NS_DESIGNATED_INITIALIZER | |
#if __has_attribute(objc_designated_initializer) | |
#define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer)) | |
#else | |
#define NS_DESIGNATED_INITIALIZER | |
#endif | |
#endif |
callableWithNmaed = (fn) -> | |
fn_s = fn.toString() | |
if m = fn_s.match(/function[\w\s]*\((.*?)\)/) | |
arg_names = m[1].split(/[\s,]+/) | |
(args) -> | |
call_args = for arg_name in arg_names | |
args[arg_name] |
<!-- | |
Copyright (C) 2014 Google Inc. All Rights Reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
/** | |
* Path Set | |
* @author Tal Atlas <[email protected]> | |
* | |
* A libary for storing and generating paths for an application based on params. | |
* If jquery is avaialable it will encode the params using jQuery.param() | |
* | |
* ps = new PathSet({ | |
* root: '/', | |
* group: '/groups/:id(.:format)', |
_prepare_environment: function _prepare_environment() { | |
var env = this.options.env || {}; | |
delete this.options.env; | |
this.env = _.bind(function() { | |
return _.clone(env); | |
}); | |
}, |
I hereby claim:
To claim this, I am signing this object:
Array.prototype.map = function() {} | |
Array.prototype.select = function() {} |
(function() { | |
'use strict'; | |
var once = 0; | |
window.BananaStand = function BananaStand() { | |
this.middleware = Array.prototype.slice.call(arguments);; | |
}; | |
var locStorInterface = { |
php> class Foo {} | |
php> $foo = new Foo | |
php> $foo->bar='bar' | |
php> =$foo->BAR | |
/usr/lib/python2.4/site-packages/phpsh/phpsh.php(578) : eval()'d code:1: Undefined property: Foo::$BAR | |
php> =$foo->bar |