(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
:
# enable ES6 | |
parserOptions: | |
ecmaVersion: 6 | |
sourceType: "module" | |
ecmaFeatures: | |
jsx: true # enable React's JSX | |
# register plugins | |
plugins: | |
- meteor |
#! /usr/bin/env python | |
""" | |
Pandoc filter to convert svg files to pdf as suggested at: | |
https://github.com/jgm/pandoc/issues/265#issuecomment-27317316 | |
""" | |
__author__ = "Jerome Robert" | |
import mimetypes | |
import subprocess |
def Fletcher16(string): | |
a = map(ord,string) | |
b = [sum(a[:i])%255 for i in range(len(a)+1)] | |
return (sum(b) << 8) | max(b) | |
def Fletcher32(string): | |
a = map(ord,string) | |
b = [sum(a[:i])%65535 for i in range(len(a)+1)] | |
return (sum(b) << 16) | max(b) | |
def Fletcher64(string): | |
a = map(ord,string) |