start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| Asymmetric Encryption Sample in Node.js: Encrypt and Decrypt using Password as a key(SECRET_KEY) | |
| Algorithm: des-ede3-cbc (Three key Triple-DES EDE in CBC mode) | |
| [email protected] | |
| @thepumpkin | |
| */ | |
| var assert = require('assert') | |
| var crypto = require('crypto') | |
| var Buffer = require('buffer').Buffer |
| license: gpl-3.0 | |
| height: 600 | |
| redirect: https://observablehq.com/@d3/d3-force-directed-graph |
| form i.icon.error { | |
| color: $assertive; | |
| } | |
| form input + i.icon.error { | |
| display: none; | |
| margin-left: 8px; | |
| } | |
| form.ng-submitted input.ng-invalid + i.icon.error { |
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html | |
#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
| #time "on" | |
| #load "Bootstrap.fsx" | |
| open System | |
| open Akka.Actor | |
| open Akka.Configuration | |
| open Akka.FSharp | |
| open Akka.TestKit | |
| // #Using Actor |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |