Skip to content

Instantly share code, notes, and snippets.

View aboutaaron's full-sized avatar

Aaron Williams aboutaaron

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aboutaaron on github.
  • I am aboutaaron (https://keybase.io/aboutaaron) on keybase.
  • I have a public key ASDqPHR9T9DpZ73YsrmmfQPm5TSoEiGZWWmbN5RTNScnwAo

To claim this, I am signing this object:

@aboutaaron
aboutaaron / install-r-littlest-jupyter-hub.md
Last active August 1, 2019 15:01
Helpful docs for working with Littlest Jupyter Hub

How to install R on Jupyter Hub

Open Terminal from the Jupyter Hub instance and then type the following:

sudo -E conda install r-base r-essentials r-irkernel 
sudo chown -R `whoami` /opt/tljh/user/lib/R
@aboutaaron
aboutaaron / .block
Last active July 19, 2018 01:27 — forked from johnpoole/.block
Stacked Radial Area
license: gpl-3.0
@aboutaaron
aboutaaron / Dockerfile
Created January 30, 2018 21:02 — forked from remarkablemark/Dockerfile
Install node and npm with nvm using Docker.
# set the base image to Debian
# https://hub.docker.com/_/debian/
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \
@aboutaaron
aboutaaron / .block
Last active January 19, 2017 03:42 — forked from micahstubbs/.block
world map 02 update to d3 v4
height: 510
border: no
license CC0-1.0
function Chart() {
var data = [];
var margin = {
top: 10,
right: 10,
bottom: 10,
left: 10
}
@aboutaaron
aboutaaron / onpubcom_array_date_sort.js
Created January 25, 2016 21:35 — forked from onpubcom/onpubcom_array_date_sort.js
How to Sort an Array of Dates with JavaScript
<script type="text/javascript">
// First let's create an array of JavaScript Date
// objects.
// More info about the Date class:
// http://w3schools.com/js/js_obj_date.asp
var dates = [
new Date(2010, 4, 10, 10, 07, 16),
new Date(2010, 4, 8, 9, 16, 09),
new Date(2010, 3, 30, 0, 15, 49),
#!/bin/sh
echo "updating ubuntu"
sudo apt-get -qq update
sudo apt-get -qq upgrade
# development
echo "installing development tools"
sudo apt-get -qq install build-essential
@aboutaaron
aboutaaron / montdor
Created November 4, 2013 06:46
Gen Hack Day 2
# Jackie Goldberg, Yahoo Design @montdor
## 5 ides for content design
1. *INNOVATE*
- Disrupt with balance [life line to hang on to]
- Honor Nielson's Law of Internet UX
- make diversity meaningful
2. *CLARIFY*
@aboutaaron
aboutaaron / miso.ds.deps.ie.0.4.1.custom.js
Created October 29, 2013 21:06
custom version of miso dataset with Moment 2.7 instailled
/**
* Miso.Dataset - v0.4.1 - 11/19/2012
* http://github.com/misoproject/dataset
* Copyright (c) 2012 Alex Graul, Irene Ros;
* Dual Licensed: MIT, GPL
* https://github.com/misoproject/dataset/blob/master/LICENSE-MIT
* https://github.com/misoproject/dataset/blob/master/LICENSE-GPL
*/
//! moment.js