-
- An Introduction: Composing Software: An Introduction – JavaScript Scene – Medium
-
- The Rise and Fall of Functional Programming: The Rise and Fall and Rise of Functional Programming (Composing Software)
-
- Why Learn Functional Programming in JavaScript?: Why Learn Functional Programming in JavaScript? (Composing Software)
-
- A Functional Programmer’s Introduction to JavScript: A Functional Programmer’s Introduction to JavaScript (Composing Software)
-
- Higher Order Functions: [Higher Order Functions (Compos
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 scope = {}; | |
function def(id, fn) { | |
scope[id] = fn; | |
} | |
function explode(id) { | |
return scope[id] ? [id] : id.split('\u200d'); | |
} | |
function getFns(id) { | |
return explode(id).map(function(ii) { | |
if (!scope[ii]) |
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
/** | |
* we are going to upload file to s3 via node js by using | |
* aws-sdk - required | |
* busboy - required | |
* uuid - optional - for image renaming purpose | |
* with this library you can upload any kind of file to s3 via node js. | |
*/ | |
const AWS = require('aws-sdk'); | |
const UUID = require('uuid/v4'); |
See also:
The bash has three default file descriptors for each process:
OlderNewer