(By Jeroen Laros.)
Go to the Python website. In the Downloads tab, click the Python 2.7.9
import math | |
from matplotlib import rcParams | |
def configure(document_fontsize=14.4, available_width=307.28987): | |
""" | |
Configures Matplotlib so saved figures can be used in LaTeX documents. | |
Uses the sans-serif TeX Gyre Heros font (Helvetica), also for math. |
/* | |
* Hide comments on Losse Veter (losseveter.nl) | |
* | |
* Most of the user comments on Losse Veter are either racist or zealot | |
* epistels about doping. With this Firefox setting, you can enjoy just | |
* the track and field news. | |
* | |
* Edit this file and copy it as userContent.css into your Firefox | |
* profile-directory/chrome/ | |
*/ |
#!/bin/bash | |
# Fix curl/gnutls SSLv3 on Ubuntu 14.04 | |
# | |
# The curl version on Ubuntu 14.04 Trusty Tahr has a bug (through gnutls) in | |
# its SSLv3 support. This also affects git. | |
# | |
# http://sourceforge.net/p/curl/bugs/1319/ | |
# | |
# This downgrades curl to 7.32 (from Ubuntu 13.12), which does not have the | |
# bug. It also uninstalls the landscape-client and python-pycurl packages |
#!/bin/bash | |
# Limit directory size by deleting files accessed least recently. | |
# | |
# Use inotify to wait for files written to the specified directory. On such an | |
# event, and if the directory size is over the specified maximum size, keep | |
# deleting files until the size is below the maximum. Repeat (so, never exit). | |
# | |
# Names of deleted files are written to stdout, messages are prefixed with the | |
# string ">>>". | |
# |
.ipynb_checkpoints | |
*.fa | |
[abcde].k1 | |
[abcde].k2 | |
[abcde].k3 | |
[abcde].k4 | |
[abcde].k5 | |
[abcde].k6 | |
[abcde].k7 |
(By Jeroen Laros.)
Go to the Python website. In the Downloads tab, click the Python 2.7.9
Just some Emacs things that I cannot seem to remember without writing them down. I'm an Emacs newbie (but have been using it for 15 years).
These are random and specific to my setup, so probably not useful to anyone else.
Config can be found here: https://github.com/martijnvermaat/dotfiles
Download a dbSNP database from the UCSC as a CSV file: http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/
For example:
wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/snp137Common.txt.gz
Note that the chromStart
column values are 0-based.