New paste›Public feed

Public feed

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

    927813·text·256 B·2008-03-04 15:49 UTC
    MYSQL METHOD - getRank() - arguments: score
    
     SELECT COUNT(uID) as rank
     FROM users
     WHERE uScore > <dtml-sqlvar score type=int>
    
    PYTHON SCRIPT
     score = 8908
     rank = co
  • c0m

    927811·apache·1.6 KB·2008-03-04 15:48 UTC
    [Tue Mar 04 10:47:31 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    VirtualHost configuration:
    161.58.88.149:* is a NameVirtualHost
     default server w
  • Untitled

    927808·text·342 B·2008-03-04 15:46 UTC
    buffer = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_RGB);
     bg = buffer.createGraphics();
     
     path = ""+getCodeBase();
     
     bg.setStroke(new BasicStroke(2.5f));
  • Unnamed

    927803·text·3.6 KB·2008-03-04 15:44 UTC
    package service;
    
    import static org.junit.Assert.*;
    
    import java.util.ArrayList;
    import java.util.GregorianCalendar;
    
    import ordination.DagligFast;
    import ordination.DagligSkæv;
    import ordina
  • Vermischtes

    927802·text·3.1 KB·2008-03-04 15:43 UTC
    ofstream myfile;
     myfile.open ("code.txt");
     myfile << "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset
  • Miscellany

    927799·text·2.0 KB·2008-03-04 15:40 UTC
    issuemaps_c=# \d crawled_urls
     Table "public.crawled_urls"
     Column | Type | Modifiers
  • Stats with Summoning

    927797·text·15.5 KB·2008-03-04 15:39 UTC
    on $*:TEXT:/^[!@]/Si:#:{ 
     if ($skill($remove($1,!,@))) { 
     if ($hacked($1-)) { notice $nick $hackedd | halt } 
     if (!$2) { 
     var %name = $iif($hget(defname, $address($nick,2)),$v1,$ni
  • Unnamed

    927795·text·354 B·2008-03-04 15:39 UTC
    $myVar = "hello";
    
    class MyClass
    {
     function __construct()
     {
     echo $myVar;
     }
    }
    
    ///////////////////////////////
    
    $myVar = "hello";
    
    class MyClass
    {
     private $myV
  • Etwas

    927794·text·886 B·2008-03-04 15:39 UTC
    Source Data:
    /foo/bar/xzy
    /foo/bar/xzy/asdf
    /foo/bar/xasdf
    /bar/foo/asdf
    /bar/asdf/foo
    
    - Control string all positive in the beginning (must now the length of the lognest string)
    - Control str
  • C program

    927792·text·344 B·2008-03-04 15:37 UTC
    #include<stdio.h>
    
    int setval(int a){
     int c;
     int x;
     for(x = 0; x < 11; x++){
     c = a * x;
     printf("%d * %d = %d| \n", a, x, c);
     }
    }
    
    int getva
  • Stuff

    927791·text·4.6 KB·2008-03-04 15:34 UTC
    Public Class Form1
    
     Dim levels(0 To 17) As String
     Dim categoryvalues() As String
     Dim categorydescs() As String
     Dim categoryopts() As String
     Public currentcat As String
     D
  • Untitled

    927790·text·354 B·2008-03-04 15:33 UTC
    Szymon.Majewski.Show.S06E01.PL.PDTV.XviD-CWD
    
    Info:
    
    Air date...........: 04/03/2008
    VideoCodec......: XviD 2-pass 863 Kbps
    Runtime...........: 49 min 59 sec
    Resolution........: 576x320
    Audio.
  • Something

    927789·text·8.6 KB·2008-03-04 15:32 UTC
    AddPlayerClass(264,1863.8301,-1597.3312,14.3062,9.4367,0,0,0,0,0,0); // 
    AddPlayerClass(264,1909.8270,-1597.4095,14.3062,5.3867,0,0,0,0,0,0); // 
    AddPlayerClass(264,1972.9445,-1559.8854,13.6397,52.4
  • Unnamed

    927787·text·104 B·2008-03-04 15:31 UTC
    $myVar = "hello";
    
    class MyClass
    {
     function __construct()
     {
     echo $myVar;
     }
    }
  • Untitled

    927785·text·2.9 KB·2008-03-04 15:29 UTC
    Could not insert item 269070763 into DB: Reason: Duplicate entry '269070763' for key 1
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '269070763' for key
  • Miscellany

    927784·cpp·279 B·2008-03-04 15:28 UTC
    std::string _str;
    
    _file.seekg(std::ios::beg);
     while(!_file.eof())
     {
     if(_file.good())
     {
     // create local buffer
     std::string _buf;
     std::getline(_file, _buf);
  • Miscellany

    927783·text·1.4 KB·2008-03-04 15:28 UTC
    [ 356.257323] dmsetup R running task 0 3385 2342
    [ 356.257323] ffff81001c9fbc58 ffffffff812ee85e 0000000000000000 0000000000000001
    [ 356.257323] 0000000000070617 00000000000000
  • Miscellany

    927782·cpp·209 B·2008-03-04 15:27 UTC
    std::string _str;
    
    _file.seekg(std::ios::beg);
     while(!_file.eof())
     {
     if(_file.good())
     {
     // read single chars
     std::string _buf;
     std::getline(_file, _buf);
     _str += (_buf);
  • Something

    927780·text·308 B·2008-03-04 15:26 UTC
    [<ffffffff812d34be>] thread_return+0x5e/0x4e0
     [<ffffffff880490c0>] :dm_mod:table_status+0x0/0xa0
     [<ffffffff880490c0>] :dm_mod:table_status+0x0/0xa0
     [<ffffffff812d5bc9>] error_exit+0x0/0x60
     [<
  • Untitled

    927777·text·373 B·2008-03-04 15:21 UTC
    SM-Asterisk-VM*CLI> load cdr_addon_mysql.so
    [Mar 4 10:14:49] WARNING[15742]: loader.c:363 load_dynamic_module: Error loading module 'cdr_addon_mysql.so': /usr/lib/asterisk/modules/cdr_addon_mysql.so

older pastes →