All pastesPublic feed

Public feed

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

    2052467·text·615 B·2011-05-01 08:25 UTC
    SELECT node.title AS node_title, node.nid AS nid, users_node.name AS users_node_name, users_node.uid AS users_node_uid, node.created AS node_created
    FROM 
    {node} node
    INNER JOIN {relation_data} rel
  • Mine

    2052466·text·4.6 KB·2011-05-01 08:24 UTC
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    package org.cogbot.scripting;
    
    import java.io.Serializable;
    import java.util.*;
    import java.
  • Stuff

    2052460·text·296 B·2011-05-01 08:07 UTC
    root@nixbox /opt/systemtap_scripts % cat stat_aggregates.stp 
    global reads
    probe vfs.read
    {
     reads[execname(), pid()] <<< 1
    }
    probe timer.s(3)
    {
     foreach([var1, var2] in reads){
  • root

    2052459·text·26.5 KB·2011-05-01 07:55 UTC
    #test.stp
    global reads
    probe vfs.read
    {
     reads[execname()] ++
    }
    probe timer.s(3)
    {
     foreach (count in reads)
     printf("%s : %d \n", count, reads[count])
     delete reads
    }
    
    ============
  • Something

    2052457·diff·1.1 KB·2011-05-01 07:40 UTC
    diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
    --- a/mercurial/localrepo.py
    +++ b/mercurial/localrepo.py
    @@ -1918,10 +1918,18 @@ class localrepository(repo.repository):
     retu
  • Something

    2052456·text·1.1 KB·2011-05-01 07:40 UTC
    diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
    --- a/mercurial/localrepo.py
    +++ b/mercurial/localrepo.py
    @@ -1918,10 +1918,18 @@ class localrepository(repo.repository):
     retu
  • Untitled

    2052455·text·4.3 KB·2011-05-01 07:39 UTC
    PID USER VSZ STAT COMMAND
    1 root 2924 S init
    2 root 0 SW [kthreadd]
    3 root 0 SW [ksoftirqd/0]
    4 root 0 SW [events/0]
    5 root 0 SW [khelper]
    8
  • Unnamed

    2052454·text·3.3 KB·2011-05-01 07:27 UTC
    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    
    // Do not delete these lines
     if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']
  • Someone

    2052451·html·8.9 KB·2011-05-01 07:09 UTC
    <html>
     <head>
     <script type="text/javascript" src="jquery-latest.js"></script> 
     <script type="text/javascript" src="jquery.tablesorter.js"></script>
     <script type="text/javascript" src=
  • Mine

    2052450·html·8.9 KB·2011-05-01 07:08 UTC
    <html>
     <head>
     <script type="text/javascript" src="jquery-latest.js"></script> 
     <script type="text/javascript" src="jquery.tablesorter.js"></script>
     <script type="text/javascript" src=
  • Untitled

    2052448·text·1.5 KB·2011-05-01 06:35 UTC
    break;
     case UNCLICKED_DESTROYER:
     counter++;
     turns++;
  • Nate660

    2052443·text·168.8 KB·2011-05-01 06:18 UTC
    
        
  • Someone

    2052439·text·430 B·2011-05-01 05:57 UTC
    1 #include <iostream>
     2 
     3 void my_memcpy(void *a, void *b, size_t c){ for (size_t i = 0; i < c; i++) { *((char *)a+i) = *((char *)b+i); } }
     4 
     5 int main()
     6 {
     7 char a[50] =
  • Stuff

    2052436·text·218 B·2011-05-01 05:28 UTC
    * * * * * /usr/local/bin/indexer -c /usr/local/etc/sphinx.conf --rotate delta
    5 0,12 * * * /usr/local/bin/indexer -c /usr/local/etc/sphinx.con
  • Someone

    2052428·text·177 B·2011-05-01 04:15 UTC
    >>> print pyopencl.get_platforms()
    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
    AttributeError: 'module' object has no attribute 'get_platforms'
  • Something

    2052427·text·192 B·2011-05-01 04:11 UTC
    >>> print pyopencl.pyopencl.version.VERSION_TEXT
    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
    AttributeError: 'module' object has no attribute 'pyopencl'
    >>>
  • Something

    2052426·text·534 B·2011-05-01 04:08 UTC
    em@leibniz:~/Downloads/poclbm$ python
    Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) 
    [GCC 4.4.5] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pyop
  • Unnamed

    2052425·text·1.1 KB·2011-05-01 04:05 UTC
    <p>Macromedia Dreamweaver MX 2004 makes it simple to see how your pages are going to look before you upload them, but if you want to go in and work directly with the HTML, it's a one-click move. The
  • Someone

    2052423·text·39.5 KB·2011-05-01 03:59 UTC
    
        
  • Untitled

    2052422·text·4.6 KB·2011-05-01 03:39 UTC
    ===========================================================================
    Interface List
     39...00 ff 6c e0 11 ba ......TAP-Win32 Adapter V9
     16...02 00 4e 43 50 49 ......WatchGuard Secure Client

older pastes →