Skip to content

Instantly share code, notes, and snippets.

  • 80 grams (about 1 cup whole beans) coffee
  • 2 cups room temperature water

Makes about 3 iced-coffee

  1. Grind beans coarsely, I used one setting below the coarsest. Mix water and coffee into a container, cover, and let sit for 10 hours.
  2. After, filter the brewed coffee as best you can. The result will be strong, too strong to drink. I suggest diluting with 0.5:1.0 water to brew.
  3. Pour over ice, or, heat.
class Cell
def initialize
become_dead
end
def eigenclass
class << self
self
end
end
@bkerley
bkerley / @for
Created November 7, 2012 19:50 — forked from lessallan/@for
@for
@for $i from 1 through 35
.picture:nth-child($i)
+animate(fadeIn, 1s, ($i)s)
package=basho-release-6-1.noarch.rpm && wget http://yum.basho.com/gpg/$package -O /tmp/$package && sudo rpm -ivh /tmp/$package
@bkerley
bkerley / 1.txt
Created February 21, 2012 02:34 — forked from anonymous/1.txt
title New Browser Setup
User->Phone: identifying info
Phone->idjump: identifying info
idjump->Phone: encrypted blob
User->Phone: decrypting info
Phone->local storage: decrypted blob
/*This code for a PIC12F615 compiles in mikroC for PIC http://www.mikroe.com
It takes an analog value from a dash-mounted potentiometer and drives a MOSFET proportional to the input. The MOSFET pulses the low-side of a blower motor in
a 1997 Mitsubishi Mirage, providing 128 speeds*/
void main() {
int anin=0, ramped=255;
unsigned long temp = 0;
@bkerley
bkerley / gist:1163607
Created August 22, 2011 21:15 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
Day job:
Rails developer
Favorite Python project:
NodeBox
Favorite Conference:
Scottish Ruby Conference
Python Experience Level:
@bkerley
bkerley / grep_safe.rb
Created November 22, 2010 03:56 — forked from capotej/grep_safe.rb
# turns hey => "[h]ey"
def grep_safe(path)
"[#{path.chars.first}]#{path.chars.to_a.slice(1, path.chars.count).join}"
end
# wrote it, didn't try it
module TWSS
class Body
def initialize(text)
@text = text
end
def sentences
@text.split(/\?|\.|\;/).map{ |s| Sentence.new(s) }
> ruby /tmp/version.rb
1.8.6
> cat /tmp/version.rb
puts VERSION
> rvm use 1.8.7 -S /tmp/version.rb
Now using ruby 1.8.7 p249