Skip to content

Instantly share code, notes, and snippets.

View jrdemasi's full-sized avatar

Jonathan DeMasi jrdemasi

View GitHub Profile
#!/usr/bin/env python3
import time
from multiprocessing import Process, Value
def func(val):
while True:
val.value = time.monotonic()
def printer(val):
@jrdemasi
jrdemasi / install_bioconda
Created November 26, 2018 21:36
Brief instructions for installing bioconda on top of miniconda3
cd $HOME
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash $HOME/Miniconda3-latest-Linux-x86_64.sh
(Follow the prompts to install miniconda3 in the default location)
. $HOME/miniconda3/bin/activate
(Your prompt should change to indicate you're in the base of a miniconda3 env)
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda install porechop

Keybase proof

I hereby claim:

  • I am jrdemasi on github.
  • I am jrdemasi (https://keybase.io/jrdemasi) on keybase.
  • I have a public key ASBBQ_UflKyqOs_FxSQcvRpFkD4aUFimzskxOMoQfuTy-Qo

To claim this, I am signing this object: