1. Куча / Говнокод #25798

    −3

    1. 1
    IT Оффтоп #21

    #1: https://govnokod.ru/18142 https://govnokod.xyz/_18142
    #2: https://govnokod.ru/18378 https://govnokod.xyz/_18378
    #3: https://govnokod.ru/19667 https://govnokod.xyz/_19667
    #4: https://govnokod.ru/21160 https://govnokod.xyz/_21160
    #5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
    #6: https://govnokod.ru/24063 (потёр пидор сракер) https://govnokod.xyz/_24063
    #7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
    #8: https://govnokod.ru/24815 (потёр пидор сракер) https://govnokod.xyz/_24815
    #9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
    #10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
    #11: https://govnokod.xyz/_25436 https://govnokod.ru/25436 (потёр пидор сракер)
    #12: https://govnokod.xyz/_25471
    #13: https://govnokod.xyz/_25590 (потёр пидор сракер)
    #14: https://govnokod.xyz/_25684
    #15: https://govnokod.xyz/_25694
    #16: https://govnokod.xyz/_25725
    #17: https://govnokod.xyz/_25731
    #18: https://govnokod.xyz/_25762
    #19: https://govnokod.xyz/_25767
    #20: https://govnokod.xyz/_25776

    syoma, 03 Сентября 2019

    Комментарии (566)
  2. Куча / Говнокод #25797

    −3

    1. 1
    Каталог тредов

    syoma, 03 Сентября 2019

    Комментарии (53)
  3. Си / Говнокод #25796

    0

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    n = ((n >>  1) & 0x55555555) | ((n <<  1) & 0xaaaaaaaa);
       n = ((n >>  2) & 0x33333333) | ((n <<  2) & 0xcccccccc);
       n = ((n >>  4) & 0x0f0f0f0f) | ((n <<  4) & 0xf0f0f0f0);
       n = ((n >>  8) & 0x00ff00ff) | ((n <<  8) & 0xff00ff00);
       n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000);
    
                    -- C code which reverses the bits in a word.

    neTyx_npoTKHyTbIu, 03 Сентября 2019

    Комментарии (77)
  4. C# / Говнокод #25795

    −1

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    class Label : System.Windows.Forms.Label {
            public Label ( string s , int x , int y , Form parent ) {
                this.Location = new Point ( x , y ) ;
                this.Text = s ;
                this.AutoSize = true ;
                this.Font = new Font ( SystemFonts.CaptionFont , FontStyle.Bold ) ;
                parent.Controls.Add ( this ) ;
            }
        }
        class Button : System.Windows.Forms.Button {
            public Button ( string s , int x , int y ,  EventHandler f , Form parent ) {
                this.Location = new Point ( x , y ) ;
                this.Text = s ;
                this.Font = new Font ( SystemFonts.CaptionFont , FontStyle.Bold ) ;
                this.Click += f ;
                parent.Controls.Add ( this ) ;
            }
        }
    
        static Form form = new Form() ;
        static Button[,] a = new Button [ 4 , 4 ] ;
        static Random rnd = new Random() ;
        static Timer timer = new Timer() ;
        static Label time = new Label ( "0" , width + cellspacing * 3 , 4 * ( width + cellspacing ) + cellspacing * 2 , form ) ;
        static Label nclicks = new Label ( "0" , 3 * width + cellspacing * 5 , 4 * ( width + cellspacing ) + cellspacing * 2 , form ) ;

    Нашел архив своего старого говна :)

    Pretty_Young_Thing, 03 Сентября 2019

    Комментарии (11)
  5. Куча / Говнокод #25794

    0

    1. 1
    2. 2
    3. 3
    4. 4
    ButtonCustom {
        visible: !cyrcleProgress.visible ? true : false
        ...
    }

    FrontlineReporter, 02 Сентября 2019

    Комментарии (8)
  6. Си / Говнокод #25791

    −1

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    
    int main(int argc, char *argv[])
    
    {
    
    
    char* line;
    char* start;
    char* dop;
    start=(char*)malloc(10000);
    dop=(char*)malloc(10000);
    start[0]='e';
    start[1]='c';
    start[2]='h';
    start[3]='o';
    start[4]=' ';
    int i=5;
    
    dop[0]=' ';
    dop[1]='|';
    dop[2]=' ';
    dop[3]=' ';
    dop[4]='b';
    dop[5]='c';
    dop[6]=' ';
    dop[7]='-';
    dop[8]='l';
    
    line=(char*)malloc(10000);
    line=argv[1];
    
    while (*line) {*(start+i)=*line;line++;i++;};
    while (*dop){*(start+i)=*dop;dop++;i++;};
    system(start);
    }

    Калькулятор

    killer1804, 01 Сентября 2019

    Комментарии (11)
  7. Pascal / Говнокод #25789

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    inside:=false;
    tag:=uppercase(tagpure);
    spacep:=pos(' ',tag);
    if spacep=0 then tagname:=tag else tagname:=copy(tag,1,spacep-1);
    
    if (not inscript) and (tagname='A') then
    begin
    ParseTag(tagpure);
    //если флажок Ссылки или флажок Якоря включен
    if checkBox9.Checked or checkBox10.Checked then
    begin
    linktext:=Lg.GR(24);
    linktag:='HREF';
    link2text:=Lg.GR(25);
    link2tag:='NAME';
    needlink:=true;
    needdbr:=true;
    end;
    end;

    Вернулся в 2007 1997.
    s: h/465709

    gost, 01 Сентября 2019

    Комментарии (85)
  8. Си / Говнокод #25787

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    #define LOC(type, var) type var = (type) DPOP();
    #define CELL(var) LOC(const cell, var)
    #define UCELL(var) LOC(const ucell, var)
    #define ACELL(var) LOC(cell * const, var)
    #define ADCELL(var) LOC(dcell * const, var)
    #define ACHAR(var) LOC(char * const, var)
    #define STR(var) const string var = {(ucell)DPOP(), (character*)DPOP()}
    
    #define SWAP(a, b) (a ^= b ^= a ^= b)
    
    #if BYTEORDER == BYTEORDER_LE
        #define DCELL(var) dcell var = (*((dcell*) dsp)++)
        #define UDCELL(var) udcell var = (*((udcell*) dsp)++)
    #else
        #define DCELL(var) \
            SWAP(dsp[0], dsp[1]); \
            dcell var = (*((dcell*) dsp)++)
        #define UDCELL(var) \
            SWAP(dsp[0], dsp[1]); \
            udcell var = (*((udcell*) dsp)++)
    #endif
    
    #define BOOL(value) ((value) ? -1 : 0)
    
    #define DO(begin, end, stmt) do { \
        cell i = begin; \
        cell end_ = end; \
        for (; i < end_; ++i) { \
            stmt; \
        } \
    } while (0)

    Pretty_Young_Thing, 31 Августа 2019

    Комментарии (29)
  9. Куча / Говнокод #25786

    −1

    1. 1
    https://www.youtube.com/watch?v=lfdAwl3-X_c

    OlegUP, 30 Августа 2019

    Комментарии (47)
  10. PHP / Говнокод #25784

    −1

    1. 1
    2. 2
    3. 3
    4. 4
    Оцени свою неприязнь к коллеге по шкале от нуля до 
    «отсматриваю в Аутлуке каждое его совещание и за две минуты до начала неистово пропёрдываю соответствующую переговорку».
    
    https://twitter.com/feels_like_1984/status/1132221565821759488

    Друзья, довайте обсудим кто какие групваре использует
    Exchange? Сервисы Google? Что-то еще?

    booratihno, 29 Августа 2019

    Комментарии (32)