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
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
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
| const exec = require('child_process').exec; | |
| var cmds = [ | |
| 'mkdir supermega', | |
| 'echo supermega created', | |
| 'cd supermega && mkdir wildfowl-01 wildfowl-02 wildfowl-03']; | |
| (async function(){ | |
| let heap = []; | |
| cmds.forEach((item, i) => { |
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 bind(method, context) { | |
| var args = Array.prototype.slice.call(arguments, 2); | |
| return function() { | |
| var a = args.concat(Array.prototype.slice.call(arguments, 0)); | |
| return method.apply(context, a); | |
| } | |
| } | |
| function Man(name){ | |
| this.name = name; |
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
| var fs = require('fs'), | |
| async = require('async'), | |
| csv = require('csv'); | |
| var input = fs.createReadStream(filename); | |
| var parser = csv.parse({ | |
| columns: true, | |
| relax: true | |
| }); | |