New paste›Public feed

Public feed

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

    911676·text·977 B·2008-02-20 21:20 UTC
    def gap_binsearch(l, o=0):
     """binary search for a gap in a sequence
    
     takes a list l and an offset for start in the original list o"""
     #protect against zero element list
     if(len(l)
  • acyt2

    911675·text·54.3 KB·2008-02-20 21:19 UTC
    
        
  • Untitled

    911674·text·3.6 KB·2008-02-20 21:18 UTC
    ###############################################################################
    ###############################################################################
    #
    # SERVICES
    #
    ##################
  • Etwas

    911673·text·37.4 KB·2008-02-20 21:17 UTC
    
        
  • Untitled

    911671·text·1.5 KB·2008-02-20 21:13 UTC
    # HCId options
    options {
     # Automatically initialize new devices
     autoinit yes;
    
     # Security Manager mode
     # none - Security manager disabled
     # auto -
  • Untitled

    911664·text·1.2 KB·2008-02-20 21:09 UTC
    mail# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    command_directory = /usr/local/sbin
    config_directory = /usr/local/etc/postfix
    daemon_directory = /usr/local/lib
  • Something

    911663·python·2.1 KB·2008-02-20 21:08 UTC
    #! /usr/bin/env python
    
    import cairo
    from math import pi
    import sys
    import time
    
    scl=0.95
    #scl=0.99425220665277636
    iter=250
    #xdp=-200
    #angle = 2
    angle=0
    xdp=-15
    
    if len(sys.argv) == 2:
  • Anonymous

    911661·text·491 B·2008-02-20 21:08 UTC
    local all postgres ident sameuser
    local all randomusername md5
    
    # TYPE DATABASE USER CIDR-ADDRESS METHOD
    
    # "lo
  • Anonymous

    911660·text·923 B·2008-02-20 21:07 UTC
    if(!IsKeyJustDown(KEY_FIRE,newkeys,oldkeys)){
    new cartype = GetPlayerVehicleID(playerid);
    new modelid;
    modelid = GetVehicleModel(cartype);
    switch(modelid) {
    case 407,578,579,580,582,583,584,585,5
  • Someone

    911659·text·697 B·2008-02-20 21:07 UTC
    <?php
    
    require_once 'classes/blusql/blusql.php';
    $blu = new blusql;
    
    $file_query = "SELECT `filename` FROM `riot2_downloads` WHERE `id` = " . $_GET['id'];
    $file_result = $blu->pull($file_query);
  • Untitled

    911658·text·521 B·2008-02-20 21:07 UTC
    pd-extended dépend de libflac7 ; cependant :
     Le paquet libflac7 n'est pas installé.
     pd-extended dépend de libpng3 ; cependant :
     Le paquet libpng3 n'est pas installé.
     pd-extended dépend de l
  • Miscellany

    911656·text·22.0 KB·2008-02-20 21:05 UTC
    [Kserver1*CLI> 
    AGI Rx << VERBOSE "AGI Request:" 1
     airstar: AGI Request:
    AGI Tx >> 200 result=1
    
    [Kserver1*CLI> 
    AGI Rx << VERBOSE "Array" 1
     airstar: Array
    AGI Tx >> 200 result=1
  • Mine

    911655·text·2 B·2008-02-20 21:04 UTC
    hi
  • Anonymous

    911654·text·85.9 KB·2008-02-20 21:03 UTC
    
        
  • Stuff

    911648·text·340 B·2008-02-20 21:00 UTC
    #!/bin/sh
    
    gst-launch \
     videotestsrc num-buffers=300 ! \
     video/x-raw-yuv,framerate=30/1 ! \
     timeoverlay ! \
     theoraenc ! \
     oggmux ! \
     filesink location=output.ogg \
     audiotestsrc
  • Something

    911647·text·2.3 KB·2008-02-20 20:59 UTC
    # Script to get some extra information about the IP-Adress of your Counter-Strike Source server
    # Script made by Mookie@Efnet Contact me for more information
    # Suggestions are always welcome, post t
  • Something

    911645·text·2.7 KB·2008-02-20 20:58 UTC
    #!/usr/bin/php -q
    <?php
    require('phpagi.php');
    $result = '';
    function connect_db() { 
    $db_connection = mysql_connect ('localhost', '', '') or die (mysql_error()); 
    $db_select = mysql_select_db('
  • Stuff

    911643·text·205 B·2008-02-20 20:57 UTC
    $ sh script/html-export PGCon2008
    ENV[RAILS_ENV]: not found
    script/html-export: 5: Syntax error: "(" unexpected
    
    $ head -1 script/html-export
    #!/usr/bin/env ruby
    
    $ which ruby
    /usr/local/bin/r
  • Someone

    911641·text·285 B·2008-02-20 20:56 UTC
    #NAT-Shitz
    00050 divert 8668 ip from any to any via ed0
    00200 deny ip from any to 127.0.0.0/8
    00300 deny ip from 127.0.0.0/8 to any
    00350 allow ip from 192.168.0.0/24 to any
    00400 allow ip from a
  • Anonymous

    911635·text·823 B·2008-02-20 20:51 UTC
    function __construct()
     {
     print "constructing,";
     $this -> proxFile=fopen("file.cfg","r+"); //resource
     print "test,";
     $this -> ezText = file_get_contents("file.cfg");
     print "test,";

older pastes →