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
[ | |
"fticons", | |
"o-assets", | |
"o-autoinit", | |
"o-banner", | |
"o-brand", | |
"o-buttons", | |
"o-colors", | |
"o-cookie-message", | |
"o-date", |
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
module.exports.squonge = function squonge (squimple) { | |
return `squonge squonge squonge squonge squonge ${squimple}` | |
} |
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
#!/usr/bin/env node | |
function big (str) { | |
return Array.from(str, letter => letter == ' ' ? ':blank:' : ':b' + letter + ':').join('') | |
} | |
function goomba(str) { | |
const goomba = ':goomba:'; | |
return goomba.repeat(str.length+2) + '\n' + goomba + big(str) + goomba + '\n' + goomba.repeat(str.length+2); | |
} |
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
export default (...functions) => (...args) => | |
functions | |
.slice(0, -1) | |
.reduceRight( | |
(result, fn) => fn(result), | |
functions[functions.length - 1](...args) | |
) |
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
{ | |
"name": "honk", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "chee <[email protected]>", |
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
{ | |
"name": "relyonversion1", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "chee <[email protected]>", |
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
{ | |
"name": "relyonversion2", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "chee <[email protected]>", |
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
{ | |
"name": "dep1", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"install": "[ $(pwd | grep node_modules -o | wc -l) == 1 ] || (echo i am conflicted please help && exit 22)" | |
}, | |
"keywords": [], | |
"author": "chee <[email protected]>", |
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
{ | |
"name": "dep1", | |
"version": "2.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"install": "[ $(pwd | grep node_modules -o | wc -l) == 1 ] || (echo i am conflicted please help && exit 22)" | |
}, | |
"keywords": [], | |
"author": "chee <[email protected]>", |
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
function deconstructor({words, number, base}) { | |
const which = Math.log(number) / Math.log(base) | 0 | |
const amount = Math.pow(base, which) | |
const prefix = number / amount | 0 | |
const round = amount * prefix | |
return { | |
number: prefix, | |
remainder: number - round, | |
word: words[which] | |
} |