My Recent Pastes (196321 and counting)
All Pasties (129 and counting)
Pages: 1 ... 6070 6071 6072 6073 6074 ... 7853
Below are summaries of the most recent pasties.
April 02, 2007
8:38AM EDT
View more (28 lines)
1 2 3 4 5 |
enlil:~/misc/MacPorts/dports/py-feedparser benoitc$ sudo port -d buildDEBUG: Changing to port directory: . DEBUG: Changing to port directory: . DEBUG: Requested variant powerpc is not provided by port py-feedparser. DEBUG: Requested variant darwin is not provided by port py-feedparser. DEBUG: Requested variant macosx is not provided by port py-feedparser. |
April 02, 2007
8:08AM EDT
by bryan
View more (17 lines)
1 2 3 4 5 |
(in /Users/bryan/Workspace/mdlogix/bliles_crms) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 14852 | 12523 | 103 | 1350 | 13 | 7 | |
April 02, 2007
7:26AM EDT
View more (8 lines)
1 2 3 4 5 |
>> a = {:name => 'A'}
=> {:name=>"A"}
>> b = a
=> {:name=>"A"}
>> b[:foo] = 'bar'
|
April 02, 2007
7:09AM EDT
View more (149 lines)
1 2 3 4 5 |
./configure --with-pic --with-mysql=/var/tmp/portage/dev-db/mysql-community-5.1.15_beta/work/mysql checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes |
April 02, 2007
7:03AM EDT
View more (211 lines)
1 2 3 4 5 |
Index: lib/rbot/core/utils/httputil.rb =================================================================== --- lib/rbot/core/utils/httputil.rb (revision 810) +++ lib/rbot/core/utils/httputil.rb (working copy) @@ -13,6 +13,7 @@ |
April 02, 2007
6:30AM EDT
View more (22 lines)
1 2 3 4 5 |
detail_page_extractor = lambda do product_details 'Product Details' end cameras = Scrubyt::Extractor.define do |
April 02, 2007
6:09AM EDT
View more (203 lines)
1 2 3 4 5 |
Index: lib/rbot/core/utils/httputil.rb =================================================================== --- lib/rbot/core/utils/httputil.rb (revision 809) +++ lib/rbot/core/utils/httputil.rb (working copy) @@ -13,6 +13,7 @@ |
April 02, 2007
5:41AM EDT
View more (7 lines)
1 2 3 4 5 |
C:\>perl -wle "print $$; $c = fork; print $c; exit if $c; print $$; sleep 3" 116 -148 0 -148 |
April 02, 2007
5:38AM EDT
View more (73 lines)
1 2 3 4 5 |
" Vim filetype plugin " Language: eRuby " Maintainer: Doug Kearns <dougkearns@gmail.com> " Info: $Id: eruby.vim,v 1.5 2006/04/15 12:01:18 dkearns Exp $ " URL: http://vim-ruby.rubyforge.org |
April 02, 2007
5:31AM EDT
by Giotto
View more (7 lines)
1 2 3 4 5 |
# This works fine as expected, it shows that I have a Subscriber object @subscribers = Subscriber.find(:all) flash[:debug] = @subscribers.first.class #This one throws an exception "Subscriber can't be referred", but it's the same subscriber as above... |
April 02, 2007
5:25AM EDT
View more (37 lines)
1 2 3 4 5 |
chasetoys@LilArooni:/usr/lib/ruby/gems/1.8$ sudo gem install gettext Select which gem to install for your platform (i486-linux) 1. gettext 1.9.0 (ruby) 2. gettext 1.9.0 (mswin32) 3. gettext 1.8.0 (ruby) |
April 02, 2007
5:18AM EDT
View more (89 lines)
1 2 3 4 5 |
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
|
April 02, 2007
4:55AM EDT
View more (13 lines)
1 2 3 4 5 |
<%= start_form_tag :action => 'create' %> <p>Section <%= select("exam","section",ClassSection.find_all.collect{|s|[s.section]}, :include_blank => 'true') %></p> <p>Exam Name <%= text_field_tag "exam_name" %> </p> <% @subjects=Subject.find(:all) %> <% for s in @subjects %> |
April 02, 2007
4:36AM EDT
View more (6 lines)
1 2 3 4 5 |
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:708:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/layout.rb:256:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' |
April 02, 2007
4:32AM EDT
View more (19 lines)
1 2 3 4 5 |
new Ajax.Request('/ajax/search/my.asp', { method: 'get', parameters: 'formID=' + formID, onSuccess: function (response) { clearSearch (); |
April 02, 2007
4:32AM EDT
1 2 3 4 |
def for_noone permit "noone" render :text => "you shouldnt be able to read this." end |
April 02, 2007
4:31AM EDT
1 2 3 4 5 |
$ cd /var/www/htdocs dentarg@beaver ~ $ export CVSROOT=dentarg@ssh.starkast.net:/cvs dentarg@beaver /var/www/htdocs $ sudo cvs up dentarg@beaver /var/www/htdocs Password: root@ssh.starkast.net's password: |
April 02, 2007
4:30AM EDT
View more (56 lines)
1 2 3 4 5 |
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:708:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/layout.rb:256:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' |
April 02, 2007
4:29AM EDT
View more (56 lines)
1 2 3 4 5 |
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:708:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/layout.rb:256:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render' |
April 02, 2007
4:29AM EDT
View more (110 lines)
1 2 3 4 5 |
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/base.rb:708:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/layout.rb:256:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ |
April 02, 2007
2:51AM EDT
View more (19 lines)
1 2 3 4 5 |
[scotch]$ ./script/server => Booting WEBrick... /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Permission denied - script/../config/../tmp/cache (Errno::EACCES) from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' |
April 02, 2007
2:24AM EDT
View more (9 lines)
1 2 3 4 5 |
class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale => 2, :default => 0 end |
April 02, 2007
2:23AM EDT
View more (9 lines)
1 2 3 4 5 |
(See full trace by running task with --trace) lou@linux-suse:~/rails/depot> rake db:migrate (in /home/lou/rails/depot) == AddPrice: migrating ======================================================== -- add_column(:products, :price, :decimal, {:default=>0, :precision=>8, :scale=>2}) |
April 02, 2007
2:03AM EDT
View more (135 lines)
1 2 3 4 5 |
import java.io.*; import java.util.*; class IslamicRantGenerator { |
April 02, 2007
2:02AM EDT
View more (24 lines)
1 2 3 4 5 |
## View snippet [html] <% @people.each do |person| %> <tr class="<%= cycle("off", "on") %>"> <td class="column_salutation"><%= person.Salutation %></td> |
Pastie