I hereby claim:
- I am qodeninja on github.
- I am qodeninja (https://keybase.io/qodeninja) on keybase.
- I have a public key whose fingerprint is 7071 4F49 9A60 1036 920F 8013 5A20 C8FE 7D8E 6FD6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
accept | |
accept-charset | |
accesskey | |
action | |
align | |
alt | |
async | |
autocomplete | |
autofocus | |
autoplay |
accesskey | |
class | |
contenteditable | |
contextmenu | |
data-* | |
dir | |
draggable | |
dropzone | |
hidden | |
id |
def load_data_file(): | |
with open('data.in') as f: | |
for line in f: | |
words = line.split() | |
for word in words: | |
if histogram[word] is not None: | |
histogram[word]+=1 | |
print "Already found ({}) {}".format(word,histogram[word]) | |
else: | |
histogram[word]=0 |
var y = 100; | |
//immediate invocation outside of expression | |
var fnx = (function fn( x ){ | |
return 'save context : fnx=' + (x+y); | |
})(y); | |
//immediate invocation inside of expression | |
var fny = (function fny( x ){ | |
return 'save context : fny=' + (x+y); |