(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
[package] | |
name = "vec" | |
version = "0.1.0" | |
authors = ["Frederik De Bleser <frederik@debleser.be>"] | |
[lib] | |
name = "vec" | |
crate-type = ["dylib"] | |
[dependencies] |
import pandas as pd | |
from matplotlib import pyplot as plt | |
import matplotlib as mpl | |
import seaborn as sns | |
%matplotlib inline | |
#Read in data & create total column | |
stacked_bar_data = pd.read_csv("C:\stacked_bar.csv") | |
stacked_bar_data["total"] = stacked_bar_data.Series1 + stacked_bar_data.Series2 |
var Mocha = require('mocha'); | |
var mocha = new Mocha({reporter: 'spec', ui: 'bdd'}); | |
function run_tests(cb) { | |
mocha.addFile('./test/foo.unit.js'); | |
mocha.run(function(failures) { | |
cb(failures); | |
}); | |
} |
# Specify where our binaries are (I'm using package.json and npm to handle dependencies) | |
LESSC = node_modules/.bin/lessc | |
UGLIFYJS = node_modules/.bin/uglifyjs | |
# Our LESS input file(s) | |
LESS = css/base.less | |
# Our CSS list (replaces .less with .css in the list) | |
CSS = $(LESS:.less=.css) |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
[unix_http_server] | |
file=/tmp/supervisor.sock ; path to your socket file | |
[supervisord] | |
logfile=/var/log/supervisord/supervisord.log ; supervisord log file | |
logfile_maxbytes=50MB ; maximum size of logfile before rotation | |
logfile_backups=10 ; number of backed up logfiles | |
loglevel=error ; info, debug, warn, trace | |
pidfile=/var/run/supervisord.pid ; pidfile location | |
nodaemon=false ; run supervisord as a daemon |