I hereby claim:
- I am mbreese on github.
- I am mbreese (https://keybase.io/mbreese) on keybase.
- I have a public key ASCjOVAWFXFGWcm-XDsTCHs1XARvuKNQVDgozMYNNSPC9Ao
To claim this, I am signing this object:
package io.compgen.ngsutils.support; | |
import sun.misc.Signal; | |
import sun.misc.SignalHandler; | |
abstract public class CustomSignalHandler implements SignalHandler { | |
private SignalHandler old = null; | |
private void setOld(SignalHandler old) { |
javascript:function sendurl_to_memos(url,data){let xhr=new XMLHttpRequest();xhr.open("POST", url, true);xhr.setRequestHeader("Content-Type", "application/json");xhr.onreadystatechange=function(){if (xhr.readyState === 4) { if (xhr.status === 200) {alert("Saved!");}else{alert(xhr.readyState+"\n"+xhr.status+" error: "+this.responseText);}}};xhr.send(JSON.stringify(data));};sendurl_to_memos('$$OPENID_URL$$', {"content": document.title+"\n"+window.location.href+"\n#link"}); |
#!/bin/bash | |
COLS="$(tput cols)" | |
while read LINE; do | |
echo $LINE | head -c $COLS | |
done |
#!/bin/bash | |
# | |
# This will by default take snapshots of all zfs filesystems, | |
# but could be adapted to only pull specific ones. This script | |
# will also rotate snapshots, removing those that are older | |
# than 2 weeks. | |
# | |
CURDATE=$(date +%Y%m%d) | |
TWOWEEKSAGO=$(date -d'2 weeks ago' +%Y%m%d) |
#!/usr/bin/env python | |
import sys | |
import datetime | |
rate = 100000 | |
if len(sys.argv) > 1: | |
rate = int(sys.argv[1]) |
#!/usr/bin/env python | |
import sys | |
import itertools | |
cons_key = "VEP_Consequence" | |
impact_key = "VEP_IMPACT" | |
gene_key = "VEP_SYMBOL" | |
csn_key = "VEP_CSN" | |
sift_key = "VEP_SIFT" |
#!/usr/bin/env python | |
import sys | |
prefix="VEP_" | |
vep_info_name = "CSQ" | |
def parse_info_format(line): | |
###INFO=<ID=CSQ,Number=.,Type=String,Description="Consequence annotations from Ensembl VEP. Format: Allele|Consequence|IMPACT|SYMBOL|Gene|Feature_type|..."> |
CREATE ROLE db_user LOGIN ENCRYPTED PASSWORD 'secret-password' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION; | |
CREATE DATABASE db_name WITH OWNER db_user; | |
GRANT ALL PRIVILEGES ON DATABASE db_name TO db_user; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
TARGETDIR=$1 | |
if [ "$TARGETDIR" = "" ]; then | |
TARGETDIR=$(python -c 'import os; print os.path.realpath("local")') | |
fi | |
mkdir -p $TARGETDIR | |
libevent() { | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
tar -zxvf libevent-2.0.22-stable.tar.gz |