New paste›Public feed

Public feed

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

    933969·text·2.3 KB·2008-03-08 15:46 UTC
    <?php
    //Each bot has its own "timer" class, minimally this runs every what 100th of a second.
    //Timers are processed on there own :P
    
    class timers {
     //Local variables
     public $timerStack = arra
  • Mine

    933968·text·287 B·2008-03-08 15:46 UTC
    if(strcmp(cmdtext, "/red", true) == 0)
    {
     if(IsPlayerInAnyVehicle(playerid)) {
     new vehicleid;
     vehicleid = GetPlayerVehicleID(playerid);
     ChangeVehicleColor(vehicleid,3,3);
     } else {
  • Something

    933957·text·2.1 KB·2008-03-08 15:43 UTC
    #---
    #
    # to build MySQL/DBI support into Susie, you have to create an environment
    # variable called MYSQLPATH and set it to the path of your MySQL include
    # and lib directoryies. for example, my i
  • Unbenannt

    933956·text·638 B·2008-03-08 15:43 UTC
    gdalinfo tmp2.tif
    
    Driver: GTiff/GeoTIFF
    Files: tmp2.tif
    Size is 3117, 3043
    Coordinate System is `'
    Origin = (12.157977081047576,46.580801896721624)
    Pixel Size = (0.000022126922830,-0.000022126
  • Generators in Vala, an attempt,

    933953·csharp·1.6 KB·2008-03-08 15:42 UTC
    using GLib;
    
    class Generator<T>
    {
     private weak Thread thread;
     private Mutex mutex;
     private Cond cond_avail;
    
     private T yielded;
     private bool has_data;
     public delegate void Func(Generat
  • Fade Out x264 opts

    933947·diff·8.7 KB·2008-03-08 15:40 UTC
    Index: macosx/HBAdvancedController.h
    ===================================================================
    --- macosx/HBAdvancedController.h (revision 1335)
    +++ macosx/HBAdvancedController.h (working
  • Miscellany

    933946·c·704 B·2008-03-08 15:39 UTC
    # Trivial parallel processing example
    [List.External:Parallel]
    /*
     * This word filter makes John process some of the words only, for running
     * multiple instances on different CPUs. It can be use
  • Someone

    933945·text·638 B·2008-03-08 15:38 UTC
    poseidon117@poseidon ~ $ fusion-icon
     * Detected Session: kde
     * Searching for installed applications...
     * No GLX_EXT_texture_from_pixmap with direct rendering context
     ... present with indirect
  • An example or generators in Vala

    933944·csharp·429 B·2008-03-08 15:36 UTC
    class Test
    {
     static void generate(Generator gen)
     {
     int[] values = new int [] {100, 200, 300, 400, 500, 0};
     int i;
    
     for(i=0; values[i] != 0; i++)
     {
     gen.yield(values[i]);
     Threa
  • Example of generators in C

    933936·c·543 B·2008-03-08 15:31 UTC
    #include <glib.h>
    #include "generator.h"
    
    void generate(Generator *gen, gpointer data)
    {
     int values[] = {100, 200, 300, 400, 500, 0};
     int i;
     
     for(i=0; values[i]; i++)
     {
     int *value =
  • Unbenannt

    933928·text·796 B·2008-03-08 15:25 UTC
    oeichler@frogmobil:~/data/cpp/build_QLandkarteGT> gdalinfo tmp.tif
    Driver: GTiff/GeoTIFF
    Files: tmp.tif
    Size is 2480, 3507
    Coordinate System is `'
    GCP Projection =
    GCP[ 0]: Id=1, Info=
  • Faixa de ips brasileiros

    933927·text·13.6 KB·2008-03-08 15:25 UTC
    lacnic|BR|ipv4|139.82.0.0|65536|19900212|assigned
    lacnic|BR|ipv4|143.54.0.0|65536|19900828|assigned
    lacnic|BR|ipv4|143.106.0.0|65536|19900326|assigned
    lacnic|BR|ipv4|143.107.0.0|65536|19900326|assi
  • Anonymous

    933923·text·6.1 KB·2008-03-08 15:24 UTC
    function catch_up()
    {
     global $CURUSER, $READPOST_EXPIRY;
     $userid = $CURUSER["id"];
     $dt = (get_date_time(gmtime() - $READPOST_EXPIRY));
     $where=''; 
     $buffer_insert = a
  • keivis

    933911·text·595 B·2008-03-08 15:12 UTC
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 13
    model name : Intel(R) Pentium(R) M processor 1.80GHz
    stepping : 6
    cpu MHz : 1800.2
  • client_play.py

    933910·python·4.0 KB·2008-03-08 15:11 UTC
    import gobject
    import pygst
    pygst.require("0.10")
    import gst
    import socket
    import client_settings
    import re
    import time
    
    class ClientPlay ():
     def __init__ (self, categoryid, artworkid, user
  • Anonymous

    933909·text·285 B·2008-03-08 15:10 UTC
    #include <stdio.h>
    #include <string.h>
    
    int main () {
    
    char *be;
    char *ki;
    //char* color1 = "\033[0;35;40m";
    //char* color2 = "\033[0;36;40m";
    
     do {
     scanf("%s",&be);
     st
  • Mine

    933903·text·4.0 KB·2008-03-08 15:06 UTC
    #include <a_samp>
    #define MAX_SPRUNK 100 //Just change this if you are going ot use more than 100 sprunk machines
    #define SPRUNK_PRICE 10 //how much does a can of sprunk cost?
    forward PlayerToPoint
  • Meins

    933901·text·196 B·2008-03-08 15:05 UTC
    vs166226:~/armagetronad-0.2.8_alpha20080217# ./bootstrap.sh
    Running aclocal...
    aclocal: configure.ac: 0: macro `AM_PATH_ZTHREAD' not found in library
    vs166226:~/armagetronad-0.2.8_alpha20080217
  • Jemand

    933887·text·2.4 KB·2008-03-08 14:51 UTC
    <form id="upload" action="/webupload/upload.jsp?uploadToken=9a20394d8ece21295ca3fb84d08f0a02038686fc&userToken=aG90eWJveDE6MTIzNjM2Mzk1MzY0Nzo4ZGE2YjNhOWJiMzE2MTk2MDc3YzMwNTg2NzRiMDEyMw%3d%3d" name="u
  • Miscellany

    933885·text·3.4 KB·2008-03-08 14:49 UTC
    #!/bin/bash #
    # 
    #Paquets pour la compil d'e17
    apt-get install autoconf automake1.9 bison

older pastes →