All pastesPublic feed

Public feed

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

    2058058·text·2.7 KB·2011-05-13 11:23 UTC
    // count function
    
    function countElement(item, array) {
     var count = 0;
     $.each(array, function(i, v) {
     if (v === item) {
     count++;
     }
     });
     return count
  • Anonymous

    2058054·text·236 B·2011-05-13 11:23 UTC
    <animation>
     <type>select</type>>
     <object-name>Smoke</object-name>
     <condition>
     <less-than>
     <property>time-sec</property>
     <property>/sim/time/elapsed-sec</property>
     </less-th
  • hell

    2058048·c·704 B·2011-05-13 11:13 UTC
    #include "coder.h"
    
    void bc_encode(unsigned int id,FILE* out)
    {
     printf ("TODO (bc_encode) - Implement Me!\n");
     
     int v = id;
     int mod;
    
     while(v>=R){
     mod = v % R;
     printf("%d-", mod
  • Unnamed

    2058038·text·35.1 KB·2011-05-13 10:57 UTC
    
        
  • Untitled

    2058037·text·1.7 KB·2011-05-13 10:56 UTC
    2011-05-13_18:53:00.49627 /tmp/OCLJQJj4L.s: Assembler messages:
    2011-05-13_18:53:00.49631 /tmp/OCLJQJj4L.s:43084: Warning: end of file not at end of a line; newline inserted
    2011-05-13_18:53:00.4974
  • Something

    2058036·c·625 B·2011-05-13 10:54 UTC
    #include "coder.h"
    
    void bc_encode(unsigned int id,FILE* out)
    {
     int val = id;
     while (val >= RADIX) {
     char byte = val % RADIX;
     fwrite( &byte, sizeof(char), 1, out );
     val = val
  • Someone

    2058031·text·34.4 KB·2011-05-13 10:53 UTC
    
        
  • Stuff

    2058018·text·1.4 KB·2011-05-13 10:46 UTC
    -------------- Build: release mac-x86_64 in Python ---------------
    
    Compiling: wrappers/xmlwriter.pypp.cpp
    In file included from ../../../dependencies/include/boost/preprocessor/iteration/detai
  • Mine

    2057991·text·46.3 KB·2011-05-13 10:26 UTC
    
        
  • Mine

    2057984·c·5.1 KB·2011-05-13 10:22 UTC
    #include "libutil.h"
    #include "hash_table.h"
    #include "value.h"
    
    #include <stdlib.h>
    
    /* Create a new hash table */
    htable_t* new_htable(int size)
    {
     
     printf ("TODO - New hash table!\n"
  • Mine

    2057979·xml·7.6 KB·2011-05-13 10:19 UTC
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE scenario SYSTEM "sipp.dtd">
    
    <!-- This program is free software; you can redistribute it and/or -->
    <!-- modify it under the terms of th
  • Miscellany

    2057969·text·14.8 KB·2011-05-13 10:08 UTC
    2011-05-13 12:02:39 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-05-13 12:02:42 [WARNING] Can't keep up! Did the system time change, or is the server overloa
  • Something

    2057967·text·3.8 KB·2011-05-13 10:06 UTC
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If
  • Stuff

    2057959·text·5.6 KB·2011-05-13 10:01 UTC
    stock IsAtCandySprunk(playerid) {
     if(IsPlayerInRangeOfPoint(playerid, 2, -2420.219, 984.578, 44.297)) return 1;
     else if(IsPlayerInRangeOfPoint(playerid, 2, -2420.180, 985.945, 44.297)) retur
  • Something

    2057916·text·756 B·2011-05-13 09:15 UTC
    make[5]: Entering directory `/root/e17_src/ecore/src/lib/ecore_x/xlib'
     CCLD libecore_x_xlib.la
    ../../../../libtool: line 4997: cd: NONE: No such file or directory
    libtool: link: cannot determin
  • Miscellany

    2057913·text·3.0 KB·2011-05-13 09:13 UTC
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
     <title>Mule Notifications Example</title>
    
     <link rel="stylesh
  • html

    2057909·text·2.6 KB·2011-05-13 09:08 UTC
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     <head>
     <title>Chatro
  • Config

    2057908·text·3.7 KB·2011-05-13 09:08 UTC
    <?xml version="1.0" encoding="UTF-8"?>
    <mule xmlns="http://www.mulesoft.org/schema/mule/core"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:ajax="http://www.mulesoft.org/s
  • Miscellany

    2057899·text·5.6 KB·2011-05-13 08:53 UTC
    $ strace -e open xterm
    open("/usr/lib/jvm/java-1.6.0-sun/jre/lib/i386/tls/i686/sse2/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/jvm/java-1.6.0-sun/jre/lib/i386/tls
  • Mine

    2057895·text·1012 B·2011-05-13 08:47 UTC
    setlistener("sim/ai/aircraft/impact/bomb", func(n) {
     var node = props.globals.getNode(n.getValue(), 1);
     var solid = node.getNode("material/solid").getValue();
     print ("so

older pastes →