source rust.sh
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
'use strict' | |
const assert = require('assert') | |
function words (text) { | |
return text.split(/\s+/) | |
} | |
function reverse (list) { | |
return list.reverse() |
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
'use strict' | |
const all = require('promise-all') | |
const got = require('got') | |
const map = require('arraymap') | |
const mapcat = require('array-mapcat') | |
const pipe = require('function-pipeline') | |
const selectn = require('selectn') | |
const unique = require('array-unique') |
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
'use strict' | |
var sum = require('lodash').sum | |
var threads = [ | |
{ | |
id: '1ad2a01b-209f-4216-85fb-a04c67655472', | |
subject: 'My Coverage & Benefits', | |
latestMessageId: '0dbae0cc-0a81-4376-9b99-9d4ac4d829c6', | |
unreadCount: 1, | |
messageCount: 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
'use strict' | |
var selectn = require('selectn') | |
var first = require('array-head') | |
function json (response) { | |
return response.json() | |
} | |
fetch('https://api.github.com/gists/public') |
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
class NodejsInstall < Formula | |
desc "Installs pre-compiled NodeJS binaries while avoiding sudo or chown" | |
homepage "https://github.com/wilmoore/nodejs-install" | |
url "https://github.com/wilmoore/nodejs-install/archive/1.0.0.tar.gz" | |
sha256 "5ce90a3398884d55a891e0e1a889ee46a8aa41e48cd700b4a9b34c6c74de78ef" | |
head "https://github.com/wilmoore/nodejs-install.git" | |
def install | |
prefix.install "bin" | |
end |
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
'use strict' | |
/*! | |
* imports. | |
*/ | |
const selectn = require('selectn') | |
/*! | |
* mock functions. |
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
'use strict' | |
/*! | |
* imports. | |
*/ | |
var assert = require('assert') | |
/*! | |
* tests. |
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
'use strict' | |
/*! | |
* exports. | |
*/ | |
module.exports = initialize | |
/*! | |
* object initialization. |
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
//artifactory.example.com/artifactory/api/npm/npm-local/:_password=***** | |
//artifactory.example.com/artifactory/api/npm/npm-local/:username=scott | |
//artifactory.example.com/artifactory/api/npm/npm-local/:[email protected] | |
//artifactory.example.com/artifactory/api/npm/npm-local/:always-auth=true | |
//artifactory.example.com/artifactory/api/npm/npm-virtual/:_password=***** | |
//artifactory.example.com/artifactory/api/npm/npm-virtual/:username=scott | |
//artifactory.example.com/artifactory/api/npm/npm-virtual/:[email protected] | |
//artifactory.example.com/artifactory/api/npm/npm-virtual/:always-auth=true |