This file contains hidden or 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
Show hidden characters
{ | |
"installed_packages": | |
[ | |
"Babel", | |
"EditorConfig", | |
"Emmet", | |
"Git", | |
"HTML-CSS-JS Prettify", | |
"Oceanic Next Color Scheme", | |
"Package Control", |
This file contains hidden or 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
// http://stackoverflow.com/a/12287599 | |
function getPrimes(max) { | |
var sieve = [], i, j, primes = []; | |
for (i = 2; i <= max; ++i) { | |
if (!sieve[i]) { | |
// i has not been marked -- it is prime | |
primes.push(i); | |
for (j = i << 1; j <= max; j += i) { | |
sieve[j] = true; | |
} |
This file contains hidden or 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
// input string | |
var originString = [ | |
"st->io", | |
"io->cond", | |
"cond(yes)->op1", | |
"cond(no)->op2", | |
"op1->sop1", | |
"op2->sop2", | |
"sop1->io1", | |
"sop2->io2", |
NewerOlder