My Recent Pastes (264531 and counting)

All Pasties (over 264,531 and counting)

Pages: 1 11834 11836 11838 13227

Below are summaries of the most recent pasties.

January 07, 2007
3:14PM EDT
by eriberri

1
2
3
4
5
banana:~ amy$ gem install rails
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- sources (LoadError)
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:462:in `sources'
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:472:in `source_index_hash'

January 07, 2007
3:13PM EDT

1
2
3
4
5
=== client.ini ===
[transport]
default=tcpip

[network]

January 07, 2007
3:04PM EDT

1
2
3
4
5
>> results = Sfsolution.search('glassbox'<<'~0.5', :load => false).map { |r| r.last }
NameError: uninitialized constant Ferret::Search::BooleanClause
        from ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'
        from ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:329:in `const_missing'
        from ./script/../config/../config/../vendor/plugins/acts_as_searchable/lib/ferret/searcher.rb:122:in `search'

January 07, 2007
3:02PM EDT

1
2
3
4
5
<% assign var="title" value="`$song.title`: Abbott Family Music Lyrics" %>
<% capture name="custom_head_tags" assign=custom_head_tags %>
<style>
.disclaimer { display: none; visibility: hidden }
#song { padding: 0.5em 0em 0.2em 1em; margin-left: 1em; border-left: 2px solid #88AAEE }

January 07, 2007
2:54PM EDT

1
2
3
4
5
#include <gil/core/gil_all.hpp>
#include <gil/extension/io/jpeg_dynamic_io.hpp>

using namespace gil;

January 07, 2007
2:38PM EDT

1
2
3
4
5
#!/usr/bin ruby
class BfRLE
  def initialize(text)
    @bf = text.delete(" ")
    @bf = @bf.delete("\r\n")

January 07, 2007
2:36PM EDT
by Evic

1
2
3
4
5
## forum.rb
class Forum < ActiveRecord::Base
        belongs_to :category
        has_many :topics
end

January 07, 2007
2:25PM EDT

1
2
3
4
5
#!/usr/bin ruby
class BfRLE
  def initialize(text)
    @bf = text.delete(" ")
    @bf = @bf.delete("\r\n")

January 07, 2007
2:19PM EDT

1
2
3
4
5
!! This is my first attempt - what I tried initially to receive this error:
!! Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id

def view
        redirect_to :action => "list" and return if params[:id].nil?

January 07, 2007
2:15PM EDT
by Evic

1
2
3
4
5
!! This is my first attempt - what I tried initially to receive this error:
!! Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id

def view
        redirect_to :action => "list" if params[:id].nil?

January 07, 2007
2:02PM EDT

1
2
3
4
5
#Here is my problem, I am trying to send the values of an array of checkboxes via a form to be inserted into a db table.

#The part of the form containing the checkboxes:

<% for shoot_talent in @shoot_talents %>

January 07, 2007
1:56PM EDT

1
2
3
4
5
list<Point> pointlist;
pathfinder->FindPath(start, end);
pointlist = pathfinder->GetPath();

/*

January 07, 2007
1:41PM EDT

1
<%= checkbox("move_talent[]","talent_id",{},1,0) %>

January 07, 2007
1:40PM EDT

1
2
3
4
5
auto ath0
iface ath0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0

January 07, 2007
1:04PM EDT
by Carl-Johan Kihlbom

1
2
>> [[], ["YEAR-END"], ["YEAR-END"], [], [], [], [], []].sort_by {|a| a.first.to_s}
=> [[], [], [], [], [], [], ["YEAR-END"], ["YEAR-END"]]

January 07, 2007
12:45PM EDT
by Hussein Morsy

1
2
3
4
5
str= <<END_DATA
 bla bla bla array("gefunden",
 "gefunden2") usw.
END_DATA
regexp= /array\(([^)]+)\)/

January 07, 2007
12:28PM EDT

1
2
3
4
5
  before_filter :find_image_container

  def index
    @photos = @container.photos

January 07, 2007
12:26PM EDT

1
2
3
4
5
Lines: 1103
Piece: T
Next Piece: J
 0  * 44441   1* 0
 1  *644441   1* 360

January 07, 2007
12:26PM EDT

1
2
3
4
5
<h2>select options to run reports</h2>

<p> select the sites to include in this report </p> 

<%= form_tag(:action => "run_reports") %>

January 07, 2007
12:23PM EDT
by Carl Tanner

1
2
3
4
Fetching external item into 'vendor/plugins/acts_as_ferret'
subversion/libsvn_wc/lock.c:158: (apr_err=155004)
svn: Working copy 'vendor/plugins/acts_as_ferret' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Next page

Previous page