New paste›Public feed

Public feed

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

    1353429·diff·23.4 KB·2009-03-05 09:53 UTC
    Index: pcsx2/x86/BaseblockEx.h
    ===================================================================
    --- pcsx2/x86/BaseblockEx.h (revision 685)
    +++ pcsx2/x86/BaseblockEx.h (working copy)
    @@ -20,7 +2
  • Image Slicer

    1353397·ruby·922 B·2009-03-05 08:49 UTC
    require 'RMagick'
    include Magick
    
    rowsize=135
    colsize=135
    
    img = ImageList.new("foo.png")
    
    raise "Row size #{rowsize} is not a multiple of image height #{img.rows}" unless img.rows%rowsize==0
  • Mine

    1353367·c·9.4 KB·2009-03-05 08:04 UTC
    if(strcmp(cmd, "/ajobcmds", true) == 0)
     {
     if (PlayerInfo[playerid][pAdmin] >= 3)
     {
     SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Gun Job] /agunjobpos (/takejob) - /agunjobpos2 (/materi
  • Anonymous

    1353361·diff·22.8 KB·2009-03-05 07:46 UTC
    Index: pcsx2/x86/BaseblockEx.h
    ===================================================================
    --- pcsx2/x86/BaseblockEx.h (revision 681)
    +++ pcsx2/x86/BaseblockEx.h (working copy)
    @@ -20,7 +2
  • Untitled

    1353357·c·25.4 KB·2009-03-05 07:38 UTC
    if(strcmp(cmd, "/afactioncolor", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     tmp = strtok(cmdtext, idx);
     if(!strlen(tmp))
     {
     SendClientMessage(playerid, COLOR_LIGHT
  • Unnamed

    1353338·c·12.5 KB·2009-03-05 06:58 UTC
    if(strcmp(cmd, "/tod", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     tmp = strtok(cmdtext, idx);
     if(!strlen(tmp))
     {
     SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "
  • lspci

    1353326·text·1.5 KB·2009-03-05 06:26 UTC
    00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (
  • Mine

    1353305·diff·22.6 KB·2009-03-05 05:49 UTC
    Index: pcsx2/x86/BaseblockEx.h
    ===================================================================
    --- pcsx2/x86/BaseblockEx.h (revision 681)
    +++ pcsx2/x86/BaseblockEx.h (working copy)
    @@ -20,7 +2
  • Unnamed

    1353291·c·6.2 KB·2009-03-05 05:32 UTC
    if(strcmp(cmd, "/tod", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     tmp = strtok(cmdtext, idx);
     if(!strlen(tmp))
     {
     SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "
  • Something

    1353239·c·1.8 KB·2009-03-05 04:32 UTC
    if(strcmp(cmd, "/acommands", true) == 0 || strcmp(cmd, "/acmds", true) == 0)
     {
     if (PlayerInfo[playerid][pAdmin] >= 1)
     {
     SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Level 1:] - (/a)dmi
  • Someone

    1353175·text·40 B·2009-03-05 02:38 UTC
    5a576aafb23d5286f593643177027556117a3495
  • 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] <

older pastes →