All pastesPublic feed

Public feed

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

    2105528·text·178 B·2012-01-23 22:58 UTC
    function displayAvatar($username) {
     if(empty($username)) $username = $_SESSION['username'];
     $query = 'SELECT * FROM users WHERE username="'.$username.'"';
     ...........
    }
  • Mine

    2105527·diff·14.4 KB·2012-01-23 22:55 UTC
    diff --git a/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp b/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp
    index 0ff7022..50bfa97 100644
    --- a/Source/WebCore/platform/gra
  • Someone

    2105526·text·155 B·2012-01-23 22:52 UTC
    Windows Server 2003, Standard Edition 69916-OEM-4418227-68572 C6HPG-F8VV3-D4JRB-QVJT7-DD926 C:\WINDOWS Dodatek Service Pack 2 BMKSRV 2012-01-23 19:18:03
  • Mine

    2105525·text·1.6 KB·2012-01-23 22:50 UTC
    Here's the output of the program:
    
    iwhitloc@lore:~/lab1-src$ ./lab1
    Address of the function donothing() is 0x10a54
    Address of integer a is 0x20e30
    Address of array b is 0x20e6c
    Address of array
  • Unnamed

    2105522·cpp·3.0 KB·2012-01-23 22:50 UTC
    //Melody - Will play a melody 
    
    //Constants
    #define speakerPin 14 //Pin the speaker is connected to
    #define noteLength 300 //How long the notes last
    #define A 440 //Frequency of lower A (lowest p
  • Unnamed

    2105521·cpp·3.1 KB·2012-01-23 22:44 UTC
    //Melody - Will play a melody 
    
    //Constants
    #define speakerPin 14 //Pin the speaker is connected to
    #define noteLength 300 //How long the notes last
    #define A 440 //Frequency of lower A (lowest p
  • Unnamed

    2105520·text·555 B·2012-01-23 22:40 UTC
    <?php $var = $twg_gpo_button_display_in; $$var = 'selected="selected"'; ?>
     <select name="twg_gpo_button_display_in" id="twg_gpo_button_display_in">
     <option <?php echo $po
  • Unnamed

    2105519·text·1.3 KB·2012-01-23 22:32 UTC
    UPDATE
     C3_Stats3 AS s3 
     JOIN (
     SELECT
     s.SR_Number,
     SR_Activity_User_CCO_ID AS SLA_Initial_Contact_CCO_ID,
  • Unnamed

    2105517·text·646 B·2012-01-23 22:05 UTC
    UPDATE C3_Stats3 AS s3 JOIN (
     SELECT
     s.SR_Number, 
     SR_Activity_User_CCO_ID AS SLA_Initial_Contact_CCO_ID,
     SR_Activity_User_Workgroup AS SLA_Initial_Contact_Workgroup
     FROM 
     C3_Sta
  • test

    2105516·text·4 B·2012-01-23 21:58 UTC
    test
  • Someone

    2105511·text·7 B·2012-01-23 21:17 UTC
    ac dc
  • Miscellany

    2105509·text·488 B·2012-01-23 21:12 UTC
    UPDATE C3_Stats AS c
    
    SET
     MTTR_In_Hours = (
     SELECT t1.MTTR_In_Hours FROM (
     SELECT
     c.SR_Number,
  • Untitled

    2105508·text·626 B·2012-01-23 21:06 UTC
    UPDATE C3_Stats2 AS s
    
    SET SLA_Initial_Contact_CCO_ID = (
     SELECT 
     t1.SR_Number,
     t1.SLA_Initial_Contact_CCO_ID
     FROM (
     SELECT
     s.SR_Number, 
     SR_Activity_User_CCO_ID AS SLA_Initial
  • Anonymous

    2105497·text·14.6 KB·2012-01-23 20:39 UTC
    How to Migrate to a Solid-State Drive Without Reinstalling Windows
    Installing a solid-state drive is one of the best upgrades you can make to your computer, but migrating your Windows installation to
  • Unnamed

    2105496·text·67.9 KB·2012-01-23 20:38 UTC
    
        
  • Something

    2105492·text·4.9 KB·2012-01-23 20:00 UTC
    Το ακόλουθο πείραμα, αποδίδεται στον Αμερικανό ψυχολόγο ερευνητή Χάρι Χάρλοου (Harry Harlow) και φέρεται να συνέβη στη δεκαετία του ’60. Ο Χάρλοου είχε πραγματοποιήσει και άλλα πειράματα με πιθήκους,
  • Someone

    2105489·text·179 B·2012-01-23 19:49 UTC
    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -not -iname "ro*.lproj" -exec echo {} \; | sed -e 's/\.\///'`; do rm -vr ./$file ; done
  • Unnamed

    2105487·text·26.9 KB·2012-01-23 19:39 UTC
    FreePBX
    FreePBX 2.9.0.9 on 192.168.11.40
    
     Admin
     Reports
     Panel
     Recordings
     Help
     
    
    FreePBX
    Logged in: quorumadmin (Logout) 
    
     Setup
     Tools
     
    
     Admin
  • Miscellany

    2105485·text·561 B·2012-01-23 19:38 UTC
    [root@icewind ~]# pacman-key --init
    gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
    gpg: no ultimately trusted keys found
    gpg: Generating pacman keychain master key...
    /usr/bin/pacman-key: l
  • Untitled

    2105475·text·2 B·2012-01-23 19:11 UTC
    oy

older pastes →