My Recent Pastes (264510 and counting)

All Pasties (over 264,510 and counting)

Pages: 1 8017 8019 8021 13226

Below are summaries of the most recent pasties.

December 13, 2007
12:30PM EDT

1
2
3
4
5
def member_of(groupname):
        def check():
                # replace with actual check if <username> is in <groupname>
                #return cherrypy.request.login == 'joe' and groupname == 'admin'
                print "MEMBER OF CHECK"

December 13, 2007
12:26PM EDT

1
2
3
4
5
 NoMethodError in Signups#edit

Showing signups/_form.erb where line #14 raised:

You have a nil object when you didn't expect it!

December 13, 2007
12:23PM EDT

1
2
3
4
5
while($row = mysql_fetch_array($result))
  {
  $bildurl = $row['bildurl'];
  $sekurl = $row['Sektor'];
  echo "<tr align='center'>";

December 13, 2007
12:20PM EDT

1
2
3
4
5
# cas_user.rb

class CasUser < ActiveRecord::Base
  set_table_name :users
  establish_connection RAILS_ENV == 'test' ? :cas_users_test : :cas_users

December 13, 2007
12:20PM EDT

1
2
3
4
5
<select name=url id=url height=22 width=164>
    <option></option> 
    <option value='$mosConfig_live_site/Ressplanis/images/1er.jpg'>1er Plani</option>
    <option value='$mosConfig_live_site/Ressplanis/images/5ergrau.jpg'>5er grau</option>
    <option value='$mosConfig_live_site/Ressplanis/images/5ergelb.jpg'>5er gelb</option>

December 13, 2007
12:18PM EDT

1
echo 'alessio';

December 13, 2007
12:15PM EDT

1
2
3
4
5
<?php
echo " 
<form name='formcheck' action='insert.php' method='post' align='center' onsubmit='return fifteenth(this);'>
<table background-color=#000000 border=0 cellpadding=0 cellspacing=0 width=400><td background-color=black width=200>Plani-Id:</td>
      <td border=0 width=200 align=center fontsize=15> <input type=text name=Planiid /><td></table>

December 13, 2007
12:12PM EDT

1
2
3
4
5
void dec_to_bin(char *buf, int dec) {
    int curr_len = 12;
    char *tmp;

    tmp = (char *)malloc(curr_len);

December 13, 2007
12:12PM EDT

1
2
3
4
5
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
      <td class="output" align="center" width="100%" bgcolor="#000000">
<?php
$result = mysql_query("SELECT * FROM ressplani ORDER BY ID DESC");

December 13, 2007
12:11PM EDT

1
2
3
4
5
require 'casserver/authenticators/base'
require 'rubygems'
require 'active_record'


December 13, 2007
12:09PM EDT

1
2
3
4
5
<html>
<head>
    <title>Ressplani-Datenbank Login</title>
  <link rel="stylesheet" type="text/css" href="style2.css">
  </head>

December 13, 2007
12:09PM EDT

1
2
3
4
5
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27                                                                    
md: bitmap version 4.39                                                                                                 
NET: Registered protocol family 2                                                                                       
Registering block device major 8                                                                                        
netfront: device eth0 has flipping receive path.                                                                        

December 13, 2007
12:07PM EDT

1
2
3
4
5
authenticator:
 class: CASServer::Authenticators::SQL_SHA256
 database:
   adapter: mysql
   database: cas_users

December 13, 2007
12:06PM EDT

1
2
3
4
5
  # Creates pagination links, using AJAX calls
  def remote_paginating_links(paginator, update = nil, url = {}, html_options = {})
    paginating_links_each(paginator, :name => :page) do |n|
      options = {
        :script => true,

December 13, 2007
12:05PM EDT

1
2
3
4
5
# listen for passed params to construct 'find'
def find_with_scopes(scopes = [], *args)

  # Return default find if no args passed to method

December 13, 2007
12:05PM EDT

1
2
3
4
5
import poser, glob
from glob import glob

for model in glob("C:\\Figures\\*.pz3"):
        poser.OpenDocument(model)

December 13, 2007
12:04PM EDT

1
2
3
4
5
<?php

//Die Ressplanidatenbank ist Eigentum von Draaguul
//und darf ohne schriftliche Genehmigung nicht kopiert,

December 13, 2007
11:51AM EDT

1
2
3
4
5
sam:gbradley sam$ cap deploy:restart
  * executing `deploy:restart'
  * executing "sudo -p 'sudo password: ' /u/apps/pabf/current/script/process/reaper"
    servers: ["10.136.11.86"]
    [10.136.11.86] executing command

December 13, 2007
11:43AM EDT

1
2
3
4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />

December 13, 2007
11:38AM EDT

1
2
3
4
5
<form method="post" name="item_edit_form" onsubmit="$(this).ajaxForm(); return false;" action="/items/update/01603"><input type="hidden" value="put" name="_method"/>  <label for="item_description">Description</label><input type="text" name="item[description]" value="SARANAC PUMPKIN ALE" id="item_description"/>
        
          <label for="item_extra_country">Country</label><input type="text" name="item_extra[country]" value="" id="item_extra_country"/>
        
        <label for="item_extra_alternate_id">Alternate Item</label><input type="text" name="item_extra[alternate_id]" value="" id="item_extra_alternate_id"/>

Next page

Previous page