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
@mafintosh │ JSON_voorhees: i put in env.USERPROFILE + .conf.rc on win |
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
function Life (seed) { | |
if (!(this instanceof Life)) { | |
return new Life(seed) | |
} | |
this.seed = seed | |
this.height = seed.length | |
this.width = seed[0].length | |
this.prevBoard = [] | |
this.board = cloneArray(seed) | |
} |
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
$ ssh-keygen -t ed25519 | |
http://ed25519.cr.yp.to/ |
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
{ | |
"scripts": { | |
"build": "babel index.js --out-dir dist --source-map", | |
"prepublish": "npm run build", | |
"test": "standard index.js && npm run build && tap test/*.js" | |
} | |
} |
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
clang: warning: no such sysroot directory: '' | |
clang: warning: no such sysroot directory: '' | |
creating ./icu_config.gypi | |
{ 'target_defaults': { 'cflags': [], | |
'default_configuration': 'Release', | |
'defines': [], | |
'include_dirs': [], | |
'libraries': []}, | |
'variables': { 'asan': 0, | |
'host_arch': 'x64', |
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
# based on script from here: | |
# https://help.github.com/articles/working-with-ssh-key-passphrases#platform-windows | |
# https://github.com/lukesampson/pshazz/blob/41f5c7b832acf862a12cf4630bbe88e6e12f6e6e/plugins/ssh.ps1 | |
# Note: ~/.ssh/environment should not be used, as it | |
# already has a different purpose in SSH. | |
env=~/.ssh/agent.env | |
# Note: Don't bother checking SSH_AGENT_PID. It's not used |
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
var path = require('path') | |
function requireCss (module) { | |
var packagejson = module + '/package.json' | |
var pathName = path.dirname(require.resolve(packagejson)) | |
var stylePath = require(packagejson).style | |
var style = path.join(pathName, stylePath) | |
return { | |
style: style, | |
path: path.dirname(style) |
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
# Put in /etc/systemd/system or ~/.config/systemd/user/ if running with --user flag | |
[Unit] | |
Description=Example Node Systemd Service | |
[Service] | |
ExecStart=/usr/local/bin/node /home/project-folder/server.js | |
Restart=always | |
StandardOutput=syslog | |
SyslogIdentifier=logid |
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
╭━━━┳━━━┳━━┳━━━╮ | |
┃╭━╮┃╭━╮┣┫┣┻╮╭╮┃ | |
┃┃╱┃┃┃╱╰╯┃┃╱┃┃┃┃ | |
┃╰━╯┃┃╱╭╮┃┃╱┃┃┃┃ | |
┃╭━╮┃╰━╯┣┫┣┳╯╰╯┃ | |
╰╯╱╰┻━━━┻━━┻━━━╯ |
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
echo dropping $1 | |
sudo iptables -I INPUT -s $1 -j DROP |