My Recent Pastes (7 and counting)

Pastes by John Butler (7 and counting)

Below are the 7 most recent pasties by John Butler.

February 09, 2007
2:43PM EDT
by John Butler

https?://([a-z0-9\-\_]+?\.)?google\.com(:\d+)?/?((index|default).[a-z0-9\-\_]*?(?=(\?|$)))?(\?.*)?$

February 02, 2007
1:25PM EDT
by John Butler

module Enumerable
  def each_with_progress(&block)
    output = ""
    self.each_with_index do |object, i|
      $stderr.print "\b"*output.length

February 02, 2007
1:25PM EDT
by John Butler

module Enumerable
  def each_with_progress(&block)
    output = ""
    self.each_with_index do |object, i|
      $stderr.print "\b"*output.length

November 07, 2006
9:50PM EDT
by John Butler

class ActiveRecord::Base
  def get_column_values(column_keys=nil)
    column_keys = self.attributes.keys.sort unless column_keys
    values = []
    column_keys.each do |column_key|

November 02, 2006
3:19PM EDT
by John Butler

"<a href=\"#\" onclick=\"return enlarge('images/address.png',event)\" onMouseover=\"showtip(this,event,'Cliquer pour voir la carte')\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonMouseout=\"hidetip()\">(\303\240 c\303\264t\303\251 de l'\303\251glise, \303\240 2 min de la gare)</a>"

November 02, 2006
3:12PM EDT
by John Butler

      Similar.num_differences("a", "<img src=\"/i/direitonet.gif\" border=\"0\" width=\"130\" height=\"30\" alt=\"DireitoNet\" title=\"Ir para a p\341gina principal\"/>")

November 02, 2006
3:10PM EDT
by John Butler

      Similar.num_differences("a", "<img src=\"/i/direitonet.gif\" border=\"0\" width=\"130\" height=\"30\" alt=\"DireitoNet\" title=\"Ir para a p\341gina principal\"/>")