My Recent Pastes (196752 and counting)

All Pasties (129 and counting)

Pages: 1 ... 6923 6924 6925 6926 6927 ... 7871

Below are summaries of the most recent pasties.

December 10, 2006
3:58PM EDT

1
2
3
4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                <title>Blackjack Admin Panel</title>

December 10, 2006
3:50PM EDT

1
2
3
4
5
///////////////////////////////////////////////////////////////////////////

//

// Pro24301        Write a program that simulates the Jeopardy contestant

December 10, 2006
3:34PM EDT

1
2
3
4
5
$ dmesg |egrep -i cpu
Initializing CPU#0
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K

December 10, 2006
3:33PM EDT

1
2
3
4
5
import java.util.*;

class VectorSort {
        static Vector insertionSort(Vector input) {
                int pos = 0;

December 10, 2006
3:21PM EDT
by Caius Durling

1
2
3
4
5
        class ClassName
        {
                #        internal variables
                var $test;
                

December 10, 2006
3:19PM EDT
by courtenay

1
2
3
4
5
$ mongrel_rails cluster::start
(mongrel running on 8830 and 8831)

lighty config

December 10, 2006
3:02PM EDT

1
2
3
4
5
Sun Dec 10 07:38:27 2006 [pid 7767] CONNECT: Client "64.57.64.70"
Sun Dec 10 07:38:28 2006 [pid 7769] CONNECT: Client "64.57.64.70"
Sun Dec 10 07:38:30 2006 [pid 7768] [root] FAIL LOGIN: Client "64.57.64.70"
Sun Dec 10 14:07:15 2006 [pid 7956] CONNECT: Client "69.159.93.214"
Sun Dec 10 14:07:18 2006 [pid 7955] [anonymous@ftp.microsoft.com] FAIL LOGIN: C$

December 10, 2006
2:57PM EDT
by joshua

1
2
3
4
5
/* 
  Mootools AJAX extensions for Rails compliance
  Requires Element, String and Array CNET extensions  http://clientside.cnet.com/libraries/cnets-global-framework/mootools-extended/
*/

December 10, 2006
2:54PM EDT
by joshua

1
2
3
4
5
        $$('.story-section').each(function(el){
                el.addEvent('mouseover', function(e){
                        $('edit-bar-'+el.IDtoString()).show();
                });
                el.addEvent('mouseout', function(e){

December 10, 2006
2:47PM EDT

1
2
3
4
5
Procedure QuickSort(numbers : Array of Integer; size : Integer);

Begin
 QSort(numbers, 0, size-1);

December 10, 2006
2:38PM EDT

1
2
3
4
5
        def build_invoice_body

          pdf_object.start_page_numbering(500,20,8,:right)
          pdf_object.y = 620

December 10, 2006
2:26PM EDT

1
2
3
4
5
#include <iostream>
using namespace std;

int print_function (int answer1,int answer2,int answer3){
        return;

December 10, 2006
2:22PM EDT

1
2
3
4
5
mbp% diff -ur searching searching.bak --exclude=.svn       
diff -ur --exclude=.svn searching/app/controllers/application.rb searching.bak/app/controllers/application.rb
--- searching/app/controllers/application.rb    2006-12-10 13:13:34.000000000 -0600
+++ searching.bak/app/controllers/application.rb        2006-12-10 04:19:15.000000000 -0600
@@ -39,7 +39,11 @@

December 10, 2006
2:02PM EDT

1
2
3
4
5
What is the capital of Georgia?
a) Candy Land
b) Jesus Loves Usville
c) Atlanta
d) Bumfuck

December 10, 2006
1:51PM EDT
by Charilaos Skiadas

1
2
3
for file in `ls|grep  -E "^Faktura_nr"`; do
  mv "$file" "human_content_$file"
done

December 10, 2006
1:51PM EDT

1
2
3
4
5
#include <iostream>
using namespace std;

int Addition_Function (int n1,int n2){
        int number3 = n1 + n2;

December 10, 2006
1:48PM EDT
by Runar Dankel

1
grep: invalid option -- ^

December 10, 2006
1:46PM EDT
by Runar Dankel

1
Fakura_nr4a_Mai_total_mva_Runar_Dankel.pdf

December 10, 2006
1:39PM EDT

1
2
3
4
5
This works:
...
(field1, field2, field3, field4, field5) = line.split(/\s+/)
if field1 =~ /^is-/ then 
  puts "field1 #{field1} ${field5}" 

December 10, 2006
1:32PM EDT

1
2
3
4
5
#!/usr/bin/env ruby

# Dustin McCormick <djmccormick@bsu.edu>
# Ruby 1.8.5 <http://www.ruby-lang.org/> (platform independent)
# CS 124, Fall 2006

December 10, 2006
1:31PM EDT
by dentarg

1
2
3
4
5
path=(
        .
        ~/bin
        /bin
        /sbin

December 10, 2006
1:07PM EDT

1
2
3
4
5

import static javax.swing.JScrollBar.*;

import java.awt.*;

December 10, 2006
12:57PM EDT
by heavysixer_

1
2
3
4
5
class Reader < ActiveRecord::Base
  is_a_collection :of => ["blogs"]
end

class Feed < ActiveRecord::Base

December 10, 2006
12:48PM EDT

1
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"    data: no]

December 10, 2006
12:47PM EDT

1
2
3
4
5
Pseudo code:

Main()
 - print ( 'Welcome to find the target.' )
 - print ( 'try to find the target ( # ) by guessing its x and y coordinates' )

Next page

Previous page