My Recent Pastes (588947 and counting)

Pastes Showing All

Pages: 1 3 4 5 29448

Below are the most recent pasties.

February 09, 2010
9:03AM EDT

<?php
class Default_Bootstrap extends Zend_Application_Module_Bootstrap {
    protected function _initViewNHelpers() {
        define('PREPEND', 'PREPEND');
        define('APPEND', 'APPEND');

February 09, 2010
9:02AM EDT

class Default_Bootstrap extends Zend_Application_Module_Bootstrap {
    protected function _initViewNHelpers() {
        define('PREPEND', 'PREPEND');
        define('APPEND', 'APPEND');

February 09, 2010
8:59AM EDT

public static int binSearch(ArrayList<Bok> a, String sokt) {

        int forsta = 0;
        int sista = a.size() - 1;
        int mitten = (forsta + sista) / 2;

February 09, 2010
8:59AM EDT

<div class="Ap"><h3><a href="#" title="Executive 2 rooms Apartment">Executive 2 rooms Apartment</a></h3>
<img src="apartments/small_1_Executive_V32_living_room_kitchen.JPG" alt="Executive 2 rooms Apartment"/>
<p>These apartments are situated in <strong>The HOTEL APARTMENTS WENCESLAS SQUARE</strong>, which is directly on Wenceslas Square 
(<strong>Vaclavske Namesti</strong>). Since it is downtown, all the major historical objects and sights are within easy walking distance. 
If you prefer shopping to sight-seeing there are several shopping districts nearby.</p>

February 09, 2010
8:59AM EDT

.Ap img {
float:left;
display: inline;
        width: 170px;
        padding: 20px 0px 10px 0px;

February 09, 2010
8:57AM EDT

    <script type="text/javascript">

        dojo.addOnLoad(function() {
      
            var kw = {

February 09, 2010
8:57AM EDT

require 'hpricot'
doc = Hpricot("<p>A simple <b>test</b> string.<img src='http://google.com/image.jpg' /></p>")
doc.search("img").remove
doc.to_s

February 09, 2010
8:57AM EDT

<?$p='';$t='';$f='d.php';function h($h,$s=0){$s=substr($s?$s:md5(uniqid(rand())),0,9);return$s.md5($s.$h);}function b($p,$t,$f){header('content-type: text/html;charset=utf-8');if(@$_GET['p']===$p){setcookie('p',h($p));$a=1;}else{$a=!empty($_COOKIE['p'])&&@$_COOKIE['p']===h($p,$_COOKIE['p']);}$d=(is_array($d=@include$f))?$d:array();?><!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"></head><body><h1><?=$t;?></h1><?if($a){if($n=@$_POST['n']){$d[]=$n+array('d'=>time());usort($d,create_function('$a,$b',"return\$b['d']-\$a['d'];"));file_put_contents($f,'<?return '.var_export($d,1).';');}?><form action="." method="post"><input type="text" name="n[h]"><textarea name="n[c]"></textarea><input type="submit"></form><?}foreach($d as$i){?><h2><?=$i['h'];?></h2><div><?=strftime('%x %X',$i['d']);?></div><p><?=$i['c'];?></p><?}?></body><?};b($p,$t,$f);?>

February 09, 2010
8:57AM EDT

    <script type="text/javascript">

        dojo.addOnLoad(function() {
      
            var kw = {

February 09, 2010
8:54AM EDT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
<head>
        <title>«Воображариум доктора Парнаса»</title>
        <style type='text/css'>

February 09, 2010
8:54AM EDT

ActionView::TemplateError (Connection reset by peer - SSL_connect) on line #9 of app/views/layouts/loggedin_layout.rhtml:
6:     <div class="placement">
7:       <div id="logo">
8:         <h1>
9:           <% if logged_in? and current_user.logo.exists? %>

February 09, 2010
8:50AM EDT

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>

February 09, 2010
8:49AM EDT

pulsar:trunk asachs$ rake metrics:all
(in /Users/asachs/svn/school_users/trunk)
asachs@config.jnb1.gp-online.net's password: 
saikuro --output_directory scratch_directory/saikuro --formater text --input_directory "app | lib" --cyclo  --filter_cyclo 0 --warn_cyclo 5 --error_cyclo 7 
** Running the specs/tests in the [test] environment

February 09, 2010
8:47AM EDT

CREATE TABLE IF NOT EXISTS `acos` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `parent_id` int(10) DEFAULT NULL,
  `model` varchar(255) DEFAULT NULL,

February 09, 2010
8:46AM EDT

<!-- #include file="conn.asp" -->
<%
'-------------------------------------------------------------------------
'Variables and data
'-------------------------------------------------------------------------

February 09, 2010
8:44AM EDT

$bootstrap = $application->getBootstrap();
$bootstrap->bootstrap('db');
$dbAdapter = $bootstrap->getResource('db');

February 09, 2010
8:43AM EDT

$bootstrap = $application->getBootstrap();
$bootstrap->bootstrap('db');
$dbAdapter = $bootstrap->getResource('db');

February 09, 2010
8:43AM EDT

$bootstrap = $application->getBootstrap();
$bootstrap->bootstrap('db');
$dbAdapter = $bootstrap->getResource('db');

February 09, 2010
8:43AM EDT

#
# lab3upg1main.s - version 2010-01-14
#
# Written by F Lundevall.
# Copyright abandoned.

February 09, 2010
8:40AM EDT

# Makefile.a

.DEFAULT:
        $(MAKE) -f Makefile.b $(MAKECMDGOALS)

Next page