Skip to content

Instantly share code, notes, and snippets.

View gist:e9990ce83cf961f37ed3d60326ab8d88
  • 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.
View gist:50bbe45972dc85c8436f
class Cell
def initialize
def eigenclass
class << self
View @for
@for $i from 1 through 35
+animate(fadeIn, 1s, ($i)s)
View gist:3902123
package=basho-release-6-1.noarch.rpm && wget$package -O /tmp/$package && sudo rpm -ivh /tmp/$package
View 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
View PWMfanController.c
/*This code for a PIC12F615 compiles in mikroC for PIC
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 / gist:1163607
Created Aug 22, 2011 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
View gist:1163607
Day job:
Rails developer
Favorite Python project:
Favorite Conference:
Scottish Ruby Conference
Python Experience Level:
View grep_safe.rb
# turns hey => "[h]ey"
def grep_safe(path)
"[#{path.chars.first}]#{path.chars.to_a.slice(1, path.chars.count).join}"
View thatswhatshesaid.rb
# wrote it, didn't try it
module TWSS
class Body
def initialize(text)
@text = text
def sentences
@text.split(/\?|\.|\;/).map{ |s| }
View gist:343539
> ruby /tmp/version.rb
> cat /tmp/version.rb
> rvm use 1.8.7 -S /tmp/version.rb
Now using ruby 1.8.7 p249