All pastes›Public feed

Public feed

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

    2062897·php·136 B·2011-05-18 01:26 UTC
    $addy = $_POST[email_address] ;
    
    ...
    
    $STH = $dsn->prepare('SELECT firstname, lastname from customers where email_address = $addy');
  • leleobhz

    2062896·c·2.5 KB·2011-05-18 01:23 UTC
    ┌─[leleobhz@daniela.leleobhz.org] 
    └─[~]> gcc -Wall -g -o jogo_ricardo jogo_ricardo.c 
    jogo_ricardo.c: In function ‘main’:
    jogo_ricardo.c:24:5: error: ‘for’ loop initial declarations are only allow
  • Jogo da Velha

    2062894·text·4.3 KB·2011-05-18 01:14 UTC
    #include<stdio.h>
    #include<stdlib.h>
    #include <time.h>
    
    char matriz[3][3]; // a matriz do jogo
    
    char checar(void);
    void inicia_matriz(void);
    void movimento_jogador(void);
    void movimento_compu
  • Anonymous

    2062891·text·109 B·2011-05-18 01:08 UTC
    Calendar calendar = Calendar.getInstance();
    String.valueOf(calendar.get(Calendar.HOUR_OF_DAY)); // returns 0
  • vss2git-105.pl

    2062882·perl·41.8 KB·2011-05-18 00:24 UTC
    
        
  • Something

    2062878·text·4.4 KB·2011-05-17 23:58 UTC
    diff --git a/FragmentLoader.php b/FragmentLoader.php
    index 7ad7f73..76f4bdd 100644
    --- a/FragmentLoader.php
    +++ b/FragmentLoader.php
    @@ -50,13 +50,13 @@ class FragmentLoader {
     
     static public
  • Unnamed

    2062863·text·981 B·2011-05-17 23:18 UTC
    // Helper macro for defining tests.
    #define GTEST_TEST_(test_case_name, test_name, parent_class, parent_id)\
    class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\
     public
  • Untitled

    2062860·python·825 B·2011-05-17 22:51 UTC
    void checkMessages(){ 
     char c = Serial.read(); // get the first character
     
     while (c != 2){c = Serial.read();} // if its not STX, keep going till it is
  • Someone

    2062859·text·2.1 KB·2011-05-17 22:44 UTC
    Handle 0x0014, DMI type 17, 27 bytes
    Memory Device
     Array Handle: 0x0012
     Error Information Handle: Not Provided
     Total Width: Unknown
     Data Width: 64 bits
     Si
  • Stuff

    2062858·text·2.9 KB·2011-05-17 22:43 UTC
    en1gma@CPU-99:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.2.100
    netmask 255.255.255.0
    network 192.168.2.1
    broadcast 192.168
  • Untitled

    2062857·text·1005 B·2011-05-17 22:42 UTC
    Spaffy Heeey there |3
     burakki Hii~
     Spaffy Just wanted to say that there are a couple little rules we all like to follow outta courtesy
     Spaffy First of all, if ya see RP going on, and you're sayi
  • Something

    2062856·python·870 B·2011-05-17 22:32 UTC
    #!/usr/bin/env python
    
    import serial
    
    usbport = '/dev/ttyUSB0'
    
    # Set up serial baud rate
    ser = serial.Serial(usbport, 9600, timeout=1)
    
    calcbit = lambda val: int("".join(map(str, map(int, va
  • Stuff

    2062855·c·1.3 KB·2011-05-17 22:24 UTC
    #include <Servo.h>
    #include "LedControl.h"
    #include <LiquidCrystal.h>
    
    Servo panservo;
    int panpos = 0;
    
    Servo tiltservo;
    int tiltpos = 0;
    
    int xpin = 0;
    int ypin = 1;
    
    LedControl lc=LedCo
  • Stuff

    2062854·text·691 B·2011-05-17 22:23 UTC
    # Line commented out by installer because it failed to verify:
    deb http://security.debian.org/ squeeze/updates main contrib
    # Line commented out by installer because it failed to verify:
    # deb-src
  • Mine

    2062853·text·128.3 KB·2011-05-17 22:19 UTC
    
        
  • Miscellany

    2062850·text·582 B·2011-05-17 22:02 UTC
    wims@wims-VirtualBox:~$ sudo lsmod | grep rt
    [sudo] password for wims: 
    agpgart 32011 1 drm
    rt2800usb 9270 0 
    rt2800lib 33452 1 rt2800usb
    crc_ccitt
  • Anonymous

    2062846·text·13.2 KB·2011-05-17 21:58 UTC
    Question 1 (1.00 points)
    Americans' national identity rests largely upon
    
     a. ethnic kinship. 
     b. common language. 
     c. shared political ideals. 
     d. religion. 
     e. federal law.
  • scan1

    2062841·text·5.0 KB·2011-05-17 21:41 UTC
    SCANNING: 803000000 (us-bcast:69)
    LOCK: none (ss=35 snq=0 seq=0)
    SCANNING: 797000000 (us-bcast:68)
    LOCK: none (ss=35 snq=0 seq=0)
    SCANNING: 791000000 (us-bcast:67)
    LOCK: none (ss=35 snq=0 seq=0)
  • scan0

    2062840·text·5.0 KB·2011-05-17 21:41 UTC
    SCANNING: 803000000 (us-bcast:69)
    LOCK: none (ss=19 snq=0 seq=0)
    SCANNING: 797000000 (us-bcast:68)
    LOCK: none (ss=18 snq=0 seq=0)
    SCANNING: 791000000 (us-bcast:67)
    LOCK: none (ss=18 snq=0 seq=0)
  • Miscellany

    2062838·text·222 B·2011-05-17 21:31 UTC
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.2.100
    netmask 255.255.255.0
    network 192.168.2.1
    broadcast 192.168.2.255
    gateway 192.168.2.1
    
    auto wlan0
    ifa

older pastes →