start new:
tmux
start new with session name:
tmux new -s myname
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
function f() { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
conda list | tr -s ' ' | cut -d ' ' -f1 | uniq -c | awk '$1>1' |
# distutils: extra_compile_args = -O2 -w | |
# cython: boundscheck=False, nonecheck = False, wraparound=False, cdivision=True | |
import numpy as np | |
cimport numpy as np | |
import operator as op | |
from cython.parallel import prange | |
from cython import boundscheck, nonecheck, wraparound |