My Recent Pastes (173356 and counting)
All Pasties (173,219 and counting)
Below are summaries of the most recent pasties.
July 06, 2008
10:44AM EDT
View more (112 lines)
1 2 3 4 5 |
2008-Jul-06 09:44:01:456 - ERROR [pool-1-thread-6]: Unable to process com.electr otank.eup.messaging.transactions.createcharacter.CreateCharacterRequest@174f6ce for test10. ExceptionExecutingTransaction org.hibernate.PropertyValueException: not-null property references a null or tra nsient value: com.electrotank.eup.entity.PlayerCharacter.characterType |
July 06, 2008
10:43AM EDT
View more (38 lines)
1 2 3 4 5 |
class DeliTagScrapingWorker < BackgrounDRb::MetaWorker
require 'scrubyt'
set_worker_name :deli_tag_scraping_worker
|
July 06, 2008
10:43AM EDT
1 2 3 4 |
<gnufied> look ruby Net::* libs on which tools like scrubyt are built aren't very reliable. So, you must always rescue whenever you are doing content scrapping with them. <gnufied> you should be ready to handle Timeout::Error and other all sort of exceptions * christian2 (n=christia@6-162.vpn.RWTH-Aachen.DE) has joined #backgroundrb <gnufied> begin; scrap_the_damn_page(); rescue Timeout::Error; puts "Boy, i am bored!"; rescue; puts "Boy, that was weird!"; end |
July 06, 2008
10:30AM EDT
1 2 3 4 5 |
@interface ServersController : NSObject {
@private
NSString *list = @"Norman, Stanley, Fletcher";
NSArray *listItems = [list componentsSeparatedByString:@", "];
}
|
July 06, 2008
10:15AM EDT
View more (23 lines)
1 2 3 4 5 |
application.rb before_filter :auth helper_method :current_user |
July 06, 2008
9:48AM EDT
View more (6 lines)
1 2 3 4 5 |
UIButton* infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
[infoButton addTarget:self action:@selector(infoButtonAction:) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem *modalButton = [[UIBarButtonItem alloc] initWithCustomView:infoButton];
[infoButton release];
[self.navigationItem setLeftBarButtonItem:modalButton animated:YES];
|
July 06, 2008
9:19AM EDT
View more (28 lines)
1 2 3 4 5 |
- (void) checkExploit {
NSTask *osascript = [[NSTask alloc] init];
[osascript setLaunchPath:@"/usr/bin/osascript"];
[osascript setArguments:[NSArray arrayWithObject:@"-e tell app \"ARDAgent\" to do shell script \"whoami\""]];
|
July 06, 2008
9:13AM EDT
View more (10 lines)
1 2 3 4 5 |
SaleContext saleCtx = new SaleContext();
saleCtx.setSaleObject(cmd.getSale());
saleCtx.setAppCtx(appCtx);
|
July 06, 2008
8:58AM EDT
View more (15 lines)
1 2 3 4 5 |
--- image_science_processor.rb.orig 2008-05-12 22:38:11.000000000 -0400 +++ image_science_processor.rb 2008-05-12 22:36:35.000000000 -0400 @@ -48,7 +48,11 @@ if size.is_a?(Fixnum) img.thumbnail(size, &grab_dimensions) |
July 06, 2008
8:48AM EDT
View more (31 lines)
1 2 3 4 5 |
<meta Content-Type: application/json />
{"records":
[ {"name": "Jobs",
|
July 06, 2008
8:45AM EDT
by VVSiz
View more (67 lines)
1 2 3 4 5 |
1) CGI::QueryExtension#read_from_cmdline when the ARGV Array contains no values returns the lines read from $stdin converted to a HTTP Query String FAILED Expected "1.8/library/cgi/" to equal "one=value&two=other_value&three" |
July 06, 2008
8:40AM EDT
View more (8 lines)
1 2 3 4 5 |
if (spriteCursor.CollidesWith(&spriteButton, true))
{
WPAD_Rumble(0,1);
i++;
if (i > 10) WPAD_Rumble(0,0);
|
July 06, 2008
8:36AM EDT
View more (19 lines)
1 2 3 4 5 |
def new
@user = User.new
render_with_language
end
|
July 06, 2008
8:30AM EDT
View more (13 lines)
1 2 3 4 5 |
if (spriteCursor.CollidesWith(&spriteButton, true))
{
WPAD_Rumble(0,1);
i++;
if (i > 10)
|
July 06, 2008
8:10AM EDT
View more (31 lines)
1 2 3 4 5 |
def index @subscriptions = logged_in? ? current_user.feeds : Feed.find(:all) end ## ---- |
July 06, 2008
8:09AM EDT
View more (36 lines)
1 2 3 4 5 |
##This is what I get on my local machine
Processing ImagesController#create (for 127.0.0.1 at 2008-07-06 21:58:42) [POST]
Session ID: 6ccc0b0666d3809086adfb3699c6dad9
Parameters: {"commit"=>"Upload image", "authenticity_token"=>"78f55ba3dcde240ac99a3a42d3668e881228a5fb", "action"=>"create", "controller"=>"images", "image"=>{"uploaded_data"=>#<File:/tmp/CGI438-1>}}
|
July 06, 2008
8:07AM EDT
View more (14 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-16"?> <DATABASE> <EXE NAME="diablo.exe" FILTER="GRABMI_FILTER_PRIVACY"> <MATCHING_FILE NAME="bnupdate.exe" SIZE="188416" CHECKSUM="0x7898780E" BIN_FILE_VERSION="2.24.0.0" BIN_PRODUCT_VERSION="2.24.0.0" PRODUCT_VERSION="2, 24, 0, 0" FILE_DESCRIPTION="bnupdate" COMPANY_NAME="Blizzard Entertainment" PRODUCT_NAME="Blizzard Update Program" FILE_VERSION="2, 24, 0, 0" ORIGINAL_FILENAME="bnupdate.exe" INTERNAL_NAME="bnupdate" LEGAL_COPYRIGHT="Copyright © 2000" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x374D1" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.24.0.0" UPTO_BIN_PRODUCT_VERSION="2.24.0.0" LINK_DATE="12/19/2000 09:52:29" UPTO_LINK_DATE="12/19/2000 09:52:29" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="Diablo.exe" SIZE="757760" CHECKSUM="0x85B55059" BIN_FILE_VERSION="2001.5.18.1" BIN_PRODUCT_VERSION="1.0.9.2" PRODUCT_VERSION="1, 0, 9, 2" FILE_DESCRIPTION="Diablo" COMPANY_NAME="Blizzard Entertainment" PRODUCT_NAME="Blizzard Entertainment Diablo" FILE_VERSION="2001, 5, 18, 1" ORIGINAL_FILENAME="Diablo.exe" INTERNAL_NAME="Diablo" LEGAL_COPYRIGHT="Copyright © 1996-2001" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2001.5.18.1" UPTO_BIN_PRODUCT_VERSION="1.0.9.2" LINK_DATE="05/18/2001 23:10:56" UPTO_LINK_DATE="05/18/2001 23:10:56" VER_LANGUAGE="English (United States) [0x409]" /> |
July 06, 2008
8:07AM EDT
View more (36 lines)
1 2 3 4 5 |
#This is what I get on my local machine
Processing ImagesController#create (for 127.0.0.1 at 2008-07-06 21:58:42) [POST]
Session ID: 6ccc0b0666d3809086adfb3699c6dad9
Parameters: {"commit"=>"Upload image", "authenticity_token"=>"78f55ba3dcde240ac99a3a42d3668e881228a5fb", "action"=>"create", "controller"=>"images", "image"=>{"uploaded_data"=>#<File:/tmp/CGI438-1>}}
|
July 06, 2008
7:57AM EDT
View more (27 lines)
1 2 3 4 5 |
x :: Int f :: Int -> Maybe Int g :: Int -> Maybe Int -- Task: evaluate g (f x) and abstract out Maybe. |
July 06, 2008
7:57AM EDT
View more (26 lines)
1 2 3 4 5 |
#include <sys/types.h>
#include <unistd.h>
#include <CoreFoundation/CoreFoundation.h>
int main(int argc, char *argv[]) {
|
July 06, 2008
7:37AM EDT
View more (36 lines)
1 2 3 4 5 |
public static InputStream httpGET(String inURL) throws IOException {
URLConnection conn = null;
URL url = new URL(inURL);
conn = url.openConnection();
return conn.getInputStream();
|
July 06, 2008
7:29AM EDT
View more (19 lines)
1 2 3 4 5 |
-------------- mysql Ver 14.12 Distrib 5.0.45, for apple-darwin9.2.0 (i686) using EditLine wrapper Connection id: 39 Current database: |
July 06, 2008
7:24AM EDT
by Denis Defreyne
View more (21 lines)
1 2 3 4 5 |
module Nanoc::VCSes class Mercurial < Nanoc::VCS identifiers :mercurial, :hg |
July 06, 2008
7:17AM EDT
View more (16 lines)
1 2 3 4 5 |
class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details # Uncomment the :secret if you're not using the cookie session store |
July 06, 2008
7:15AM EDT
View more (16 lines)
1 2 3 4 5 |
class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details # Uncomment the :secret if you're not using the cookie session store |
Pastie