Anthony@Boyles.cc (617) 935-5515 AABoyles.com
Work Experience
| library("RPostgreSQL") | |
| con <- dbConnect(dbDriver("PostgreSQL"), | |
| host="your database's host", | |
| port="5432", | |
| user="your database's username", | |
| password="your database's password", | |
| dbname="your database's name") |
| #!/usr/bin/env bash | |
| ## Deprecated. See instead: https://github.com/AABoyles/dotfiles/blob/master/bootstrap.sh | |
| ## Make sure we get the latest stable release of R. | |
| echo 'deb https://cran.rstudio.com/bin/linux/ubuntu xenial/' >> /etc/apt/sources.list | |
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | |
| sudo apt-get update |
Anthony@Boyles.cc (617) 935-5515 AABoyles.com
Work Experience
| #!/bin/bash | |
| # Dependencies: tesseract-ocr imagemagick scrot xsel | |
| SCR_IMG=`mktemp` | |
| trap "rm $SCR_IMG*" EXIT | |
| scrot -s $SCR_IMG.png | |
| mogrify -modulate 100,0 -resize 400% $SCR_IMG.png #should increase detection rate | |
| tesseract $SCR_IMG.png $SCR_IMG &> /dev/null | |
| cat $SCR_IMG.txt | xsel -bi |
| import random | |
| exclusive = 0 | |
| def bad(thing_name, chance): | |
| x = random.random() | |
| if x < chance: | |
| print (thing_name) | |
| if thing_name in ("The person is in prison", "The person is on probation", "The person is in a nursing home", "The person is unemployed"): | |
| exclusive = 1 | |
| #!/usr/bin/env bash | |
| # Dependencies: tesseract-ocr imagemagick scrot xsel | |
| SCR_IMG=`mktemp` | |
| trap "rm $SCR_IMG*" EXIT | |
| scrot -s $SCR_IMG.png | |
| mogrify -modulate 100,0 -resize 400% $SCR_IMG.png #should increase detection rate | |
| tesseract $SCR_IMG.png $SCR_IMG &> /dev/null | |
| cat $SCR_IMG.txt | xsel -bi |
I hereby claim:
To claim this, I am signing this object:
| library(readr) | |
| library(dplyr) | |
| nominees <- read_csv("https://docs.google.com/spreadsheets/d/1xsjTL6DbfEyR57MoZD3lIG8tTU-yblRA9ehQuaoj9Wg/pub?gid=0&single=true&output=csv") | |
| confirmations <- nominees %>% | |
| filter(Result == "confirmed") | |
| longConfirmations <- confirmations %>% | |
| filter(Days > 62) |
| #!/bin/bash | |
| # Step 1: Download Node | |
| curl https://nodejs.org/dist/v10.0.0/node-v10.0.0-darwin-x64.tar.gz | tar -xz | |
| # Step 2: Install Node | |
| export PATH=/Users/`whoami`/node-v10.0.0-darwin-x64/bin:$PATH | |
| # Step 3: Download MicrobeTrace | |
| git clone https://github.com/CDCgov/MicrobeTRACE.git && cd MicrobeTrace |
| <html> | |
| <head> | |
| <style> | |
| html, body { | |
| height: 100%; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <script src="https://d3js.org/d3.v5.min.js"></script> |