All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Heap in python

    2047584·python·1.7 KB·2011-04-18 00:19 UTC
    #!/usr/bin/python
    # -*- coding: utf-8 -*-
    #define max 10
    
    livros = [11,90,123,321,22,34,54]
    livros.append(10)
    print "\nVetor desordenado: \n"
    print livros
    tam = len(livros)
    
    def subirHeap(li
  • Heap in python

    2047576·python·1.4 KB·2011-04-17 23:59 UTC
    #!/usr/bin/python
    # -*- coding: utf-8 -*-
    #define max 10
    
    livros = [11,90,123,321,22,34,54]
    livros.append(10)
    print "\nVetor desordenado: \n"
    print livros
    tam = len(livros)
    
    def subirHeap(li
  • Something

    2047575·php·1.2 KB·2011-04-17 23:58 UTC
    #!/usr/bin/php
    <?php
    
    include("/usr/lib/nagios/plugins/mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n");
  • Something

    2047574·php·1.2 KB·2011-04-17 23:51 UTC
    #!/usr/bin/php
    <?php
    
    include("/usr/lib/nagios/plugins/mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n");
  • Something

    2047573·php·1.2 KB·2011-04-17 23:46 UTC
    #!/usr/bin/php
    <?php
    
    include("/usr/lib/nagios/plugins/mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n");
  • Something

    2047572·php·1.2 KB·2011-04-17 23:44 UTC
    #!/usr/bin/php
    <?php
    
    include("/usr/lib/nagios/plugins/mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n");
  • Mine

    2047571·text·254 B·2011-04-17 23:32 UTC
    (function() 
     
     {
     var allR = document.getElementsByTagName('tr');
     
     for (var i = 0; i < allR.length; i++) 
     {
     if(allR[i].innerHTML.match("<span .*>"+NAME+"</span>"))
     {
     allR[i].
  • Unnamed

    2047570·text·12 B·2011-04-17 23:28 UTC
    third_query
  • Stuff

    2047569·java·10.1 KB·2011-04-17 23:28 UTC
    module alsatest;
    
    import std.string, std.math, std.random, std.time;
    
    alias Sample = short;
    
    class Sound {
     void open() { writeln "unoverridden open()! "; _interrupt 3; }
     void close() { wri
  • Someone

    2047567·text·2.8 KB·2011-04-17 23:23 UTC
    avatrader.fxchip.net. 3600 IN A 77.92.88.1
    azim.fxchip.net. 3600 IN A 46.4.163.205
    batogamo.fxchip.net. 43200 IN A 127.0.0.2
    briscoe.fxchip.net. 3600 IN A 46.4.163.205
    cdzz.fxchip.net. 3600 IN NS
  • Something

    2047564·text·900 B·2011-04-17 23:16 UTC
    (function() {
     var allT; 
     var allR;
     var plonk = new Array(); 
     var ignore_threads_from = ["Fourthmeal", "Dave Thomas"];
     
     for (var i = 0; i < ignore_threads_from.length; i++){
     plonk[igno
  • Unnamed

    2047560·c·3.6 KB·2011-04-17 23:04 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    struct luggage_t
    {
     int bIsRelevant; /* Set to 0 for superseded and filtered-out records */
     char *sField[6]; /* Timestamp, ID,
  • Half-Life changelog

    2047557·text·16.1 KB·2011-04-17 22:52 UTC
    Half-Life Version 1.1.1.0
    Readme File
    
    v1.1.1.0
    --------
    [6.12.02]
    
    Changes/Additions:
    ------------------
    - Ricochet included in this release.
    - Added logging of the anti-cheat system catchi
  • Stuff

    2047556·text·16.1 KB·2011-04-17 22:51 UTC
    Half-Life Version 1.1.1.0
    Readme File
    
    v1.1.1.0
    --------
    [6.12.02]
    
    Changes/Additions:
    ------------------
    - Ricochet included in this release.
    - Added logging of the anti-cheat system catchi
  • Something

    2047553·php·1.1 KB·2011-04-17 22:38 UTC
    <?php
    
    include("mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n"); exit(3);
    }
    
    $row = array();
    $retries
  • Stuff

    2047552·text·7.4 KB·2011-04-17 22:35 UTC
    *** glibc detected *** bin/do-not-directly-run-firestorm-bin: corrupted double-linked list: 0x0b7968c8 ***
    ======= Backtrace: =========
    /lib32/libc.so.6(+0x6c5d1)[0xf69245d1]
    /lib32/libc.so.6(+0x6c
  • Something

    2047551·php·1.1 KB·2011-04-17 22:30 UTC
    <?php
    
    include("mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n"); exit(3);
    }
    
    $row = array();
    $retries
  • Something

    2047550·php·1.1 KB·2011-04-17 22:27 UTC
    <?php
    
    include("mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n"); exit(3);
    }
    
    $row = array();
    $retries
  • Something

    2047548·php·1.1 KB·2011-04-17 22:19 UTC
    <?php
    
    include("mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n"); exit(3);
    }
    
    $row = array();
    $retries
  • Something

    2047546·php·1.1 KB·2011-04-17 22:16 UTC
    <?php
    
    include("mssql_connect.php");
    
    $site_id = $argv[1];
    $warn = $argv[2];
    $crit = $argv[3];
    
    if ( $argc < 4 )
    {
     echo("Not enough args\n"); exit(3);
    }
    
    $row = "";
    $retries = 2;

older pastes →