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
100% — FF | |
99% — FC | |
98% — FA | |
97% — F7 | |
96% — F5 | |
95% — F2 | |
94% — F0 | |
93% — ED | |
92% — EB | |
91% — E8 |
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
{ | |
"foreground": { | |
"type": "string", | |
"description": "Overall foreground color. This color is only used if not overridden by a component.", | |
"format": "color-hex", | |
"defaultSnippets": [ | |
{ | |
"body": "${1:#ff0000}" | |
} | |
] |
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
{ | |
"orange": { | |
"hex": "#E69F00", | |
"hue": 41, | |
"hsl": "hsl(41, 100%, 45%)" | |
}, | |
"sky blue": { | |
"hex": "#56B4E9", | |
"hue": 202, | |
"hsl": "hsl(202, 77%, 63%)" |
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
/* | |
* Tiny tokenizer | |
* | |
* - Accepts a subject string and an object of regular expressions for parsing | |
* - Returns an array of token objects | |
* | |
* tokenize('this is text.', { word:/\w+/, whitespace:/\s+/, punctuation:/[^\w\s]/ }, 'invalid'); | |
* result => [{ token="this", type="word" },{ token=" ", type="whitespace" }, Object { token="is", type="word" }, ... ] | |
* | |
*/ |
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
const range = [ | |
future => { | |
Meteor.setTimeout(() => { | |
future.return(1000); | |
}, 1000); | |
}, | |
future => { | |
Meteor.setTimeout(() => { | |
future.return(2000); | |
}, 2000); |
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
# Here we replace col 4 with the value of 1 | |
awk -F, '{$4="1";}1' OFS=, my.csv |
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
lda = LdaMulticore(trigram_bow_corpus, | |
num_topics=num_topics, | |
workers=2, | |
id2word=trigram_dictionary, | |
chunksize=10000, | |
passes=passes) | |
---------------------------------------------------------------------------------------------------------------------------- | |
2017-12-22 07:17:25,366 : INFO : loading Dictionary object from ./data/data_output/trigram_dict_all.dict |
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
"eslintConfig": { | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"plugins": ["meteor", "react"], | |
"extends": [ | |
"airbnb", | |
"plugin:meteor/recommended", |
NewerOlder