Skip to content

Instantly share code, notes, and snippets.

Aaron Mills fluxrad

Block or report user

Report or block fluxrad

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 MR Unstagnator.user.js
// ==UserScript==
// @name MR Unstagnator
// @namespace
// @version 0.1
// @description Make MR look better and more usable.
// @author Aaron Mills
// @match http*://*
// @grant GM_addStyle
// ==/UserScript==
fluxrad / onedark.theme
Last active Aug 21, 2019
A one-dark theme for xfce4-terminal
View onedark.theme
Name=One Dark
fluxrad /
Created May 18, 2016
A script to check if the Docker daemon is up. If not, reboot after three failed docker ps commands.
while true; do
for i in `seq 1 3`; do
timeout 5 docker ps -q && break || echo "Docker daemon is not running. Rebooting"
if [[ $i -eq 3 ]]; then

Keybase proof

I hereby claim:

  • I am fluxrad on github.
  • I am fluxrad ( on keybase.
  • I have a public key ASAqmZbGFe3T3u48LvrAf3_r8MIAmmFvzkC5KYfGmAfNGgo

To claim this, I am signing this object:

fluxrad / bar.js
Created Apr 9, 2015
Dynamically requiring module in NodeJS
View bar.js
exports.index = function(req, res) {
res.send('This is bar!');
fluxrad /
Created Nov 6, 2014
Update hostname on an AWS instance
# Fix an EC2 instance's hostname.
echo "ip-$(echo $(curl -s | tr '.' '-'))" | sudo tee /etc/hostname | sudo xargs hostname
View gist:be6088c7b4a752d2bf04
FROM ruby:2.1.3
# works with ruby:2.1.2
# run with `docker build -t test .`
RUN apt-get -y update -qq && apt-get -y install r-base-dev
RUN pry
fluxrad / Dockerfile
Created Sep 22, 2014
Dockerfile for a basic rbenv + rails environment
View Dockerfile
# Inspired by Deepak's setup here -
FROM ubuntu:14.04
RUN apt-get update -qq && apt-get install -y build-essential nodejs npm git curl mysql-client libmysqlclient-dev
RUN mkdir -p /my_awesome_social_media_app
# Install rbenv
RUN git clone /usr/local/rbenv
RUN echo '# rbenv setup' > /etc/profile.d/
fluxrad /
Created Sep 11, 2014
Install Stackdriver Agent
curl -o /etc/apt/sources.list.d/stackdriver.list
curl --silent |apt-key add -
apt-get update
apt-get install stackdriver-agent
fluxrad / Gemfile
Created Jul 18, 2014
Explode a list of netmasks
View Gemfile
source ''
gem 'netaddr'
You can’t perform that action at this time.