My Recent Pastes (237817 and counting)

All Pasties (over 237,817 and counting)

Pages: 1 5 7 9 11891

Below are summaries of the most recent pasties.

November 21, 2008
10:17AM EDT

1
2
3
4
5
<?php

$i = 1;
$data = file_get_contents('http://www.carbonmade.com/portfolios/search?q=Brasil&page='.$i);
$emails = fopen("carbonmade.csv", "w+");

November 21, 2008
10:16AM EDT

1
2
3
4
5
>> puts "OK" while false
=> nil
>> begin; puts "OK"; end while false
OK
=> nil

November 21, 2008
10:15AM EDT

1
2
3
4
5
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp" %>
<%@ attribute name="orderAddress" required="true" type="com.homeaway.fwk.domain.SimpleAddress" description="Address field" %>
<p>
        ${orderAddress.addressLine1}<br />
        ${orderAddress.addressLine2}<br />

November 21, 2008
10:12AM EDT

1
2
3
4
5
GAS LISTING /tmp/ccksPvSo.s                         page 1


   1                               .file        "blinkin.c"
   2                       __SREG__ = 0x3f

November 21, 2008
10:10AM EDT
by enebo

1
2
3
4
5
static VALUE
rb_file_chown(obj, owner, group)
    VALUE obj, owner, group;
{
    OpenFile *fptr;

November 21, 2008
10:09AM EDT

1
2
3
4
5
  for(i = 0; i < 1000000; i++) {
    flag[m] = 1;
    *turn = n;
    while(flag[n] && *turn == n)
      sched_yield();

November 21, 2008
10:07AM EDT

1
2
3
4
5
( ! ) Exception: wtf in /path/to/DoctrineController.php on line 364
Call Stack
#        Time        Memory        Function        Location
1        0.0001        45372        {main}( )        ../index.php:0

November 21, 2008
10:07AM EDT

1
2
3
4
5
Method Invocation Result for PaxSoap#Reveal

Invocation took 0.092158 seconds

Return Value:

November 21, 2008
10:06AM EDT

1
2
3
4
5
# This defines the methods that will be published in the wsdl:
class PaxApi < ActionWebService::API::Base
  
  api_method :reveal, :expects => [:string], :returns => [PaxResponse]
  

November 21, 2008
10:05AM EDT

1
2
3
4
5
## attempt 1
        var a = {};
        a["foo"] = "bar";
        
        function get(hash, key) {

November 21, 2008
10:05AM EDT

1
2
3
4
5
levels("bluehat")

bluehat
nopants greenhat redhat
lonelygirl13 cheeseboy

November 21, 2008
10:04AM EDT

1
2
dooooooooo
oooooooood

November 21, 2008
10:02AM EDT

1
2
3
4
5
def levels(username)
  visited = {username->true}
  queue = [username}
  BFS{queue,visited)
end

November 21, 2008
10:02AM EDT

1
2
3
4
5
var stripWidth = 0;
$('.partner-photos ul img').wrap("<li></li>");
$('.partner-photos ul').find("img").each(function(i){
         stripWidth += jQuery(this, i).width();
});

November 21, 2008
10:01AM EDT

1
2
3
4
5
var stripWidth = 0;
$('.partner-photos ul img').wrap("<li></li>");
$('.partner-photos ul').find("img").each(function(i){
         stripWidth += jQuery(this, i).width();
});

November 21, 2008
9:59AM EDT

1
2
3
4
reqire "open-uri"
require "hpricot"

Hpricot(open("http://37signals.com")).search('script').map { |s| s.inner_html unless s['src'] }.compact

November 21, 2008
9:57AM EDT

1
2
3
4
5
class TunerController < ApplicationController
        
        # Basic HTTP authentication.
        USER, PASSWORD = "github", "secret"
        before_filter :authenticate

November 21, 2008
9:55AM EDT

1
2
3
4
5
"""
cpe488quiz1-1.py

Natthapol Hathainiramol ID:49270618
CPE488 Digital Image Processing and Computer Vision (2/2008)

November 21, 2008
9:54AM EDT

1
2
3
4
5
<?php
$database = '../../data/file.txt';
$name_field = 'names';
$phone_field = 'phone';
$email_field = 'email';

November 21, 2008
9:52AM EDT

1
2
3
4
5
class TunerController < ApplicationController
        
        # Basic HTTP authentication.
        USER, PASSWORD = "github", "secret"
        before_filter :authenticate

Next page

Previous page