Skip to content

Instantly share code, notes, and snippets.


Takeo Fujita tkeo

  • grimoire
  • Meguro, Tokyo
  • Twitter @tkeo
View GitHub Profile
View cbhistory.rb
#!/usr/bin/env ruby
require 'fileutils'
last_string = nil
loop do
sleep 1
string = IO.popen('pbpaste', 'r+') {|io| }
next if string.nil? || string.empty? || string == last_string
tkeo / gist:619467
Created Oct 10, 2010
hyperestraier homebrew formula
View gist:619467
require 'formula'
class Hyperestraier <Formula
url ''
homepage ''
depends_on 'qdbm'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",