New paste›Public feed

Public feed

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

    982106·cpp·161 B·2008-04-12 08:35 UTC
    DT=t3;
    VXDT = VX*DT;
    pX=pX+VXDT;
    pY=pY+VY*0.5*DT-0.5*G*DT*DT;
    VY=VY-G*DT;
    
    if (pX>=1) VX=-VY;
    if (pY>=1) VY=-VY;
    if (pX<=-1) VX=-VX;
    if (pY<=-1) VY=-VY;
  • Someone

    982105·text·163 B·2008-04-12 08:34 UTC
    DT=t3;
    VXDT = VX*DT;
    pX=pX+VXDT;
    pY=pY+VY*0.5*DT-0.5*G*DT*DT;
    VY=VY-G*DT;
    
    if (pX>=1) VX=-VY;
    if (pY>=1) VY=-VY;
    if (pX<=-1) VX=-VX;
    if (pY<=-1) VY=-VY;
  • Miscellany

    982103·text·38.4 KB·2008-04-12 08:29 UTC
    
        
  • Miscellany

    982101·text·3.7 KB·2008-04-12 08:27 UTC
    NewtonTux:/etc/modprobe.d$ lsmod
    Module Size Used by
    ndiswrapper 244608 0
    ipv6 317192 10
    af_packet 28172 0
    i915 3097
  • Mine

    982100·text·724 B·2008-04-12 08:25 UTC
    SQL query: 
    
    CREATE TABLE `pastebin_hye` (
    
    `pid` int( 11 ) NOT NULL AUTO_INCREMENT ,
    `poster` varchar( 16 ) default NULL ,
    `posted` datetime default NULL ,
    `code` text,
    `parent_pid` int( 11 )
  • Mine

    982099·text·734 B·2008-04-12 08:25 UTC
    SQL query: 
    
    CREATE TABLE `pastebin_hye` (
    
    `pid` int( 11 ) NOT NULL AUTO_INCREMENT ,
    `poster` varchar( 16 ) default NULL ,
    `posted` datetime default NULL ,
    `code` text,
    `parent_pid` int( 11 )
  • gkloin

    982095·php·592 B·2008-04-12 08:11 UTC
    <?
    
    function du($location) {
     if (!$location or !is_dir($location)) {
     return 0;
     }
    
     $total = 0;
    
     $all = opendir($location);
     while ($file = readdir($all)) {
     if (is_d
  • Unnamed

    982093·text·1.3 KB·2008-04-12 08:10 UTC
    . .
     .n . . n.
     . .dP dP 9b
  • Away script

    982092·text·1.6 KB·2008-04-12 08:10 UTC
    alias aaway { if (%Away. [ $+ [ $Me ] ] != $null) { 
     echo 4 -t You're Already Set As Away. }
     else {
     set %Away. [ $+ [ $Me ] ] $$?="Reason For Being Away"
     set %AwayTime. [ $+ [ $Me ] ]
  • Miscellany

    982088·text·11.7 KB·2008-04-12 08:06 UTC
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 1092655440 (LWP 2820)]
    0x00002b1054497b9e in PString::PString () from /usr/lib/libpt_linux_x86_64_r.so.2.3-beta0
    (gdb) thre
  • Untitled

    982086·text·8 B·2008-04-12 08:05 UTC
    Tes tets
  • Untitled

    982084·php·447 B·2008-04-12 08:03 UTC
    <?PHP
    $lang['de']['month'] = "Monat";
    $lang['en']['month'] = "Month";
    
    class Translation {
     
     public function __construct($code) {
     global $lang;
     $this->code = empty($code) ? "en" : $code;
  • Stuff

    982082·text·3.3 KB·2008-04-12 07:58 UTC
    # Be sure to restart your server when you modify this file
    
    # Uncomment below to force Rails into production mode when
    # you don't control web/app server and can't set it the proper way
    # ENV['RAI
  • Anonymous

    982081·text·197 B·2008-04-12 07:55 UTC
    zouzou@localhost ~ $ xrandr -q --verbose
    Screen 0: minimum 320 x 240, current 1280 x 800, maximum 1280 x 800
    default connected 1280x800+0+0 (0x1ac) normal (normal left inverted right) 0mm x 0mm
  • Away script

    982080·text·696 B·2008-04-12 07:50 UTC
    alias aaway {
     set %Away. [ $+ [ $Me ] ] $$?="Reason For Being Away"
     set %AwayTime. [ $+ [ $Me ] ] $ctime
     set %AmIAway. [ $+ [ $Me ] ] Yes
     set %LeaveTime $time
     away %Away. [ $
  • Something

    982077·text·1009.2 KB·2008-04-12 07:48 UTC
    
        
  • Away script

    982075·text·900 B·2008-04-12 07:47 UTC
    alias aaway { if (%Away. [ $+ [ $Me ] ] != $null) { 
     echo 4 -t You're Already Set As Away. }
     else {
     set %Away. [ $+ [ $Me ] ] $$?="Reason For Being Away"
     set %AwayTime. [ $+ [ $Me ] ]
  • Untitled

    982073·text·1.3 KB·2008-04-12 07:45 UTC
    Exiting
    /Volumes/Storage/Projects/TsunamiGS/Ruby/testapp/config/environment.rb:44: undefined method `time_zone=' for #<Rails::Configuration:0x11d4844> (NoMethodError)
     from /opt/local/lib/rub
  • Something

    982072·text·69 B·2008-04-12 07:43 UTC
    Section "Extensions"
     Option "Composite" "0"
    EndSection
  • Stuff

    982067·text·249 B·2008-04-12 07:34 UTC
    osama@osama-laptop:~$ ps ax|grep compiz
    25444 pts/1 S+ 0:00 /bin/sh /usr/bin/compiz --replace
    25495 pts/1 S+ 0:02 /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rende

older pastes →