New paste›Public feed

Public feed

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

    996379·diff·1.1 KB·2008-04-24 22:02 UTC
    Index: Player.cpp
    ===================================================================
    --- Player.cpp (revision 5691)
    +++ Player.cpp (working copy)
    @@ -4021,17 +4021,15 @@
     
     if (level>GT_MAX
  • Anonymous

    996378·csharp·656 B·2008-04-24 22:02 UTC
    public Vector3 Project(Vector3 source, Matrix projection, Matrix view, Matrix world)
    {
     Matrix matrix = Matrix.Multiply(Matrix.Multiply(world, view), projection);
     Vector3 vector = Vector3.Tr
  • tofer

    996377·text·14.5 KB·2008-04-24 22:01 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Fri Apr 25 00:01:32 CEST 2008
    
    !!Linux Distribution
    !!------------------
    
    W
  • Untitled

    996374·text·995 B·2008-04-24 21:57 UTC
    Order of Waves:
    
    1. 22
    2. 22 22
    3. 45
    4. 45 22
    5. 45 22 22
    6. 45 45
    7. 90
    8. 90 22
    9. 90 22 22
    10. 90 45
    11. 90 45 22
    12. 90 45 22 22
    13. 90 45 45
    14. 90 90
    15. 180
    16. 180 22
    17. 18
  • Collision

    996373·csharp·519 B·2008-04-24 21:57 UTC
    //Unmove previous move
    x=xprevious;
    y=yprevious;
    //Move until you hit the wall
    move_contact_solid(direction,speed);
    //If you hit the ground
    if(!place_free(x,y+1)){
     //Don't move up or down
  • Anonymous

    996368·csharp·742 B·2008-04-24 21:53 UTC
    public Vector3 Unproject(Vector3 source, Matrix projection, Matrix view, Matrix world)
    {
     Vector3 position = new Vector3();
     Matrix matrix = Matrix.Invert(Matrix.Multiply(Matrix.Multiply(worl
  • Untitled

    996366·c·1.7 KB·2008-04-24 21:52 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include "list.h"
    #define _GNU_SOURCE
    
    int main()
    {
     int option, n, id, i;
     student *st = NULL;
     char name[64];
     
     
     while(1)
     {
     system("clear");
  • Untitled

    996365·text·1.7 KB·2008-04-24 21:52 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include "list.h"
    #define _GNU_SOURCE
    
    int main()
    {
     int option, n, id, i;
     student *st = NULL;
     char name[64];
     
     
     while(1)
     {
     system("clear");
  • Mine

    996364·text·129 B·2008-04-24 21:52 UTC
    on (release) { 
    if (code.text == "code")
     {
     gotoAndPlay("correct");
     } 
    
    else {
     gotoAndPlay("wrong");
     }
     
    }
  • Something

    996362·php·492 B·2008-04-24 21:50 UTC
    // if env var is set and no session var, then not accepted
    if (getenv('PHP_ckset') == true && !isset($_SESSION['foo'])){
     echo 'cookies not accepted';
    }
    // if env var isn't set, and no session var
  • Something

    996361·text·1.8 KB·2008-04-24 21:50 UTC
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
    <html>
     <head>
     <META http-equiv="Content-Type" content="text/html; charset=utf-16">
     <style type
  • Something

    996358·php·492 B·2008-04-24 21:48 UTC
    // if env var is set and no session var, then not accepted
    if (getenv('PHP_ckset') == true && !isset($_SESSION['foo'])){
     echo 'cookies not accepted';
    }
    // if env var isn't set, and no session var
  • Someone

    996357·text·362 B·2008-04-24 21:47 UTC
    Ant || Otoom || says (22:45):
    People say Delphi is nice, / easy.
    Ant || Otoom || says (22:45):
    Good for trojans.
    Rhys says (22:45):
    Arent delphi exe sizes over 9000?
    Ant || Otoom || says (22:46)
  • private ip

    996354·text·1.1 KB·2008-04-24 21:44 UTC
    Node Time (msec) Address Name
     001 9 172.17.47.254 ?
     002 16 73.124.42.1 ?
     003 192 68.87.136.181 GE-1-21-ur01.elkton.md.bad.comcast.net
     004 22 68.87.128.125 te-9-3-ur01.aber
  • Miscellany

    996351·text·1.5 KB·2008-04-24 21:42 UTC
    $ java -jar jacc.jar json.jacc
    WARNING: 2 rules never reduced
    
    WARNING: conflicts: 1 shift/reduce, 6 reduce/reduce
    
    ***************************************************
    *** json.jacc follows:
  • Untitled

    996350·text·1.0 KB·2008-04-24 21:42 UTC
    ale1987@marambaia:~$ ifconfig
    eth0 Link encap:Ethernet Endereço de HW 00:0f:ea:af:fe:cc 
     inet end.: 172.30.0.152 Bcast:172.30.0.255 Masc:255.255.255.0
     endereço inet6: f
  • KIA / Mini-Tutorial - $v1 $v1

    996349·mirc·1.3 KB·2008-04-24 21:40 UTC
    alias iftest {
     ;Next line echos "hello world" because the left and right sides
     ;of the if statement are assigned to $v1 and $v2, respectively
     if (hello != world) echo -a $v1 $v2
    
     ;Next fe
  • Jemand

    996348·text·1.3 KB·2008-04-24 21:40 UTC
    import java.io.IOException;
    
    public class Palindrom {
     public static void main(String[] args) {
     byte[] buffer = new byte[30]; 
     int length = 0;
     // write introduction to screen
     System.out
  • Unnamed

    996347·text·634 B·2008-04-24 21:38 UTC
    ale1987@marambaia:~$ ifconfig eth0
    eth0 Link encap:Ethernet Endereço de HW 00:0f:ea:af:fe:cc 
     inet end.: 172.30.0.152 Bcast:172.30.0.255 Masc:255.255.255.0
     endereço in
  • Untitled

    996346·text·1.1 KB·2008-04-24 21:37 UTC
    # ./digitemp_DS9097 -s /dev/ttySAC2 -i
    DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
    GNU Public License v2.0 - http://www.digitemp.com
    Turning off all DS2409 Couplers
    
    Searching the 1-Wire

older pastes →