Held by Balázs Suhajda and Glenn Jorde in Malmö 2015-02-21 @ FooCafe. Sponsored by tretton37.
Permalink here: http://bit.ly/polymer-malmo
- Agenda @ suhajdab.github.io
- Polymer element basics @ www.polymer-project.org
Held by Balázs Suhajda and Glenn Jorde in Malmö 2015-02-21 @ FooCafe. Sponsored by tretton37.
Permalink here: http://bit.ly/polymer-malmo
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
// array utils | |
// ================================================================================================= | |
const combine = (...arrays) => [].concat(...arrays); | |
const compact = arr => arr.filter(Boolean); | |
const contains = (() => Array.prototype.includes | |
? (arr, value) => arr.includes(value) | |
: (arr, value) => arr.some(el => el === value) |
Install Redis RDB Tools from here:
Take a snapshot of each redis db
$ redis-cli save
Copy the snapshots to somewhere else
$ cp ~/dump.rdb ./dump-a.rdb
# npm publish with goodies | |
# prerequisite: `npm install -g trash` | |
# `np` with an optional argument `patch`/`minor`/`major`/`<version>` | |
# defaults to `patch` | |
np() { | |
trash node_modules &>/dev/null; | |
git pull --rebase && | |
npm install && | |
npm test && | |
npm version ${1:-patch} && |