All pastesPublic feed

Public feed

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

    2071349·text·517 B·2011-05-28 20:50 UTC
    from pyglet.gl import *
    
    # Direct OpenGL commands to this window.
    window = pyglet.window.Window()
    
    @window.event
    def on_draw():
     glClearColor(0.0, 0.0, 0.0, 0.0)
     glClear(GL_COLOR_BUFFER
  • Unnamed

    2071346·text·769 B·2011-05-28 20:36 UTC
    from pyglet.gl import *
    
    # Direct OpenGL commands to this window.
    window = pyglet.window.Window()
    
    #glShadeModel (GL_FLAT);
    #glDepthFunc(GL_LEQUAL)
    #glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NI
  • Stuff

    2071345·text·936 B·2011-05-28 20:34 UTC
    Deoxys-S @ Leftovers
    Trait: Pressure
    EVs: 252 HP / 40 Atk / 216 Def
    Impish Nature (+Def, -SAtk)
    - Stealth Rock
    - Spikes
    - Taunt
    - Superpower
    
    Politoed (M) @ Leftovers
    Trait: Drizzle
    EVs: 25
  • Queue Implementation in C

    2071344·c·1.2 KB·2011-05-28 20:32 UTC
    #include <malloc.h>
    #define QMAX 3
    typedef struct
    {
     int id;
    } TCB;
    
    typedef struct
    {
     TCB * arr[QMAX];
     int first;
     int last;
     int empty;
    } tcbqueue;
    
    void initialize_queue(tcbqueue *
  • Unnamed

    2071341·text·658 B·2011-05-28 20:29 UTC
    SELECT
     sta_title,
     count(DISTINCT iss_id) as total
     FROM
     eventum.eventum_issue,
     eventum.eventum_stat
  • Mine

    2071340·text·17.6 KB·2011-05-28 20:28 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.JMenu;
    import javax.sw
  • Mine

    2071329·text·38 B·2011-05-28 20:01 UTC
    sdfafdsafds
    fdsafdsafd
    fdsafdsafffff
  • Mine

    2071328·text·33 B·2011-05-28 20:00 UTC
    sdfafdsafds
    fdsafdsafd
    fdsafdsa
  • Someone

    2071327·cpp·784 B·2011-05-28 20:00 UTC
    void TiledDrawingArea::tileUpdateTimerFired()
    {
     ASSERT(!m_pendingUpdates.isEmpty());
     static const float gUpdateTimeCapMS = 1000;
     float currentTime = WTF::currentTimeMS();
     float en
  • Miscellany

    2071323·text·1.4 KB·2011-05-28 19:58 UTC
    [2:56 PM] Tyler Henthorn: hey amanda whats up?
    Amanda Jordan is idle 2:57 PM
    Amanda Jordan is no longer idle 3:30 PM
    [3:30 PM] Amanda Jordan: Heyy wrkin u??
    [3:31 PM] Tyler Henthorn: working at ho
  • Miscellany

    2071322·text·41.8 KB·2011-05-28 19:55 UTC
    
        
  • Unnamed

    2071320·text·880 B·2011-05-28 19:49 UTC
    Skorupi (F) @ (No Item)
    Trait: Keen Eye
    EVs: 36 HP / 196 Atk / 40 Def / 236 Spd
    Jolly Nature (+Spd, -SAtk)
    - Strength
    - Bug Bite
    - Aerial Ace
    - Faint Attack
    
    Croagunk (F) @ (No Item)
    Trait:
  • Miscellany

    2071316·text·4.3 KB·2011-05-28 19:44 UTC
    Log started: 4/10/2011, 1:53:29 PM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    13:53 <isolizard> Hi :)
    13:53 <Teraunce> hey
    13:53 <isolizard> Something between a dragon and a lizard :D
    13:54 <isolizard> A
  • Someone

    2071313·text·18.2 KB·2011-05-28 19:35 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.JMenu;
    import javax.sw
  • Someone

    2071310·text·16.1 KB·2011-05-28 19:31 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.JMenu;
    import javax.sw
  • Someone

    2071309·text·1.6 KB·2011-05-28 19:28 UTC
    /*
     The following code throws me the exception: addDigitToDisplay(int) in Calculator cannot be applied to (javax.swing.JButton)
    
     It is a compiler error
    
    I also tried adding the addDigitToD
  • Someone

    2071306·text·1.3 KB·2011-05-28 19:17 UTC
    public void actionPerformed(ActionEvent e){
    
     if(e.getSource() == but1)
     {
     addDigitToDisplay(but1);
     }
     else if(e.getSource() == but2)
     {
     addDigitToDisplay(but2);
  • Games by year

    2071303·text·5.9 KB·2011-05-28 18:59 UTC
    1943: ['Bridge']
    1945: ['Chipwits']
    1948: ['FLTSim']
    1949: ['8-Ball Deluxe']
    1950: ['Lolo']
    1951: ['Mahjongg']
    1952: ['Lunar Lander', 'Empire']
    1953: ['Plundered Hearts']
    1954: ['Railroad Tyco
  • Years by game

    2071302·text·6.7 KB·2011-05-28 18:57 UTC
    8-Ball Deluxe: 1949
    Adventure: 1957
    Adventure Construction Set: 1977
    Age of Empires: 1972
    Alchemy: 2000
    Alone in the Dark: 1969
    Altered Beast: 1986
    American McGee's Alice: 1987
    Angry Birds: 19
  • Untitled

    2071301·text·768 B·2011-05-28 18:57 UTC
    SELECT assignee.usr_full_name as assignee_name
     , reporter.usr_full_name as reporter_name
     , iss_id, iss_summary
     , sta_title
     , iss_sta_id
     , iss_created_da

older pastes →