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),
ssh: connect to host ec2-54-190-57-155.us-west-2.compute.amazonaws.com port 22: Connection timed out
Fatal error: local() encountered an error (return code 255) while executing 'ssh [email protected] -i /home/aaron/.ec2/calaccess.pem'
Aborting.
local() encountered an error (return code 255) while executing 'ssh [email protected] -i /home/aaron/.ec2/calaccess.pem'
@aboutaaron
aboutaaron / mozfest-2014-notes.md
Created October 25, 2014 10:47
Notes from Mozfest

Rise of the sentient article

  • telescopic text
  • tangle.js
  • sports, elections, personal finance
@aboutaaron
aboutaaron / js-notes
Created July 25, 2014 20:32
JS notes
# New frontiers in javascript: the browser at the bleeding edge
## Possible futures
1. new libs (new jQuery)
2. ECMAscript 6
3. Make your own (sweet.js)
4. web assembly (coffeescript)
## 1. New Libs
- React.js: shadow DOM (diffing shadow DOM to DOM)
- calculate differences in DOM nodes