Skip to content

Instantly share code, notes, and snippets.

Jeff Stafford jstaf

Block or report user

Report or block jstaf

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 Pandoc in a CentOS 6 Docker container.md

Give me back my sanity

One of the many things I do for my group at work is to take care of automating as many things as possible. It usually brings me a lot of satisfaction, mostly because I get a kick out of making people's lives easier.

But sometimes, maybe too often, I end up in drawn-out struggles with machines and programs. And sometimes, these struggles bring me to the edge of despair, so much so that I regularly consider living on a computer-less island growing vegetables for a living.

This is the story of how I had to install Pandoc in a CentOS 6 Docker container. But more generally, this is the story of how I think computing is inherently broken, how programmers (myself included) tend to think that their way is the way, how we're ultimately replicating what most of us think is wrong with society, building upon layers and layers of (best-case scenario) obscure and/or weak foundations.

*I would like to extend my gratitude to Google, StackOverflow, GitHub issues but mostly, the people who make the

@jstaf
jstaf / ggplot2_tutorial_complete.R
Created May 20, 2015
ggplot2 Tutorial Script - May 19th (with answers)
View ggplot2_tutorial_complete.R
# ggplot2 is a plotting framework that is (relatively) easy to use, powerful,
# AND it looks good.
# Jeff Stafford
library(ggplot2)
# Load the example data
data <- msleep
str(data)
@jstaf
jstaf / ggplot2_tutorial.R
Created May 19, 2015
ggplot2 Tutorial Script - May 19th
View ggplot2_tutorial.R
# ggplot2 is a plotting framework that is (relatively) easy to use, powerful,
# AND it looks good.
# Jeff Stafford
library(ggplot2)
# Load the example data
data <- msleep
str(data)
View biomaRt_tutorial.R
# biomaRt is a data mining tool that allows you extract massive amounts of data
# from online databases with minimal effort.
# This tutorial will use biomaRt to find the average distance between
# transcription factor binding sites and the genes they are known to act on in
# Drosophila (let's say we want to know how large an area we need to search
# up/down from a gene while looking for new binding sites). Interestingly, I
# don't think there's actually a published value for this, so we're doing
# something new here.
You can’t perform that action at this time.