I hereby claim:
- I am zanedeg on github.
- I am zanedeg (https://keybase.io/zanedeg) on keybase.
- I have a public key whose fingerprint is 8B45 4B11 5008 56B4 ACA6 D56C B35F FB0F CCBD 3567
To claim this, I am signing this object:
| 'use strict'; | |
| const promisify = require('util').promisify; | |
| const delay = (interval, cb) => { | |
| console.log(`Waiting ${interval}s`); | |
| setTimeout(() => cb(null, interval), interval); | |
| } | |
| const delayAsync = promisify(delay); |
| // npm install mongodb | |
| // node json_dump.js | |
| var fs = require('fs'); | |
| var mongo = require('mongodb').MongoClient; | |
| var ObjectID = require('mongodb').ObjectID | |
| var config = { | |
| user: "", | |
| password: "", |
| function fizzbuzz(str, next) { | |
| var iterVal = next % 3 === 0 ? 'Fizz' : ''; | |
| iterVal += next % 5 === 0 ? 'Buzz' : ''; | |
| str += iterVal ? iterVal : next; | |
| return next > 99 ? str : fizzbuzz(str + ',', next + 1); | |
| } | |
| console.log(fizzbuzz("",1)); |
| docker rm $(docker ps -a -q) |
I hereby claim:
To claim this, I am signing this object:
| # font: https://github.com/tonsky/FiraCode | |
| # theme: Base16 Eighties | |
| local usr='%F{grey}%n%f' | |
| local dir='%F{blue}%~%f' | |
| local git='$(git_prompt_info)%f' | |
| PROMPT="╭─ ${usr} ${dir} ${git} | |
| ╰─%B$%b " |
| ssh-keygen -q -t rsa -f ~/.ssh/[keyname -N '' -C [keyname] | |
| aws ec2 import-key-pair --key-name [keyname] --public-key-material file://~/.ssh/[keyname].pub | |
| # Stolen from https://github.com/deis/deis/tree/master/contrib/ec2 |