My Recent Pastes (264531 and counting)

All Pasties (over 264,531 and counting)

Pages: 1 8015 8017 8019 13227

Below are summaries of the most recent pasties.

December 13, 2007
2:22PM EDT

1
2
3
4
5
class Array
  # jQuery-style implicit iteration
  def method_missing(method, *args)
    if self.all? { |i| i.respond_to?(method) }
      self.map{ |i| i.send method, *args }

December 13, 2007
2:16PM EDT

1
2
3
4
5
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location

December 13, 2007
2:14PM EDT

1
2
3
4
5
void binary(int number) {
        int remainder;

        if(number <= 1) {
                cout << number;

December 13, 2007
2:14PM EDT

1
2
3
4
5
# Titles

Why Agile Works: "The Toyota Way" applied to development.

The Toyota Way: 14 Principles To Live By 

December 13, 2007
2:13PM EDT

1
2
3
4
5
# Titles

Why Agile Works: "The Toyota Way" applied to development.

The Toyota Way: 14 Principles To Live By 

December 13, 2007
2:12PM EDT

1
2
3
4
5
/!\ FAILSAFE /!\  Thu Dec 13 14:07:43 -0500 2007
  Status: 500 Internal Server Error
  undefined method `new' for #<Hash:0x1220654>
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize_without_cgi_reader'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.0.1/lib/action_controller/cgi_ext/session.rb:39:in `initialize'

December 13, 2007
2:10PM EDT

1
2
3
4
5
Completed in 0.28404 (3 reqs/sec) | DB: 0.04422 (15%) | 302 Found [http://ericcolon.com/admin/articles/create]


Processing ArticlesController#edit (for 68.242.23.162 at 2007-12-13 12:29:46) [GET]
  Session ID: 47c1db444bea990bc01d6dee8e447399

December 13, 2007
2:10PM EDT

1
2
3
4
5
NoMethodError in Workouts#show

Showing workouts/show.html.erb where line #7 raised:

undefined method `activities_path' for #<ActionView::Base:0x23eeb60>

December 13, 2007
2:09PM EDT

1
2
3
4
5
http://api.feedster.com/ping
http://api.moreover.com/RPC2
http://api.my.yahoo.com/RPC2
http://xping.pubsub.com/ping/
http://ping.blo.gs/

December 13, 2007
2:00PM EDT

1
2
3
4
5
<?php

function __encryptName($name, $encryptionType){
                $str                = {$encryptionType}($name);
                $tl                 = substr($str, 0, 8);

December 13, 2007
1:59PM EDT

1
2
3
4
5
  to_wkt: function()
  {
    var new_geom = this.feature.geometry.clone();
    Utils.inverse_mercator(this.controls.map.layers[0], new_geom.components);
    return new_geom.toString();

December 13, 2007
1:58PM EDT

1
2
3
4
5
class Array
  def subarrs
    subs = []
    0.upto(2**length - 1) do |x|
      sub = []

December 13, 2007
1:57PM EDT

1
2
3
4
5
[oxman@sentinel ppRor]$ script/generate scaffold player player
      exists  app/models/
      exists  app/controllers/
      exists  app/helpers/
      create  app/views/players

December 13, 2007
1:56PM EDT

1
2
3
4
5
void dec_to_bin(char *buf, int dec, int padding) {
    int curr_len = 1, i;
    char *tmp;

    tmp = (char *)malloc(curr_len);

December 13, 2007
1:54PM EDT

1
2
3
4
5
(in image.rb)

def sideshow
   self.imageprofile.sideshow
end

December 13, 2007
1:52PM EDT

1
onClick="Javascript:if(validateSrvy()){document.hiddenSrvyData.submit();document.addExam.submit();}else{return}"

December 13, 2007
1:51PM EDT

1
2
3
4
5
void dec_to_bin(char *buf, int dec, int padding) {
    int curr_len, i;
    char *tmp;

    tmp = (char *)malloc(curr_len);

December 13, 2007
1:46PM EDT

1
2
3
4
5
/tmp/eee.isession_darwin.2/lib/osx/objc/oc_import.rb:29: uninitialized constant OSX::RUBYCOCOA_FRAMEWORK_PATHS (NameError)
    from /tmp/eee.isession_darwin.2/lib/rubygems/custom_require.rb:27:in `gem_original_require'
    from /tmp/eee.isession_darwin.2/lib/rubygems/custom_require.rb:27:in `require'
    from /tmp/eee.isession_darwin.2/lib/osx/objc/oc_all.rb:9
    from /tmp/eee.isession_darwin.2/lib/rubygems/custom_require.rb:27:in `gem_original_require'

December 13, 2007
1:45PM EDT

1
2
3
4
5
cypher@eschaton ~/Projects/Rubinius $ bin/ci

An error has occured: Segmentation fault (SIGSEGV) (11)

Ruby backtrace:

December 13, 2007
1:39PM EDT

1
2
3
4
5
make[1]: Leaving directory `/home/phil/src/rubinius/shotgun'
Unknown marshal type '0x4d' at 0!
Attempted to access field of non reference.

Next page

Previous page