All pastes›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • First PY RPG

    2064425·python·10.3 KB·2011-05-19 11:06 UTC
    global level
    import time
    import random
    global exp
    global stre
    global agi
    global long_sword
    global long_sword_str
    global gold
    global exp_c
    global name
    global fist
    global fist_str
    global he
  • Someone

    2064415·c·516 B·2011-05-19 10:51 UTC
    // To sort array a[] of size n: qsort(a,0,n-1)
    
    void qsort(int a[], int lo, int hi) 
    {
     int h, l, p, t;
    
     if (lo < hi) {
     l = lo;
     h = hi;
     p = a[hi];
    
     do {
     while ((l
  • Someone

    2064407·cpp·1.4 KB·2011-05-19 10:48 UTC
    #include <cstdlib>
    #include <iostream>
    #include <vector>
    
    using namespace std;
    bool valid(vector <int> v)
    {
     bool val=true;
     for(int i=0; i<v.size(); i++)
     for(int k=i+1; k<v.siz
  • Someone

    2064387·text·7.7 KB·2011-05-19 10:37 UTC
    /***
    *SourceAnnotations.h - Source Annotation definitions
    *
    * Copyright (c) Microsoft Corporation. All rights reserved.
    *
    *Purpose:
    * Defines internal structures used by the Source C
  • Stuff

    2064345·text·1.9 KB·2011-05-19 10:06 UTC
    Le DD'ESSTIN, un groupe d'étudiant appartenant aux Cercles des Élèves de l'ESSTIN et engagé dans le développement durable, organise une conférence sur le thème : 
    " Dans quelle mesure l'Homme est-il
  • Stuff

    2064344·text·759 B·2011-05-19 10:05 UTC
    #colors6 off
    on *:input:*: {
     if ($left($1,1) != /) {
     say $colors6($1-)}
     halt
     }
    }
    #colors6 end
    menu * {
     &colors6
     .on:/enable #colors6
     .off:/disable #colors6
    }
    alias color
  • Anonymous

    2064332·php·261 B·2011-05-19 09:57 UTC
    $db = new mysqli('localhost','root','1988kedi','deneme');
    
    if ($db->error)
     exit();
    
    $stmt = $db->prepare("INSERT INTO deneme VALUES (?,?,?)");
    
    $stmt->bind_param('ssi',$adi,$soyadi,$no);
  • Untitled

    2064323·text·762 B·2011-05-19 09:47 UTC
    mvn clean install -U -B -fae -e -Plocal.site,as-bootstrap -Dskip.Download=true \
     -Dlocal.site=file:///home/rob/code/jbtools/jbosstools/trunk/build/target-platform/REPO/ \
     -Djbosstools.test.jbos
  • Ugly java code

    2064319·java·3.0 KB·2011-05-19 09:31 UTC
    public void run() {
     if (!hasGotTheLock())
     return;
    
     Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
     logger.info("SessionDailyTask running...");
  • Ugly java code

    2064316·java·1.6 KB·2011-05-19 09:26 UTC
    try {
     raTempFile = new RandomAccessFile(tempFile, "rw");
     while ((line = raTempFile.readLine()) != null) {
     dailyFile = new File(LogPat
  • Miscellany

    2064315·text·2.0 KB·2011-05-19 09:23 UTC
    make[4]: Entering directory `/tmp/SBo/AlephOne-20100424/Source_Files/Network/Metaserver'
    g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../Source_Files/CSeries -I../../../Source_Files/Files -I../../../So
  • Mine

    2064269·text·186 B·2011-05-19 09:08 UTC
    WebClient client = new WebClient();
    Uri uri = new Uri( op.faa_url[0]+op.airac_cycle+"/" + pdf);
    client.DownloadFileAsync(uri, path,ch);
    client.DownloadFileAsync(uri, "tmp\\"+path,ch);
  • Mine

    2064252·text·231 B·2011-05-19 08:43 UTC
    E aoemobs
    V AoeRange
    L Assign AoERange = 200
    L MobFunctor aoemobs (alive and attackable and distance < AoERange) 
    ?FlashTrap T(500) pmp(me) > 10 and (skillCoolTime($FlashTrap) == 0) and mobsCount(
  • reflection

    2064251·text·352 B·2011-05-19 08:40 UTC
    System.Reflection.Assembly o = System.Reflection.Assembly.LoadFile("<pathtoEXEfile>");
    System.Reflection.FieldInfo fi = o.GetType("<Namespace>.<Class>").GetField("<name of string variable>");
    fi.Nam
  • First PY RPG

    2064242·python·2.4 KB·2011-05-19 08:37 UTC
    global level
    import time
    import random
    global exp
    global stre
    global agi
    global long_sword
    global long_sword_str
    global gold
    global exp_c
    global name
    global fist
    global health
    health = 10
  • Untitled

    2064233·text·653 B·2011-05-19 08:14 UTC
    id compare her to luix
       lux
       ya like janna
       shes got this orb
       she can toss it to a target location
       does a lot of dmg
       then once its there
       after it does initial dmg
       her W
  • Unnamed

    2064225·text·1.5 KB·2011-05-19 08:07 UTC
    sign verify sign/s verify/s
    rsa 512 bits 0.000167s 0.000015s 6005.4 65351.2
    rsa 1024 bits 0.000821s 0.000044s 1217.6 22720.6
    rsa 2048 bits 0.005069s 0.000149s 197.
  • Something

    2064224·text·107 B·2011-05-19 08:06 UTC
    $ equery hasuse firefox
    [ Searching for USE flag firefox in all categories among: ]
     * installed packages
  • Someone

    2064207·text·4.4 KB·2011-05-19 07:55 UTC
    02:13 -!- root [~root@210.212.230.146] has joined #telephreak
    02:14 < root> hi
    02:26 < rez> hi root
    02:26 < rez> can you do me a favor?
    02:26 < rez> i'm having some trouble with irssi
    02:26 < rez
  • Unnamed

    2064190·text·448 B·2011-05-19 07:45 UTC
    CREATE OR REPLACE FUNCTION W_Line_SubString(geom geometry, s float, e float)
     RETURNS geometry AS
    $BODY$
    BEGIN
     -- this is a wrapper around ST_Line_Substring
    
     IF s < 0.0 THEN 
     RAISE WARNING

older pastes →