My Recent Pastes (24 and counting)
Pastes by bleything (24 and counting)
Below are the 15 most recent pasties by bleything.
March 20, 2009
2:17PM EDT
by bleything
View all 29 lines
## invocation ben@folio pts/ttys000 [~/projects/work/project] 47/536 {0}$ rake routes:matching[/v2/things/100/otherthings.json] (in /Users/ben/projects/work/project)
December 16, 2008
10:08PM EDT
by bleything
[18:53:45] <bleything> go to wherever your gems are installed (/usr/lib/ruby/gems/1.8, maybe?) and remove the gem from cache, the spec from specifications, and the directory from gems [18:53:48] <bleything> that *should* do it [18:54:07] <bleything> no promises though, I don't really know that much about gem internals
December 16, 2008
8:10PM EDT
by bleything
>> g = Grit::Repo.new('/Users/bbleything/projects/personal/midiator') => #<Grit::Repo "/Users/bbleything/projects/personal/midiator/.git"> >> g.tags => [#<Grit::Tag "0.1.0">, #<Grit::Tag "0.1.1">, #<Grit::Tag "0.2.0">, #<Grit::Tag "0.3.0">] >>
December 11, 2008
10:41PM EDT
by bleything
View all 223 lines
trancentral ~/projects/personal/integrity > git remote -v
origin git://github.com/foca/integrity.git
trancentral ~/projects/personal/integrity > git status
# On branch master
nothing to commit (working directory clean)
December 11, 2008
4:56PM EDT
by bleything
require 'rubygems' ### Edge sinatra $LOAD_PATH.unshift File.dirname(__FILE__) + '/sinatra/lib' require 'sinatra'
December 08, 2008
3:11PM EDT
by bleything
View all 6 lines
def shit( year, weekno ) start = Date.commercial( year, weekno, 1 ) ending = Date.commercial( year, weekno, 7 ) puts "Starts on #{start.strftime '%B %d %Y'}, ends on #{ending.strftime '%B %d %Y'}"
December 02, 2008
5:24PM EDT
by bleything
View all 170 lines
Process: Elysium [34432] Path: /Users/bbleything/Elysium.app/Contents/MacOS/Elysium Identifier: com.lucidmac.Elysium Version: ??? (0.8.1) Code Type: X86 (Native)
November 23, 2008
9:37PM EDT
by bleything
View all 17 lines
## first: $ sudo gem install midiator ## then:
November 19, 2008
4:21PM EDT
by bleything
View all 13 lines
#!/usr/bin/env ruby require 'rubygems' require 'mechanize' require 'highline/import'
November 18, 2008
9:32PM EDT
by bleything
View all 6 lines
Building native extensions. This could take a while... Successfully installed nokogiri-1.0.6 1 gem installed Installing ri documentation for nokogiri-1.0.6... ERROR: While executing gem ... (NoMethodError)
November 10, 2008
6:24PM EDT
by bleything
View all 27 lines
require 'rubygems' require 'hpricot' require 'open-uri' user_agent = "Mozilla/5.0 (compatible; YourWiki/1.0; +http://search.yourwiki.net/wiki/Spider)"
November 10, 2008
1:42PM EDT
by bleything
View all 6 lines
class String def to_magic_via_abracadabra return true if self == "true" return false end
November 03, 2008
8:45PM EDT
by bleything
View all 40 lines
# Pitch computation version of Twinkle Twinkle Little Star # # Transcribed and coded by Ben Bleything from # http://en.wikipedia.org/wiki/Twinkle_twinkle_little_star #
October 23, 2008
4:55PM EDT
by bleything
--- before 2008-10-23 13:54:51.000000000 -0700 +++ after 2008-10-23 13:54:51.000000000 -0700 @@ -1 +1 @@ -super-agile-xp-testy-waterfall-atrocious +super-xp-agile-testy-waterfall-atrocious
October 22, 2008
10:40PM EDT
by bleything
View all 21 lines
(in /Users/bbleything/foosdlfkj) Loading init file from /Users/bbleything/foosdlfkj/config/init.rb Loading /Users/bbleything/foosdlfkj/config/environments/development.rb *.**.....F
