New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • david

    1042514·text·14.3 KB·2008-06-09 02:18 UTC
    !!################################
    !!ALSA Information Script v 0.4.44
    !!################################
    
    !!Script ran on: Sun Jun 8 14:18:16 MDT 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • david

    1042512·text·14.3 KB·2008-06-09 02:17 UTC
    !!################################
    !!ALSA Information Script v 0.4.44
    !!################################
    
    !!Script ran on: Sun Jun 8 14:17:44 MDT 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • Stuff

    1042451·php·269 B·2008-06-09 00:15 UTC
    echo <<<HTML
    <table>
    <tr>
    HTML;
    
    while($blah = mysql_fetch_array($blah)) {
    
    if($rowcount % 3 = 1){
    echo "<tr>";
    }
    
    echo $blah['content'];
    
    if($rowcount % 3 = 1){
    echo "</tr>";
    $rowcount
  • Stuff

    1042423·text·667 B·2008-06-08 23:13 UTC
    $mid(text,S,N)
    
    Returns N characters starting at position S in text.
    
     
    
    $mid(othello,3,4) returns hell
    
     
    
    If N is zero, it returns the number of characters from S to the end of the line.
  • clueless

    1042413·text·2.5 KB·2008-06-08 22:52 UTC
    # Filename: IndivStaff.rb
    # 
    # This is a class representing a single staff
    # with specific numbers of leger lines above
    # and below the staff.
    
    require 'rubygems'
    require 'RMagick'
    
    class IndivStaff <
  • Something

    1042387·javascript·5.2 KB·2008-06-08 22:11 UTC
    // ==UserScript==
    // @name add_stats.js
    // @namespace http://example.org
    // @description adds information about your current buffer and total download
    // @include http://w
  • Ruby on Rails: Association of Ac

    1042383·ruby·446 B·2008-06-08 22:07 UTC
    # 1:1 Relation
    class Apple < ActiveRecord::Base
     has_one :banana
    end
    
    class Banana < ActiveRecord::Base
     belongs_to :apple
    end
    
    # 1:N Relation
    class Apple < ActiveRecord::Base
     has_many
  • clueless

    1042367·text·130 B·2008-06-08 21:49 UTC
    # Filename: main.rb
    # 
    # let's try IndivStaff
    
    require 'IndivStaff'
    
    aStaff = IndivStaff.new
    puts aStaff.showVars
    aStaff.display
  • clueless

    1042366·text·1.8 KB·2008-06-08 21:49 UTC
    # Filename: IndivStaff.rb
    # 
    # This is a class representing a single staff
    # with specific numbers of leger lines above
    # and below the staff.
    
    require 'rubygems'
    require 'RMagick'
    
    class IndivStaff <
  • asdfsdfsdf

    1042341·text·910 B·2008-06-08 21:21 UTC
    {\rtf1\ansi\ansicpg1251\deff0\deflang1049{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\lang1033\f0\fs28 IF THE PRESENT AIN'T GOOD, IF YO' LIFE DON'T
  • hackthissite challenge 6

    1042325·python·322 B·2008-06-08 21:09 UTC
    def decrypt(string):
     i=0
     translated=''
     for char in string:
     hax=ord(char)
     hax=hax-i
     translated=translated+chr(hax)
     i=i+1
     print translated
    
    def encrypt(string):
     i=0
     translate
  • tritical comb detection

    1042321·diff·29.9 KB·2008-06-08 21:05 UTC
    Index: libhb/decomb.c
    ===================================================================
    --- libhb/decomb.c (revision 1474)
    +++ libhb/decomb.c (working copy)
    @@ -11,7 +11,7 @@
     
     #define SUPPRE
  • Someone

    1042318·text·4.4 KB·2008-06-08 20:54 UTC
    on $*:TEXT:/^[!@]ls$/Si:#teamscripty: {
     var %x 1
     while ($sock(ls. $+ %x)) inc %x
     sockopen $+(ls.,%x) runescape.com 80
     sockmark $+(ls.,%x) $iif($left($1,1) $+(=,=) @ && $istok($readini(boti
  • Jemand

    1042295·text·7.7 KB·2008-06-08 20:29 UTC
    #
    # OpenEmbedded local configuration file (sample)
    #
    # Please visit the Wiki at http://openembedded.org/ for more info.
    #
    #
    # Be SURE to read this file in its entirety and the GettingStarted pag
  • root

    1042277·text·19.9 KB·2008-06-08 20:15 UTC
    !!################################
    !!ALSA Information Script v 0.4.44
    !!################################
    
    !!Script ran on: Sun Jun 8 13:15:13 PDT 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • Unnamed

    1042263·text·2.5 KB·2008-06-08 19:54 UTC
    var Fotolog = {
     loadFlog: function(username, callback) {
     if(!username.match(/^[a-z0-9]+$/)) {
     throw new Error("Invalid username");
     }
     var xhr = new ActiveXObject("MSXML2.XMLHTTP");
     xhr.onre
  • btartsa

    1042256·text·29.6 KB·2008-06-08 19:46 UTC
    !!################################
    !!ALSA Information Script v 0.4.44
    !!################################
    
    !!Script ran on: Sun Jun 8 12:20:33 PDT 2008
    
    !!Linux Distribution
    !!------------------
    
    Ar
  • stan

    1042248·text·16.5 KB·2008-06-08 19:35 UTC
    !!################################
    !!ALSA Information Script v 0.4.44
    !!################################
    
    !!Script ran on: Sun Jun 8 23:35:44 MSD 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • mouse only moves up and down.

    1042244·text·34.4 KB·2008-06-08 19:31 UTC
    
        
  • OmegaScript v2.9

    1042241·mirc·143.5 KB·2008-06-08 19:30 UTC
    
        

older pastes →