plink --file <name-without-map-or-ped-ending> --linear \
--pheno <name(.pheno)> --pheno-name <column> --covar \
--covar-name <names-of-covariants,separated,by,commas> \
--out <output-file-name-root> \
--noweb \ # don't check for update of PLINK
[--qq-plot] \ # gives expected distribution of p-values
[--adjust] \ # has some different ways of calculating p-val
This file contains 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
This is a Gist File. | |
25 years of my life and STILL |
This file contains 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/share/puppet/modules/foo | |
/usr/share/puppet/modules/foo/manifests | |
/usr/share/puppet/modules/foo/manifests/init.pp | |
/usr/share/puppet/modules/foo/files | |
/usr/share/puppet/modules/foo/files/hello | |
/usr/share/puppet/masterless/foo.pp |
This file contains 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
\documentclass[12pt]{article} | |
\usepackage{amsmath,amsfonts,amssymb,amsthm} | |
\usepackage[pdftex]{graphicx} | |
\setlength{\pdfpagewidth}{8.5in} | |
\setlength{\pdfpageheight}{11in} | |
\setlength{\topmargin}{0.0in} | |
\setlength{\voffset}{0.0in} | |
\setlength{\headheight}{0.0in} |
This file contains 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
Tricks to add encrypted private SSH key to .travis.yml file | |
To encrypt the private SSH key into the "-secure: xxxxx....." lines to place in the .travis.yml file, generate a deploy key then run: (to see what the encrypted data looks like, see an example here: https://github.com/veewee-community/veewee-push/blob/486102e6f508214b04414074c921475e5943f682/.travis.yml#L21 | |
base64 --wrap=0 ~/.ssh/id_rsa > ~/.ssh/id_rsa_base64 | |
ENCRYPTION_FILTER="echo \$(echo \"-\")\$(travis encrypt veewee-community/veewee-push \"\$FILE='\`cat $FILE\`'\" | grep secure:)" | |
split --bytes=100 --numeric-suffixes --suffix-length=2 --filter="$ENCRYPTION_FILTER" ~/.ssh/id_rsa_base64 id_rsa_ | |
This file contains 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
(* Excercise 2.1 | |
* We proceed by induction. | |
* If 'lst' is an empty list, we simply return lst itself. | |
* If 'lst' is a non-empty list, we store the pointer to the tail of the list, | |
* plus any pointers stored by a recursive call to suffixes. | |
* [] | |
*) | |
let rec suffixes lst = | |
match lst with | |
[] -> lst |
This file contains 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
#!/bin/sh | |
# Main idea largely taken from http://stackoverflow.com/a/8410010/850326 | |
prefix="${HOME}/Software" # Another viable option: /opt/ | |
wget http://jruby.org.s3.amazonaws.com/downloads/1.7.12/jruby-bin-1.7.12.zip | |
unzip jruby-bin-1.7.12.zip | |
mkdir -p "${prefix}" | |
mv jruby-1.7.12 "${prefix}" | |
export PATH="${PATH}:${prefix}/jruby-1.17.12" |
Possible first-hack at the debian scripts for install-upgrade-configure: preinst
if [ "${1}" = "install" -a -z "${1}" ]
then
# "before install" goes here
elif [ "${1}" = "upgrade" -a -n "${2}" ]
then
upgradeVersion="${2}"
# "before upgrade" goes here
This file contains 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
;; Big thanks to Christophe Grand - https://groups.google.com/d/msg/clojure/L1GiqSyQVVg/m-WJogaqU8sJ | |
(defn scaffold [iface] | |
(doseq [[iface methods] (->> iface .getMethods | |
(map #(vector (.getName (.getDeclaringClass %)) | |
(symbol (.getName %)) | |
(count (.getParameterTypes %)))) | |
(group-by first))] | |
(println (str " " iface)) | |
(doseq [[_ name argcount] methods] | |
(println |
I hereby claim:
- I am djhaskin987 on github.
- I am djhaskin987 (https://keybase.io/djhaskin987) on keybase.
- I have a public key whose fingerprint is F54C FF73 1E7E 01C3 AE74 9B30 D62D AA3E 080E 17A9
To claim this, I am signing this object:
OlderNewer