As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
The following assumes you are converting BCL files containing PE100 reads with a 10 nt index read. You can allow Casava to demultiplex for you or do it on your own, later. You can adjust values below if you are doing something different (e.g. shorter reads, longer indexes) but be careful.
A warning occurred (42 apples) | |
An error occurred |
rsync (Everyone seems to like -z, but it is much slower for me)
#!/bin/bash | |
# Open current directory in forklift | |
# Adapted from https://gist.github.com/elentok/6218781 | |
# Adapted from comment https://gist.github.com/elentok/6218781#comment-891115 | |
# Added optional path argument and removed using the clipboard buffer. | |
set -e | |
if [ -z "$@" ]; then |
'''Visualization of Satoshi's BuildMerkleTree for issue #4926. | |
Usage: merkle.py <num> | |
''' | |
from __future__ import print_function, division | |
import itertools | |
def build_merkle_tree(num): | |
'''Build a Merkle tree according to Satoshi''' | |
vtx = [('%2i'%(x+1)) for x in range(num)] |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Block Cypher</title> | |
<!-- Bootstrap --> | |
<link href="css/bootstrap.css" rel="stylesheet"> |
You are in the wrong place | |
You aren't going to find what you came for | |
You might as well go home | |
You aren't going to get rich here | |
Because the revolution will not be monetized | |
The revolution will not have a multi-billion dollar addressable market | |
The revolution will not follow a freemium business model | |
The revolution will not come free to play | |
The revolution will not enroll in YCombinator |
#!usr/bin/env python | |
import random | |
def main(): | |
wordFile = open("wordList.txt", "r") | |
words = wordFile.readlines()[2:] | |
wordFile.close() | |
print(random.choice(words).rstrip()) |
#!/usr/bin/python | |
# run the script: python git-find-big-files.py <the branch> <file size> | |
# Example use: python git-find-big-files.py fix-remove-files 1000000 (this value equals 1 Megabyte) | |
# the Fix-remove-files specifies the branch that you are cleaning | |
import os, sys | |
def getOutput(cmd): | |
return os.popen(cmd).read() |