Skip to content

Instantly share code, notes, and snippets.

Bringing a coffee rig on trips with you is amazing. It transforms your hotel room mornings and lets you have a great cup of coffee without having to deal with awful lines at shitty hotel coffee places. It's also a nice way of inviting people over in the morning and having a chat: rarely do people turn down a fresh-brewed cup.
I've been asked about [my rig](https://twitter.com/dansinker/status/494116328395915265) a bunch of times, so here are some notes:
Brewing: I like the [Aeropress](http://www.amazon.com/Aeropress-Coffee-and-Espresso-Maker/dp/B0047BIWSK/ref=sr_1_1?ie=UTF8&qid=1420581251&sr=8-1&keywords=aeropress). It's a good size, makes great coffee, and travels easily. I know others that have a v60 in their kit. To me, that makes for a bulkier kit. I've seen a couple japanese collapsable pour-over setups before that look kind of amazing because they're so tiny, but generally I like the Aeropress: it's fast, easy, and cleans up super quickly.
Grinding: If you're going to the trouble of brewing your own
@media (max-width: 600px) {
.site-title {
font-size: 2.2em;
}
.entry-title {
font-size: 1.5em;
}
h3 {
@dansinker
dansinker / gist:474089205beb6ec02e20
Last active August 29, 2015 14:04
The shopping list for the SRCCON Coffee Hacking Stations
SRCCON COFFEE HACK STATION EQUIPMENT
================================
Grinders
------------
2x Mr Coffee Burr Grinders
2x Hairo Coffee Mill Slim
#encoding: UTF-8
require 'rubygems'
require "pismo"
require 'punkt-segmenter'
require 'htmlentities'
require './markov.rb'
CLEAN_TEXT = <<-EOF
@dansinker
dansinker / gist:8337769
Last active January 2, 2016 17:38
Hey all, this is what Al would like you to have done prior to getting down to work next Wednesday. Thanks!

Tire Quality App: How Safe Are Your Tires?

Before you get to SF:

  1. Install Rails. Unless a critical mass of people are Pythonistas, we'll use Rails. Obviously JavaScript too, for front-end stuff, and any manner of data analysis tools, such as R.. but make sure Rails is installed and working on your machine before you show up. (Instructions below)
  2. Download the UTQGS data: http://cl.ly/0L2c152y2n2j, and take a look at it
  3. Develop some questions about the data that you'd want to see in an app. Example questions that come to mind: What are the safety ratings of the country's best-selling tires? How safe are the tires that come standard on the most common cars? Do tire costs correlate with safety?
  4. Look at some news apps. I suggest: http://projects.propublica.org/emergency/. Come with some ideas on how to turn the UTQGS data into an app.
@dansinker
dansinker / thanksgivingtaco
Last active December 28, 2015 15:09
Thanksgiving Taco (draft)
Thanksgiving Taco
=================
You know what would make Thanksgiving a lot better? If you tossed everything great about it into a taco. This recipe combines a couple of favorites from Tacofancy along with a new riff on a Thanksgiving-appropriate salsa. There's a 95% chance that these will be featured on my Thanksgiving day table. YAY TACOS.
Let's do this
-------------
* [@Deezthugs' Smokey Turkey](/base_layers/smokey_turkey.md)
* [Sweet Potato and Apple Hash](/sweet_potato_and_apple_hash.md)
@dansinker
dansinker / gist:7519437
Last active December 28, 2015 15:09
cranberry salsa (draft)
Cranberry Salsa
===============
Ingredients
------------
* 1 bag cranberries
* 1 cup water
* 3/4 cup sugar
* half a small white onion
* 1 jalepeño
$(document).ready(function () {
var top = $('#bookbar').offset().top - parseFloat($('#bookbar').css('margin-top').replace(/auto/, 0));
$(window).scroll(function (event) {
// what the y position of the scroll is
var y = $(this).scrollTop();
// whether that's below the form
if (y >= top) {
// if so, ad the fixed class
$('#bookbar').addClass('fixed');