Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"abacus"
"accordion"
"acorn"
"acrobat"
"adult"
"adult_cat"
"agriculture"
"aircraft"
"airplane"
"airport"
@mikeparisstuff
mikeparisstuff / .leptonrc
Last active April 17, 2020 17:36
[.leptonrc] #config
{
"theme": "dark",
"snippet": {
"expanded": true,
"newSnippetPrivate": true,
"sorting": "updated_at",
"sortingReverse": true
},
"editor" : {
"tabSize": 4
@mikeparisstuff
mikeparisstuff / compose.js
Last active May 12, 2017 03:35
A simple functional compose implementation in javascript.
export function compose(...funcs: Array<(...args: Array<any>) => any>) {
if (funcs.length === 0) {
return (arg: any) => arg;
}
if (funcs.length === 1) {
return funcs[0];
}
const last = funcs[funcs.length - 1];