I hereby claim:
- I am matsen on github.
- I am ematsen (https://keybase.io/ematsen) on keybase.
- I have a public key whose fingerprint is BEE5 925E E22C 76C3 EC0D 4074 319F C81F 9510 3B94
To claim this, I am signing this object:
from SCons.Script import VariantDir, Environment, \ | |
Builder, Depends, Flatten | |
import os | |
VariantDir('_build', src_dir='.') | |
env = Environment(ENV=os.environ) | |
inkscape = Builder(action = 'inkscape --without-gui --export-pdf=$TARGET $SOURCE') | |
env['BUILDERS']['Inkscape'] = inkscape | |
env['BUILDERS']['Latexdiff'] = Builder(action = 'latexdiff $SOURCES > $TARGET') |
\documentclass{amsart} | |
\usepackage[round]{natbib} | |
\usepackage{graphicx} | |
\usepackage[notref,notcite]{showkeys} | |
\usepackage{url} | |
% in case of supplementary material | |
% \usepackage{xr} | |
% \externaldocument{lcfit_supp} |
#!/bin/sh | |
# Convert all arguments (assumed SVG) to a TIFF acceptable to PLOS | |
# Requires Inkscape and ImageMagick 6.8 (doesn't work with 6.6.9) | |
for i in $@; do | |
BN=$(basename $i .svg) | |
inkscape --without-gui --export-png="$BN.png" --export-dpi 300 $i | |
convert -compress LZW -alpha remove $BN.png $BN.tiff | |
mogrify -alpha off $BN.tiff |
#!/bin/sh | |
set -e | |
set -o | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y \ | |
autojump \ |
%%For arXiv, uncomment this block and comment the next block. | |
%\documentclass{amsart} | |
%\usepackage{amsmath,amsfonts,amssymb,amsthm} | |
%\usepackage[english]{babel} | |
%\usepackage{graphicx} | |
%\usepackage{url} | |
%\usepackage[round]{natbib} | |
%\newcommand{\forarxiv}[1]{#1} | |
%\newcommand{\notforarxiv}[1]{} |
I hereby claim:
To claim this, I am signing this object:
Many good things are happening in open source and industry, and we face many of the same issues that they do. For example, GitHub has provided enormous value to science, both through filling a need and by direct engagement. It has gotten almost unbelievably popular in the computational life sciences. However, other tools such as continuous integration, for example by Travis CI, or containers, for example by Docker, have gotten less traction despite the
#!/bin/sh | |
# sudo visudo | |
# matsen ALL = (root) NOPASSWD: /usr/local/bin/xiwi,/usr/bin/evince,/usr/bin/inkscape | |
set -e | |
set -o | |
sudo hostnamectl set-hostname flyx |
nb2md
script below in your path and make executable.gitattributes
file, which can be in your home directory (use nb2md
for all projects) or in the root of your project:*.ipynb diff=nb2md
# A modification of `gallifrey` to show virtualenv information. | |
# I also found the return code information to be annoying, so it's commented out. | |
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
PROMPT='%{$fg[green]%}%m%{$reset_color%} $(virtualenv_prompt_info)%2~ $(git_prompt_info)%{$reset_color%}%B»%b ' | |
#RPS1="${return_code}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" |