My Recent Pastes (213507 and counting)

All Pasties (213,252 and counting)

Pages: 1 2 3 4 ... 8541

Below are summaries of the most recent pasties.

October 06, 2008
2:12PM EDT

1
2
3
4
5
        Cheat Sheet                                                        
                                                                
Saturday        1/0/1900                                                        
# of Receipts        0                                                        
Gross         $-                                                           

October 06, 2008
2:11PM EDT

1
2
3
4
5
prateek-saxenas-computer:~/sites/rails/ideas2/public prateeksaxena$ sudo /usr/sbin/apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
 Processing config file: /private/etc/httpd/users/prateeksaxena.conf
/usr/sbin/apachectl restart: httpd started

October 06, 2008
2:02PM EDT
by brixen

1
2
3
4
5
>> 1223311299.to_s(2)
=> "1001000111010100011111111000011"
>> 149569475.to_s(2)
=> "1000111010100011111111000011"
>> Time.at 1223311299

October 06, 2008
2:00PM EDT
by brixen

1
2
3
4
5
=> "1001000111010100011111111000011"
>> 149569475.to_s(2)
=> "1000111010100011111111000011"
>> Time.at 1223311299
=> Mon Oct 06 09:41:39 -0700 2008

October 06, 2008
1:57PM EDT
by headius

1
2
3
4
5
457     CALL,static  org.jruby.RubyFixnum::<init>
        # org.jruby.RubyFixnum::newFixnum @ bci:25  L[0]=_ L[1]=_ L[2]=_ STK[0]=esp + #20
        # org.jruby.RubyFixnum::subtractFixnum @ bci:39  L[0]=_ L[1]=_ L[2]=_ L[3]=_ L[4]=_ L[5]=_ L[6]=_
        # org.jruby.RubyFixnum::op_minus @ bci:13  L[0]=_ L[1]=_ L[2]=_
        # org.jruby.test.bench.BenchFixnumFibRecursive::boxedFib @ bci:28  L[0]=esp + #36 L[1]=esp + #24 STK[0]=esp + #36

October 06, 2008
1:57PM EDT

1
2
3
4
5
## httpd.conf
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /usr/local/bin/ruby

October 06, 2008
1:55PM EDT

1
2
3
4
5
76.105.181.141
76.105.181.141
76.105.181.141
126.252.7.228
218.186.12.9

October 06, 2008
1:53PM EDT

1
2
3
4
5
#header
{
        margin-top: 30px;
        height: 135px;

October 06, 2008
1:51PM EDT
by headius

1
2
abababab   N1: #        B1 <- B752 B751 B750 B436 B608 B434 B435 B747 B746 B745 B744 B619 B602 B444 B439 B438 B437 B742 B741 B740 B739 B450 B627 B448 B449 B737 B736 B735 B734 B620 B458 B453 B452 B451 B732 B731 B730 B729 B464 B628 B462 B463 B727 B726 B725 B724 B433 B472 B467 B466 B465 B722 B721 B719 B718 B613 B483 B478 B477 B476 B716 B715 B713 B711 B710 B709 B708 B601 B495 B490 B489 B488 B706 B705 B704 B703 B501 B592 B499 B500 B701 B700 B699 B698 B603 B509 B504 B503 B502 B696 B695 B693 B692 B622 B520 B515 B514 B513 B690 B689 B687 B685 B684 B682 B681 B680 B679 B630 B614 B532 B527 B526 B525 B677 B676 B675 B674 B538 B631 B536 B537 B672 B671 B670 B669 B624 B546 B541 B540 B539 B667 B666 B665 B664 B552 B590 B550 B551 B662 B661 B660 B659 B749 B560 B555 B554 B553 B657 B656 B654 B653 B616 B571 B566 B565 B564 B651 B650 B648 B646 B645 B644 B643 B617 B583 B578 B577 B576 B641 B640 B639 B638 B589 B591 B587 B588 B636 B635 B634 B633 B625 B597  Freq: 10000
abababab

October 06, 2008
1:51PM EDT

1
2
3
4
5
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
        at com.electrotank.vmtv.utils.StreamingMediaUtil.callUrl(StreamingMediaUtil.java:117)
        at com.electrotank.vmtv.utils.StreamingMediaUtil.getPlaylists(StreamingMediaUtil.java:63)
        at com.electrotank.vmtv.utils.StreamingMediaUtilTest.testGetPlaylists(StreamingMediaUtilTest.java:23)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

October 06, 2008
1:51PM EDT

1
2
3
4
5
function foo() {
  $('#tabs a').bind('click', function() {
    var link = $(this)
    $.ajax({
      type: 'GET',

October 06, 2008
1:43PM EDT

1
2
3
4
5
class Array
  def errorcheck(name)
    raise "The #{name} could not be calculated for this array: Empty Array" if self.empty?
    #raise "The #{name} could not be calculated for this array: Non-numeric Array" if self.each {|value| !value.is_a?(Numeric)}
  end

October 06, 2008
1:43PM EDT

1
2
3
4
5
public class Virt {
    static int a = 1;

    static abstract class A {
        abstract void foo();

October 06, 2008
1:42PM EDT

1
2
3
4
5
user www www;

worker_processes 5;

October 06, 2008
1:42PM EDT

1
An error occurred publishing entry 'McCain Ad Hits Obama By Suggesting His Leading Adviser Is (Black) Former Fannie Mae Head': Publish error in template 'Individual Entry Archive': Error in <mtinclude> tag: error in module Comments: Publish error in template 'Comments': Error in <mtIfCommentsActive> tag: Error in <mtComments> tag: Error in <mtInclude> tag: error in module Comment Detail: Publish error in template 'Comment Detail': Unknown tag found: CommenterProfileIfPhoto

October 06, 2008
1:39PM EDT

1
2
3
4
5
void CollisionDetection::getMinimumAreaEnclosingRectangle(float *position, float *oldIntervals){
        float newintervals[6] = {
                position[0]-0.5f, position[0]+0.5f,
                position[1]-0.5f, position[1]+0.5f,
                position[2]-0.5f, position[2]+0.5f

October 06, 2008
1:38PM EDT

1
2
3
4
5
require 'yaml'
yaml = YAML::load(File.open("myyaml.yaml"))

def create(sname,vname, mode, policy)
   agg = "dladm create-aggr"

October 06, 2008
1:38PM EDT

1
2
3
4
5
-(NSMutableArray*) getMinimumAreaEnclosingRectangle:(NSMutableArray*) position{
        float x = [[position objectAtIndex:0] floatValue];
        float y = [[position objectAtIndex:1] floatValue];
        float z = [[position objectAtIndex:2] floatValue];
        //for now assume that all objects have a 1x1X1 block shape. 

October 06, 2008
1:35PM EDT

1
2
3
4
sends out an email for each new user added
    def after_create
      NotificationMailer.deliver_new_user_notification(@user)
    end

October 06, 2008
1:34PM EDT

1
Bhi

October 06, 2008
1:31PM EDT

1
2
3
4
5
Last login: Mon Oct  6 16:51:37 on ttys004
[ 19:25:16 teamon ~ ] cd Desktop/cpp\ fun/
[ 19:25:26 teamon ~/Desktop/cpp fun ] g++ one.cpp 
[ 19:25:35 teamon ~/Desktop/cpp fun ] ls
a.out   one.cpp

October 06, 2008
1:31PM EDT

1
もりた

October 06, 2008
1:31PM EDT

1
2
3
4
5
10/05/2008  03:04 AM    <DIR>          .
10/05/2008  03:04 AM    <DIR>          ..
09/15/2008  01:52 AM         5,892,298 (2) Fotomatic (v1.5).ipa
09/21/2008  09:09 PM           971,247 300 Bowl (v1.1).ipa

October 06, 2008
1:30PM EDT

1
2
3
4
5
1)
ActiveRecord::StatementInvalid in 'ChannelInvitation deletes both copies when it is destroyed'                                                                                    
Mysql::Error: Lock wait timeout exceeded; try restarting transaction: DELETE FROM `channel_invitations` WHERE (`channel_invitations`.`channel_id` = 155124129 AND `channel_invitations`.`recipient_id` = 240588619 AND `channel_invitations`.`kind` = 0)                   
(__DELEGATION__):2:in `__send__'                                                         
(__DELEGATION__):2:in `delete'                                                           

October 06, 2008
1:29PM EDT

1
2
3
4
5
# bad
@create_new  = (@last_fetch and not @last_thread) or @per_this_thread.nil?

# OK
@create_new  = ((@last_fetch and not @last_thread) or @per_this_thread.nil?)

Next page

Previous page