New paste›Public feed

Public feed

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

    1353169·text·40 B·2009-03-05 02:31 UTC
    8a57cedc7b71be9090b006d4ed9c3a77047b1e51
  • Miscellany

    1353168·c·2.7 KB·2009-03-05 02:30 UTC
    if(strcmp(cmd, "/pay", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     tmp = strtok(cmdtext, idx);
     if(!strlen(tmp))
     {
     SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "
  • Untitled

    1353161·diff·6.2 KB·2009-03-05 02:16 UTC
    Index: pcsx2/x86/BaseblockEx.h
    ===================================================================
    --- pcsx2/x86/BaseblockEx.h (revision 681)
    +++ pcsx2/x86/BaseblockEx.h (working copy)
    @@ -60,7 +6
  • Mine

    1353159·c·2.6 KB·2009-03-05 02:07 UTC
    if(strcmp(cmd, "/enableooc", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     if (PlayerInfo[playerid][pAdmin] >= 1)
     {
     if(OOCStatus)
     {
     OOCStatus = 0;
  • Unnamed

    1353158·c·2.6 KB·2009-03-05 02:05 UTC
    if(strcmp(cmd, "/enableooc", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     if (PlayerInfo[playerid][pAdmin] >= 1)
     {
     if(OOCStatus)
     {
     OOCStatus = 0;
  • major sql optimisation

    1353156·sql·5.6 KB·2009-03-05 02:03 UTC
    EXPLAIN SELECT DISTINCT article.id, article.title, article.extra, article.date, article."lastModified", article.intro,
     article."imageUrl", article.visible, article."productLine_id", a
  • Something

    1353151·c·2.4 KB·2009-03-05 01:52 UTC
    if(strcmp(cmd, "/commands", true) == 0 || strcmp(cmd, "/cmds", true) == 0)
     {
     SendClientMessage(playerid,COLOR_YELLOW,"____________________________________________________");
     SendClientMess
  • Someone

    1353150·diff·6.3 KB·2009-03-05 01:51 UTC
    Index: pcsx2/x86/BaseblockEx.h
    ===================================================================
    --- pcsx2/x86/BaseblockEx.h (revision 681)
    +++ pcsx2/x86/BaseblockEx.h (working copy)
    @@ -60,7 +6
  • Something

    1353117·c·3.3 KB·2009-03-05 01:03 UTC
    if(strcmp(cmd, "/local", true) == 0 || strcmp(cmd, "/l", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     new length = strlen(cmdtext);
     while ((idx < length) && (cmdtext[idx] <
  • Someone

    1353114·c·778 B·2009-03-05 00:59 UTC
    if(strcmp(cmd, "/local", true) == 0 || strcmp(cmd, "/l", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     new length = strlen(cmdtext);
     while ((idx < length) && (cmdtext[idx] <
  • c751nr pccardctl dmesg

    1353103·text·2.8 KB·2009-03-05 00:43 UTC
    [ 8.955624] ACPI: AC Adapter [AC] (on-line)
    [ 9.074030] ACPI: Battery Slot [BAT0] (battery present)
    [ 9.074030] ACPI: WMI: Mapper loaded
    [ 9.331409] ACPI: device:17 is registered as coo
  • Anonymous

    1353101·c·1.6 KB·2009-03-05 00:41 UTC
    if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     if ((OOCStatus) == 0 && PlayerInfo[playerid][pAdmin] < 1)
     {
     SendClie
  • Someone

    1353097·c·795 B·2009-03-05 00:38 UTC
    public PlayerActionMessage(playerid,Float:radius,message[])
    {
     //This is for messages like "Blah has opened the door".
     new string[128];
     format(string, sizeof(string), "** %s %s", GetPlayerNameEx
  • c751nr dmesg

    1353092·text·31.1 KB·2009-03-05 00:29 UTC
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 2.6.26-1-686 (Debian 2.6.26-13) (waldi@debian.org) (gcc version 4.1.3 2008
  • Stuff

    1353060·python·1.1 KB·2009-03-04 23:13 UTC
    # 1. Adding a default title to the terminal canto starts in, "Canto" in
    # this case
    
     def start_hook(gui):
     import os
     os.write(1, u"\033]0; Canto\007")
    
    # 2. Case insensitive
  • downlodafas

    1353051·asp·100 B·2009-03-04 22:58 UTC
    Sorry, but i have a question. Where can i find games and download it for free?
    Thanx for answers.
  • gaggo

    1353017·text·1.5 KB·2009-03-04 22:10 UTC
    ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
    ; semicolon, such as this one, are comments. They are not executed.
    
    ; This script has a special filename and path because it is aut
  • gaggo

    1353013·text·1.5 KB·2009-03-04 22:07 UTC
    ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
    ; semicolon, such as this one, are comments. They are not executed.
    
    ; This script has a special filename and path because it is aut
  • Electric Box custom levels

    1353011·text·29.6 KB·2009-03-04 22:07 UTC
    How this file is set up:
    - There are 3 sections, regular custom levels, very simple levels that requires only adding one thing or just running it right away, technical demonstrations where the game
  • Electric Box custom levels

    1353001·text·29.4 KB·2009-03-04 21:56 UTC
    How this file is set up:
    - There are 3 sections, regular custom levels, very simple levels that requires only adding one thing or just running it right away, technical demonstrations where the game

older pastes →