This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
epstool --copy --bbox $1.eps $1.bb.eps | |
rm $1.eps | |
mv $1.bb.eps $1.eps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
du -hs * | sort -h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Thanks to Niklas Jahnsson for putting this together. | |
# | |
# Replace: %s:bmc_article:<filename>:g | |
### | |
bmc_article.pdf: bmc_article.tex | |
pdflatex bmc_article | |
toc: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
# | |
# Converts Markdown to other formats (HTML, PDF) using Pandoc | |
# <http://johnmacfarlane.net/pandoc/> | |
# | |
# Run "make" (or "make all") to convert to all other formats | |
# | |
# Run "make clean" to delete converted files | |
# | |
# Adapted from: https://gist.github.com/kristopherjohnson/7466917 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Lines to add to .bashrc | |
# for the OpenBLAS library | |
export LD_LIBRARY_PATH=/path/to/OpenBLAS:$LD_LIBRARY_PATH | |
export BLAS=/path/to/libopenblas.a | |
export ATLAS=/path/to/libopenblas.a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%load_ext autoreload | |
%autoreload 2 | |
%matplotlib inline | |
from argparse import Namespace | |
import misc.logging_utils as logging_utils | |
args = Namespace() | |
logger = logging_utils.get_ipython_logger() |
NewerOlder