Skip to content

Instantly share code, notes, and snippets.

@jamesbowles
jamesbowles / Vagrantfile
Last active February 3, 2017 00:10
Yakkety64 - basic config for a docker host in a vagrant VM with dev tools
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@jamesbowles
jamesbowles / esnextbin.md
Created September 3, 2016 08:32
esnextbin sketch
@jamesbowles
jamesbowles / error_finder.rb
Last active May 6, 2016 02:32 — forked from jasonmadigan/404_finder.rb
Error Finder - Simple Ruby site crawler, finds non-200 response codes
#!/usr/bin/env ruby
# Simple non-200 finder, for finding errors and redirects
require 'rubygems'
require 'anemone'
url = ARGV[0]
if url.nil?
import bluetooth
import time
import urllib2
import json
while True:
hour = time.localtime().tm_hour
if (hour < 17):
@jamesbowles
jamesbowles / readme.md
Created July 28, 2015 17:59
aeropress cold brew

Aeropress Cold Brew

Coffee Concentrate

  1. Get your Aeropress, add wet filter paper in non-inverted config over a cup
  2. Add enough coffee for a triple
  3. Add the funnel to the top of the Aeropress
  4. Fill the Aeropress and funnel with ice
  5. Leave it on a bench and wait