All pastesPublic feed

Public feed

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

    2104623·php·573 B·2012-01-21 00:36 UTC
    <!-- The following code is being used in Single.php -->
    
     <div class="Category_Headlines_Box">
     <h2><?php $category = get_the_category(); echo $category[0]->cat_name; ?> Headlines</h2>
     <?p
  • Anonymous

    2104620·php·618 B·2012-01-21 00:11 UTC
    <!-- The follow code is being used in Single.php -->
    
     <div class="Category_Headlines_Box">
     <h2><?php $category = get_the_category(); echo $category[0]->cat_name; ?> Headlines</h2>
     <?php
  • Stuff

    2104618·text·572 B·2012-01-20 23:45 UTC
    <?php
    $a1 = rand(1,2);
    $a2 = rand(1,2);
    $a3 = rand(1,2);
    
    if ($a1 == "1" && $a3 == "1" && $a3 == "1") {
    $a1 = "#999";
    $a2 = "#999";
    $a3 = "#999";
    }
    
    elseif ($a1 == "2" && $a3 == "2" && $a3
  • Stuff

    2104617·text·544 B·2012-01-20 23:33 UTC
    <?php
    $a1 = rand(1,2);
    $a2 = rand(1,2);
    $a3 = rand(1,2);
    
    if ($a1 || $a2 || $a3 == "1") {
    $a1 = "#999";
    $a2 = "#999";
    $a3 = "#999";
    }
    
    elseif ($a1 || $a2 || $a3 == "2") {
    $a1 = "#000";
    $a
  • Mine

    2104615·text·1.4 KB·2012-01-20 23:30 UTC
    == Using SIP RTP TOS bits 184
     == Using SIP RTP CoS mark 5
     -- Executing [9722303279@from-internal:1] ResetCDR("SIP/201-00000028", "") in new stack
     -- Executing [9722303279@from-internal:2
  • Anonymous

    2104614·text·582 B·2012-01-20 23:17 UTC
    Name/username Host Dyn Forcerport ACL Port Status
    200/200 192.168.0.62 D A 5060 UNREACHAB
  • Something

    2104613·csharp·1013 B·2012-01-20 23:15 UTC
    Private Function GetHibernateSqlDialect() As String
    
     Try
     ' Retrieve the SQL version (as a dataset) from database
     Dim tableName As String = "version"
  • Anonymous

    2104612·text·7.8 KB·2012-01-20 23:02 UTC
    <?php /* The Comments Template — with, er, comments! */ ?>
     <div id="comments">
    <?php /* Run some checks for bots and password protected posts */ ?>
    <?php
     $req = get_option('require
  • Mine

    2104611·text·644 B·2012-01-20 22:59 UTC
    import java.io.*; 
    
     public class years 
     { 
     public static void main (String[] args) throws IOException 
     {
     BufferedReader myInput = new BufferedReader (new InputStreamReader (Sys
  • Miscellany

    2104610·text·5.8 KB·2012-01-20 22:57 UTC
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show licens
  • Stuff

    2104603·text·739 B·2012-01-20 22:07 UTC
    java.lang.NullPointerException: Error getting setting maxTransfers
    at org.drftpd.PropertyHelper.getProperty(PropertyHelper.java:36)
    at org.drftpd.slaveselection.def.DefaultSlaveSelectionManager.re
  • Parse error

    2104600·text·2.2 KB·2012-01-20 21:05 UTC
    <!-- post -->
     <?php if(is_category() || is_day() || is_month() || is_year() || is_search() || is_tag()) { ?>
     <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
     <div class="post-text">
  • Mine

    2104597·text·5.2 KB·2012-01-20 20:32 UTC
    //Microsoft Developer Studio generated resource script.
    //
    #include "RESOURCE.H"
    
    #define APSTUDIO_READONLY_SYMBOLS
    /////////////////////////////////////////////////////////////////////////////
  • Nester2

    2104596·text·309.6 KB·2012-01-20 20:26 UTC
    
        
  • Something

    2104595·text·783 B·2012-01-20 20:11 UTC
    fHandle = FindFirstFile("D:\\Bilder\\*", &wfd);
     FindNextFile(fHandle,&wfd);
     while (FindNextFile(fHandle,&wfd))
     { 
     std::cout << "FileFound: " << wfd.cFileName[0] << std::endl;
     if (!( (wfd.
  • Mine

    2104592·text·985 B·2012-01-20 19:52 UTC
    BogusNet1(config-router)#do sh ip ro
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
     D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
     N1 - OSPF NSSA exte
  • Unnamed

    2104589·text·11 B·2012-01-20 19:13 UTC
    hello world
  • Someone

    2104588·text·3.2 KB·2012-01-20 19:08 UTC
    2012-01-20 11:01:20 [SEVERE] Could not pass event KeyPressedEvent to BukkitInventoryTools
    java.lang.NullPointerException
     at org.bukkit.craftbukkit.inventory.CraftInventory.getItem(CraftInventory.ja
  • Anonymous

    2104586·text·3.1 KB·2012-01-20 18:55 UTC
    Ehm, I could give a very easy example
    
    Here is an electrical tone on a tape
    
    This tape I can pull through like this, and here I have a meter of tone
    
    How do I create sound from this?
    
    I cut it
  • Untitled

    2104585·text·13.6 KB·2012-01-20 18:44 UTC
    headcrab eichhorn # cat /etc/mpd.conf 
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    # Files and directories ###########

older pastes →