My Recent Pastes (245405 and counting)

All Pasties (over 245,405 and counting)

Pages: 1 6924 6926 6928 12271

Below are summaries of the most recent pasties.

December 26, 2007
6:32AM EDT

1
2
3
4
5
require 'benchmark'

module Variance
  def sum(&blk)
    if block_given?

December 26, 2007
6:19AM EDT

1
2
3
4
5
                <dict>
                        <key>cell</key>
                        <string>PSGroupCell</string>
                </dict>
                <dict>

December 26, 2007
6:14AM EDT
by blj

1
2
3
4
5
               Options FollowSymLinks
               AllowOverride None
               Order allow,deny
               Allow from all
       </Directory>

December 26, 2007
5:57AM EDT

1
2
3
4
5
Dec 26 12:40:44 nas ypbind[2198]: broadcast: RPC: Timed out.
Dec 26 12:41:38 nas ypbind[2198]: broadcast: RPC: Timed out.
Dec 26 12:42:32 nas ypbind[2198]: broadcast: RPC: Timed out.
Dec 26 12:43:02 nas portmap[3079]: connect from 127.0.1.1 to dump(): request from unauthorized host
Dec 26 12:43:26 nas ypbind[2198]: broadcast: RPC: Timed out.

December 26, 2007
5:49AM EDT

1
2
3
4
5
nas:~# cat /etc/ypserv.securenets 
#
# securenets    This file defines the access rights to your NIS server
#               for NIS clients (and slave servers - ypxfrd uses this
#               file too). This file contains netmask/network pairs.

December 26, 2007
5:38AM EDT

1
2
3
4
5
## Account
  * has one owner (user)
  * has many users
  * has many customers
  * has many invoices

December 26, 2007
5:15AM EDT

1
2
-rwxr-xr-x  1 root  wheel  1280844 Nov  4 00:38 /usr/local/bin/pdftops
-rwxr-xr-x  1 root  admin  1010    Dec 25 21:06 /usr/local/fink/bin/ps2pdfwr

December 26, 2007
4:14AM EDT

1
2
3
4
5
ActionController::Routing::Routes.draw do |map|
  
  map.user_login 'users/login', :controller => 'users', :action => 'login'
  map.resources :users, :collection => {:logout => :get}
  map.articles_impressum 'articles/impressum', :controller => 'articles', :action => 'impressum'

December 26, 2007
3:27AM EDT

1
2
3
4
5
Index: ext/hpricot_scan/hpricot_scan.rl
===================================================================
--- ext/hpricot_scan/hpricot_scan.rl        (revision 157)
+++ ext/hpricot_scan/hpricot_scan.rl        (working copy)
@@ -169,7 +169,7 @@

December 26, 2007
3:26AM EDT

1
2
3
4
5
Index: ext/hpricot_scan/hpricot_scan.rl
===================================================================
--- ext/hpricot_scan/hpricot_scan.rl        (revision 157)
+++ ext/hpricot_scan/hpricot_scan.rl        (working copy)
@@ -169,7 +169,7 @@

December 26, 2007
3:26AM EDT

1
2
3
4
5
Index: view.py
===================================================================
--- view.py        (revision 33)
+++ view.py        (revision 51)
@@ -6,45 +6,12 @@

December 26, 2007
3:13AM EDT

1
2
3
inside config/environments/staging.rb:

eval File.read("#{RAILS_ROOT}/config/environments/production.rb")

December 26, 2007
3:06AM EDT

1
2
ObjectSpace.each_object(Mongrel::HttpServer) { |i| @port = i.port }
MONGREL_PORT = @port

December 26, 2007
3:01AM EDT

1
2
3
4
5
## _form.haml
...
= render :partial => 'picture', :collection => @estate.pictures
...

December 26, 2007
2:55AM EDT

1
2
3
4
5
 /* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with

December 26, 2007
2:52AM EDT

1
## mark a section

December 26, 2007
2:50AM EDT

1
hi 

December 26, 2007
2:16AM EDT

1
test

December 26, 2007
1:39AM EDT

1
2
3
4
5
        <!-- get the source compile classpath in a printable form -->
                <echo message="|>> compile classpath"/>
                <compile module="util"/>
                <compile module="dao"/>
        <compile module="service"/>

December 26, 2007
1:31AM EDT

1
2
3
4
5
## Rails

<ul id="list">
  <% 6.times do |i| -%>
  <li id="item_<%= i+1 %>">I'm number <%= i+1 %></li>

Next page

Previous page