Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Michael Penhallegon howaboutudance

🎯
Focusing
Block or report user

Report or block howaboutudance

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View dilly.py
import json
json_file = json.load(open("temp.json"))
result = "" # resulting string
for x in json_file["files"]:# "files" for key value that is assigned to
# the file array
chapter_file = open(x)
result += chapter_file.read()
View PGP Public KEy
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFmsrRABEADfhJUzy9uR8y7YZK2LIsBmk/GnAoOKbHsIObNFmjeg7tqtqY+1
eUsEKRO/n94YHQUhVyYKZfw2aUvQc2r3AAPTmH2Waqijm1VyszJ9uOummwQkUVC7
+3u79EPF1p5vrDCsTDRRJQEOqPXtlFRKRhumypYD1O2EIB67gXA4MQYSnFGdPjzG
qns8NYTOH/z1hLmEuj0VIcWPdoyfmCh+PaGYNS6TalzOs5Zy1tHLtle69x+b3e0R
hkgqoGVKvFX2m5xCTTunxym5YP/nbnI/Yw8fuVdDvhOJ126RSusZ83K4EaHp/B6N
NyIR9HSRIW7J2r+pZtIRFi1kzoDjgw6ZIxwt+FfP2LVZKM/jfvozHATCX6mVsrLf
kyOpGuYAlAz2MSlzo/u8R6I+icuPRZH9Q5rAgx34+fNu/vsCeYmNF/Qlx1lG3dSj
PfTVZxcU4fCEbS95VZtMiGx+3OjQMD0pCyzFSAPVWWUov8duWR5UOX9JFiCD/TZy
View gist:aa3f3e0678a560992e9997668e6481cd
### Keybase proof
I hereby claim:
* I am howaboutudance on github.
* I am mpenhall (https://keybase.io/mpenhall) on keybase.
* I have a public key ASAcJqLxvBhkij5eTnkzFrYG-Uua56lcQWErBIDXNdk2Two
To claim this, I am signing this object:
@howaboutudance
howaboutudance / update_query_example.R
Last active Jun 13, 2019
An example of R code to generate a update query string
View update_query_example.R
library(dplyr)
library(purrr)
#' generate a string for updating qc status table
#'
#' a qc status table is expect (at minimum) to have fields:
#' - sample -- the accession number (unique identitfier of sample by vendor)
#' - panel -- the test panel run on the sample
#' - qc_failed -- a qc status integer corresponding to 0-5 statuses (found on a lookup table)
#'
You can’t perform that action at this time.