1. Список говнокодов пользователя Arduino

    Всего: 5

  2. Assembler / Говнокод #24779

    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
    .def temp = r16
    .def rr1 = r17
    .org 0
    Ldi r16, low(RAMEND)
    out SPL, temp
    Ldi r16 high(RANEND)
    out SPH, temp
    
    rjmp start
    start:
    ldi temp,255
    out DDRB, temp
    out PORTB,temp
    rcall delay
    Ldi temp,0x00
    out PORTB,temp
    Rcall delay
    rjmp start
    
    delay:
    ldi rr1, 0xFF
    Pdelay:
    Dec rr1
    brne Pdrlay
    ret

    Почему микроконтроллер не мигает лампочка?
    Но студия не ругается
    (Ассемблер АVR)

    Arduino, 17 Сентября 2018

    Комментарии (44)
  3. PHP / Говнокод #24740

    +1

    1. 1
    2. 2
    3. 3
    <?php
    echo implode ("<br>", file("govnokod.php"));
    ?>

    Угадайте как называется это!

    Arduino, 10 Сентября 2018

    Комментарии (1)
  4. JavaScript / Говнокод #24443

    −2

    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
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    <!DOCTYPE HTML>
    <html>
    <head>
    </head>
    <body>
    <h3 > enter a capcha </h3>
    <canvas id = "capchaGen" width="40" height="20"> </canvas>
    <button id = "rst" onclick = "a()"> get</button>
    <br />
    <input type = "text" placeholder = "capcha" name = "capchaIn" class ="box" id="capchaIn"required>
    <button
        id ="end" onclick = "c()">
        ok
    </button>
    <script>
    
    
    
    
    var pass = ''; 
    var capha = document.getElementById("capchaGen");
    var cap = capha.getContext("2d");
    function a(){
    cap.clearRect(0, 0, 40, 20);
     cap.strokeText(gen_pass() ,5,15);
    
    }
    
    function c(){
      var val=document.getElementById("capchaIn").value;
    
    
    if(val ==pass){
      
        alert("accept") 
        ///////site////site/////сайт
        window.open("https://google.com","_self")
        }
        else{
    alert("invalid capcha")
    a();
    }
    }
    chr = new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
    'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',0,1,2,3,4,5,6,7,8,9);
    
    function rnd(x,y,z) {
    var num;
    do {
    num = parseInt(Math.random()*z);
    if (num >= x && num <= y) break;
    } while (true);
    return(num);
    }
    
    function gen_pass() {
    pass ='';
    for (var i = 0; i < 5; i++) pass += chr[rnd(0,61,100)];
    return  pass;
    }
    
    a();
    
    </script>
    
    <style>
    canvas{
        border-style:solid;
        background-color:#c7a956 ;
        border-width:1px;
        border-color: rgba(0,0,0,0.5)
    }
    .box{
    color:red;
        width:80px;
    }
    h3{
        color:green;
    }
    </style>
    </body>

    Капча. Обсирайте как можете.

    Arduino, 05 Июля 2018

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

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    Int main(){
    Var x = 0;
    <script>
    color:red;
    >>> print('Hello world!')
    Hello world!
    Delay(256);
    /\каминтарый
    Срать(понос, 1кг,деревенский сортир);
    Cout<<говно.type<<";"<<site.govnokod.ru;

    Что выведет компилятор. Каким матом будет покрывать. Боюсь представить..

    Arduino, 04 Июля 2018

    Комментарии (4)
  6. Куча / Говнокод #24438

    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
    <!DOCTYPE html>
    <html>
        <head>
            <title>Why is he always talking about that damm movie?</title>
        </head>
        
    <img src="https://cdn.shopify.com/s/files/1/0064/7532/products/poster-war-games-1983-regular-2_1024x1024.jpg?v=1455775393" width="350" height="250">
    <br>
    <p>Wargames 1983</p>
    <br>
    <p>from: https://en.wikipedia.org/wiki/WarGames</p>
    <p>The film follows David Lightman, a young hacker who unwittingly accesses WOPR (War Operation Plan Response), a United States military supercomputer originally programmed to predict possible outcomes of nuclear war. Lightman gets WOPR to run a nuclear war simulation, believing it to be a computer game. The computer, now tied into the nuclear weapons control system and unable to tell the difference between simulation and reality, attempts to start World War III.
    </p>
    <img src="http://cdn3-www.comingsoon.net/assets/uploads/2015/10/wargames-1.jpg" width="350" height="200">
    <br>
    <p>The computer stages a massive Soviet first strike with hundreds of missiles, submarines, and bombers. Believing the attack to be genuine, NORAD prepares to retaliate. Falken (Inventor/Programmer) and David convince military officials to cancel the second strike and ride out the attack. WOPR tries to launch the missiles itself, however, using a brute-force attack to obtain the launch code. Without humans in the control centers as a safeguard, the computer will trigger a mass launch. All attempts to log in and order to cancel the countdown fail, and all weapons will launch if the computer is disabled.</p>
        
    <br>    
        <img src="http://oliversmith.cc/wp-content/uploads/2014/11/Screen-Shot-2014-11-26-at-14.17.30-e1417011526324-640x469.png" width="350" height="200">
    <p>Falken and David direct the computer to play tic-tac-toe against itself. This results in a long string of draws, forcing the computer to learn the concept of futility and no-win scenarios. WOPR obtains the missile code, but before launching, it cycles through all the nuclear war scenarios it has devised, finding they, too, all result in stalemates. Having discovered the concept of mutual assured destruction ("WINNER: NONE"), the computer tells Falken that it has concluded that nuclear war is "a strange game" in which "the only winning move is not to play." WOPR relinquishes control of NORAD and the missiles and offers to play "a nice game of chess."</p>
        
      </body>  
    </html>

    Ржунимагу. Этот говно код набрал 25 лайков а нормальный мой код калькулятора во вкладке рядом 0. Куда катится мир...

    Arduino, 02 Июля 2018

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