My Recent Pastes (216002 and counting)
All Pasties (215,911 and counting)
Pages: 1 ... 6073 6074 6075 6076 6077 ... 8641
Below are summaries of the most recent pasties.
June 27, 2007
8:13PM EDT
View more (17 lines)
1 2 3 4 5 |
Gem::Specification.new do |s| s.name = %q{rbrainz} s.version = "0.2.0" s.date = %q{2007-06-27} s.summary = %q{Ruby library for the MusicBrainz XML webservice.} |
June 27, 2007
8:13PM EDT
View more (18 lines)
1 2 3 4 5 |
<fieldset id="blade_set_25"> <table class="datagrid holepositions"> <tbody> <tr> <td title="Click to add a tension screw" class="hole_position">90.0</td> |
June 27, 2007
8:07PM EDT
View more (15 lines)
1 2 3 4 5 |
#insert venue a_venue = Venue.new(venue) a_venue.save #later add if logic once feeds supply the section names associated with each ticket |
June 27, 2007
8:06PM EDT
View more (18 lines)
1 2 3 4 5 |
/usr/local/bin/ruby -w -Ilib:ext:bin:test -e 'require "test/test_behavior.rb"; require "test/test_condition.rb"; require "test/test_god.rb"; require "test/test_meddle.rb"; require "test/test_reporter.rb"; require "test/test_server.rb"; require "test/test_system_process.rb"; require "test/test_timeline.rb"; require "test/test_watch.rb"; require "test/unit"' ./test/helper.rb:25: warning: method redefined; discarding old exit ./test/helper.rb:25: warning: method redefined; discarding old exit ./test/helper.rb:31: warning: method redefined; discarding old test ./test/helper.rb:42: warning: method redefined; discarding old silence_warnings |
June 27, 2007
7:57PM EDT
View more (33 lines)
1 2 3 4 5 |
==== //depot/main/Apps/Komodo-devel/src/modules/spellcheck/Conscript#3 - /data/home/ACTIVEDND/ericp/main/Apps/Komodo-devel/src/modules/spellcheck/Conscript ==== @@ -34,9 +34,13 @@ {'KOMODO_SHORT_VERSION' => $komodoShortVersion}); |
June 27, 2007
7:46PM EDT
by Brian Donovan
View more (29 lines)
1 2 3 4 5 |
require 'rubygems' require 'active_record' class RegisteredModels cattr_accessor :models |
June 27, 2007
7:42PM EDT
View more (16 lines)
1 2 3 4 5 |
function contact() { $("form").submit(function(){ var values = $("input[@type=text]").serialize; $.ajax({ |
June 27, 2007
7:42PM EDT
View more (484 lines)
1 2 3 4 5 |
# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. # In particular, see |
June 27, 2007
7:41PM EDT
by defunkt
View more (196 lines)
1 2 3 4 5 |
class Struct include Enumerable # TODO: Use fields when RBX kinks are worked out. #self.instance_fields = 4 |
June 27, 2007
7:40PM EDT
by defunkt
View more (260 lines)
1 2 3 4 5 |
require File.dirname(__FILE__) + '/../spec_helper' # Class methods: new # Generated class methods: new, [], members |
June 27, 2007
7:39PM EDT
by jason_watkins_
View more (26 lines)
1 2 3 4 5 |
class RegisteredModels cattr_accessor :models end RegisteredModels.models = [] |
June 27, 2007
7:33PM EDT
View more (16 lines)
1 2 3 4 5 |
config/comparison_feed_hosts.yml :froogle: :filename: froogle.tsv :host: www.froogle.com :headers: !ruby/struct:Foo |
June 27, 2007
7:32PM EDT
View more (37 lines)
1 2 3 4 5 |
require 'java' import 'javax.swing.JFrame' import 'javax.swing.JLabel' import 'javax.swing.SwingUtilities' |
June 27, 2007
7:31PM EDT
View more (11 lines)
1 2 3 4 5 |
function contact() { $("form").submit(function(){ var values = $("input[@type=text]").serialize; $.post("mail.php",{values},function(){ |
June 27, 2007
7:29PM EDT
View more (11 lines)
1 2 3 4 5 |
function contact() { $("form").submit(function(){ var values = $("input[@type=text]").serialize; $.post("mail.php",{values},function(){ |
June 27, 2007
7:18PM EDT
by defunkt
View more (13 lines)
1 2 3 4 5 |
$ irb >> require 'yaml' => true >> Cat = Struct.new(:one, :two, :three) => Cat |
June 27, 2007
7:08PM EDT
View more (11 lines)
1 2 3 4 5 |
class AddEnumTypeColumnToUserEvents < ActiveRecord::Migration def self.up execute("ALTER TABLE user_events ADD COLUMN event_type ENUM('user', 'account') DEFAULT 'user'") #set default execute("UPDATE user_events SET event_type = 'user'") |
June 27, 2007
6:50PM EDT
1 2 3 4 5 |
def List.cached_recently_updated(category, conditions, sort_column, sort_direction, limit, offset) get_cache('recently_updated:' + category.to_s + conditions.to_s + sort_column.to_s + sort_direction.to_s + limit.to_s + offset.to_s) do recently_updated(category, conditions, sort_column, sort_direction, limit, offset) end end |
June 27, 2007
6:39PM EDT
View more (8 lines)
1 2 3 4 5 |
class TextDescription < ActiveRecord::Base validate_presence_of :title validate_presence_of :body |
June 27, 2007
6:33PM EDT
View more (61 lines)
1 2 3 4 5 |
require 'rubygame' include Rubygame class Object include Sprites::Sprite |
June 27, 2007
6:31PM EDT
1 |
<https://download.juniper.net/software/idp/idpfullshar2_4.1.96964.d1.sh.bz2> |
June 27, 2007
6:30PM EDT
View more (11 lines)
1 2 3 4 5 |
def p_chomp self.description.strip! (self.description = self.description.chop.chop.chop.chop) if (self.description.reverse.rindex('>p/<') == 0) self.description.reverse! |
June 27, 2007
6:27PM EDT
View more (25 lines)
1 2 3 4 5 |
class String # Wrapper for HTMLEntities gem which falls back on CGI.unescapeHTML def unescape begin require 'htmlentities' |
Pastie