New paste›Public feed

Public feed

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

    982844·javascript·1.1 KB·2008-04-12 21:29 UTC
    this goes between the <head> tags
    
    <script language=javascript type='text/javascript'>
    function hideDiv() {
    if (document.getElementByid) { // doM3 = IE5, NS6
    document.getElementByid('hideShow').s
  • Someone

    982842·text·944 B·2008-04-12 21:26 UTC
    #!/bin/bash
    
    for i in $(seq 100); do
     echo -n $i" " > under-test.txt
     echo -n $i" " > correct-result.txt
    
     for ii in $(seq $i -1 1); do
     echo -n $ii" " >> under-test.txt
     do
  • Something

    982841·text·2.5 KB·2008-04-12 21:26 UTC
    CALC SCRIPT
    
    on $*:TEXT:/^[!@]calc */Si:#:{
     $iif($left($1-,1) == @,.msg $chan,.notice $nick) 1[2Calculator1] $2- = $bytes($calc($remove($replace($2-,k,*1000,m,*1000000,b,*1000000000,x,*,pi,3
  • Stuff

    982840·text·525 B·2008-04-12 21:25 UTC
    on *:TEXT:wb*:#: {
     /set %wb $rand(1,7)
     if (1 isin %wb) { /msg $chan 12 $nick 11 welcomes back 13 $2 }
     if (2 isin %wb) { /msg $chan 11 $nick 13 welcomes back 8 $2 }
     if (3 isin %wb)
  • Mine

    982838·text·628 B·2008-04-12 21:24 UTC
    on *:TEXT:*brb*:#:{|Be( )?Right( )?Back)/Si:#: { 
     if (!%brb. [ $+ [ $nick ] ]) {
     set %brb. [ $+ [ $nick ] ] $nick
     set %gone. [ $+ [ $nick ] ] $ctime
     msg $chan 12 $+ $nick 14will
  • Anonymous

    982835·text·6.3 KB·2008-04-12 21:22 UTC
    SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session_t *session, const char *uuid, switch_eavesdrop_flag_t flags)
    {
     switch_core_session_t *tsession;
     switch_status_t st
  • Miscellany

    982834·text·1.3 KB·2008-04-12 21:21 UTC
    [tapke@boobs-pc Logs]$ cat /proc/cpuinfo 
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
    stepping : 13
    cpu MHz :
  • Anonymous

    982833·text·6.2 KB·2008-04-12 21:20 UTC
    SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session_t *session, const char *uuid, switch_eavesdrop_flag_t flags)
    {
     switch_core_session_t *tsession;
     switch_status_t st
  • chikin

    982831·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982830·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982829·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982828·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982827·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982826·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • chikin

    982825·lua·3.0 KB·2008-04-12 21:12 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • Pikhq

    982822·text·7.2 KB·2008-04-12 21:08 UTC
    2008-04-12T21:07:03Z INFO: saveToFile: Saving settings to file: /home/pikhq/.secondlife/user_settings/settings_default.xml
    2008-04-12T21:07:03Z INFO: anotherInstanceRunning: Checking marker file for
  • Untitled

    982819·text·3.8 KB·2008-04-12 21:04 UTC
    on *:TEXT:!bomb:#:{ if (%playing [ $+ [ $nick ] ] == 1) { notice $nick You're already playing! | halt } ; If they're already playing, they can't begin a new game.
    else { set %wire [ $+ [ $nick ] ] $r
  • Pikhq

    982817·text·462 B·2008-04-12 21:03 UTC
    2008-04-12T21:02:18Z INFO: parse_args: Setting viewer feature table to run in safe mode, resetting prefs
    2008-04-12T21:02:18Z INFO: handleViewerCrash: Creating crash marker file /home/pikhq/.secondli
  • chikin

    982815·lua·3.0 KB·2008-04-12 21:02 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1
  • Marathon Script

    982812·lua·3.0 KB·2008-04-12 21:00 UTC
    debounces = { }
    runspeed = { }
    jumppower = { }
    runstatus = { }
    jumpstatus = { }
    startconfig = { runstat = 0, jumpstat = 0, runspd = -10,jumppwr = -10, runstatfornxtlvl = 10, jumpstatfornxtlvl = 1

older pastes →