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

    +1

    1. 1
    <GlobalConverters:EnumOrStringToSolidColorBrushConverter x:Key="UpdaterProcessStatusConverter" Mapping="UpdaterSuccessProcess-=-#01579B;UpdaterErrorProcess-=-#E53935;UpdaterWarningProcess-=-#FBBE44"/>

    XAML из WPF

    Говногость, 31 Декабря 2018

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

    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
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    import java.io.File
    import java.io.FileReader
    
    fun main(args: Array<String>) {
        val text = getText("Input line")
        val fileName = getText("Input file name")
    
        val mode = getInt("Input mode: 1 for rewrite, 2 for append", 1, 2)
    
        doAction(mode, text, fileName)
    }
    
    fun doAction(mode: Int, text : String, fileName : String) {
        val file = File(fileName)
       when(mode) {
           1 -> file.writeText(text)
           2 -> file.appendText(text)
       }
    }
    
    fun getInt(message: String, min : Int, max: Int) : Int {
    
        var buffer : Int?
    
        do {
            print(message)
            buffer = readLine()?.toIntOrNull()
        }
        while (buffer == null || buffer !in min..max)
    
        return buffer
    }
    
    fun getText(message : String) : String {
        print(message)
        return readLine() ?: ""
    }

    Решил добавить немного говнокода на Kotlin

    Tryff, 29 Декабря 2018

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

    0

    1. 1
    Разупоритесь-тред.

    Под какой файкой нынче сидит доктор[]инхо[/s]?

    ilya2184, 24 Декабря 2018

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

    −1

    1. 1
    У меня из-за этого бессоница:

    Стою я как-то на светофоре, жду когда загорится зелёный, и тут подходит ко мне девушка с сумкой и просит проводить её до какой-то там улицы. Я чуть не обосрался: со мной редко кто разговаривает, тем более девушки. Но я набрался смелости и сказал что не знаю где это, а она сказала что покажет. Я нихуя не понял, зачем тогда её провожать. "Ну ладно", сказал я. Мы дождались зелёного, она немного постояла зачем-то, потупила, потом взяла сумку и мы пошли, перешли дорогу, прошли буквально несколько метров, как она говорит: "ну ладно, дальше я сама дойду, а там меня встретят". Я опять ничего не понял, но сказал: "ну ладно". Какое-то время мы ещё шли рядом, нам было по-пути, потом она куда-то свернула.

    Джва месяца я онализировал это проишествие и пришёл к выводу: ей походу надо было помочь сумку понести?

    yet_another_one_shit, 21 Декабря 2018

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

    +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
    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
    82. 82
    83. 83
    84. 84
    85. 85
    86. 86
    87. 87
    88. 88
    89. 89
    90. 90
    91. 91
    92. 92
    93. 93
    94. 94
    95. 95
    96. 96
    ;;; the toplevel operators of each equation in the system
    ;;; type : array[term]
    (defmacro match-acz-state-methods (state__) `(svref ,state__ 0))
    
    ;;; functional terms
    ;;; type : array[term]
    (defmacro match-acz-state-lhs-f (state__) `(svref ,state__ 1))
    
    ;;; variables on the LHS
    ;;; type : array[term]
    (defmacro match-acz-state-lhs-v (state__) `(svref ,state__ 2))
    
    ;;; contants on the RHS
    ;;; type : array[term]
    (defmacro match-acz-state-rhs-c (state__) `(svref ,state__ 3))
    
    ;;; functional terms on RHS
    ;;; type : array[term]
    (defmacro match-acz-state-rhs-f (state__) `(svref ,state__ 4))
    
    ;;; notes repeated functional terms of LHS
    ;;; type : array[bool]
    (defmacro match-acz-state-lhs-f-r (state__) `(svref ,state__ 5))
    
    ;;; notes repeated variables of LHS
    ;;; type : array[bool]
    (defmacro match-acz-state-lhs-v-r (state__) `(svref ,state__ 6))
    
    ;;; notes repeated constants of RHS
    ;;; type : array[bool]
    (defmacro match-acz-state-rhs-c-r (state__) `(svref ,state__ 7))
    
    ;;; notes repreated funcational terms of RHS
    ;;; type : array[bool]
    (defmacro match-acz-state-rhs-f-r (state__) `(svref ,state__ 8))
    
    ;;; variables and funs acocunted for by RHS-c-sol
    ;;; type : fixnum
    (defmacro match-acz-state-lhs-mask (state__)  `(svref ,state__ 9))
    
    ;;; funs accounted for by RHS-c-sol
    ;;; type : fixnum
    (defmacro match-acz-state-lhs-f-mask (state__) `(svref ,state__ 10))
    
    ;;; bit vector of all repeated (> 0) terms on LHS
    (defmacro match-acz-state-lhs-r-mask (state__)  `(svref ,state__ 11))
    
    ;;; solution matrix for constants
    ;;; type : array[fixnum]
    (defmacro match-acz-state-rhs-c-sol (state__) `(svref ,state__ 12 ))
    
    ;;; max value of elements of RHS-C-sol
    ;;; type : fixnum
    (defmacro match-acz-state-rhs-c-max (state__) `(svref ,state__ 13))
    
    ;;; solutions matrix; functional terms
    ;;; type : array[fixnum]
    (defmacro match-acz-state-rhs-f-sol (state__) `(svref ,state__ 14))
    
    ;;; max value of elements of RHS-f-sol
    ;;; type : fixnum
    (defmacro match-acz-state-rhs-f-max (state__) `(svref ,state__ 15))
    
    ;;; type : fixnum 11111 ... 1111
    (defmacro match-acz-state-rhs-full-bits (state__) `(svref ,state__ 16))
    
    ;;; array of compatibility bitvectors; constants
    ;;; type : array[fixnum]
    (defmacro match-acz-state-rhs-c-compat (state__) `(svref ,state__ 17))
    
    ;;; array of compatibility bitvectors; funcs
    ;;; type : array[fixnum]
    (defmacro match-acz-state-rhs-f-compat (state__) `(svref ,state__ 18))
    
    ;;; number of constants on LHS after simplification
    ;;; type : fixnum
    (defmacro match-acz-state-lhs-c-count (state__) `(svref ,state__ 19))
    
    ;;; number of functions on LHS after simplification
    ;;; type : fixnum
    (defmacro match-acz-state-lhs-f-count (state__) `(svref ,state__ 20))
    
    ;;; number of variables on LHS after simplification
    ;;; type : fixnum
    (defmacro match-acz-state-lhs-v-count (state__) `(svref ,state__ 21))
    
    ;;; number of constants on RHS after simplification
    ;;; type : fixnum
    (defmacro match-acz-state-rhs-c-count (state__)  `(svref ,state__ 22))
    
    ;;; number of functions on RHS after simplification
    ;;; type : fixnum
    (defmacro match-acz-state-rhs-f-count (state__) `(svref ,state__ 23))
    
    ;;; t iff all solutions have been reported.
    (defmacro match-acz-state-no-more (state__) `(svref ,state__ 24))

    https://github.com/CafeOBJ/cafeobj/blob/master/chaos/e-match/match-acz.lisp

    ГОМОИКОНЫ копипаст лиспе
    CafeOBJ is a most advanced formal specification language which inherits many advanced features (e.g. flexible mix-fix syntax, powerful and clear typing system with ordered sorts, parameteric modules and views for instantiating the parameters, and module expressions, etc.) from OBJ (or more exactly OBJ3) algebraic specification language.

    CafeOBJ is a language for writing formal (i.e. mathematical) specifications of models for wide varieties of software and systems, and verifying properties of them. CafeOBJ implements equational logic by rewriting and can be used as a powerful interactive theorem proving system. Specifiers can write proof scores also in CafeOBJ and doing proofs by executing the proof scores.

    CafeOBJ has state-of-art rigorous logical semantics based on institutions. The CafeOBJ cube shows the structure of the various logics underlying the combination of the various paradigms implemented by the language. Proof scores in CafeOBJ are also based on institution based rigorous semantics, and can be constructed using a complete set of proof rules

    j123123, 20 Декабря 2018

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

    +1

    1. 1
    Откуда пошло выражение "... тебе за щеку, проверь"?

    LinuxGovno, 13 Декабря 2018

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

    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
    cript src='https://www.google.com/recaptcha/api.js?onload=captchaOn&render=explicit' async defer></script>
                                        </span>
        <span  id="noCaptchaBlock" style="display: none">
                                    <a onclick="cl=true" href="#" class="vam" style="z-index: 1;position: relative;text-decoration: none;border-radius: 2px;background: #4C8EFA;color: #fff;padding: 7px 20px;font-size: 20px;text-decoration: none !important;margin: 7px 10px;"  id="rbs">Пропустить рекламу</a>
                                    <span id="load" class="vam" style="z-index: 1;position: relative;margin: 6px 10px;display: none;font-size: 1.125em"><span id="statusload">Загрузка рекламы</span><span id="point">...</span></span></span>
        </span>
        <div class="progress" style="height: 100%;background: #bbbbbb;opacity: 0.2;z-index: 0;"><dt></dt><dd></dd></div>
    </div>
    <div class="bl_all_rek" style="position: relative;overflow: hidden;z-index: 1;">
        <div class="progress_bg"><div class="progress"><dt></dt><dd></dd></div></div>
        <div class="toggle" style="position: absolute;width: 4px;height: 100%;background-color: #EFC439;z-index: 3;left: 0;top: 10px;/* box-shadow: -3px 0px 7px 0px #000; */"></div>
        <div class="toggle" style="position: absolute;width: 4px;height: 100%;background-color: #EFC439;z-index: 3;right: 0;top: 10px;/* box-shadow: 3px 0px 7px 0px #000; */"></div>
        <div class="toggle" style="margin: 0px;background-color: #EFC439;padding:8px 15px;font-weight:bold;font-size: 14px;line-height: 100%;word-wrap: break-word;color:#FFF; font-family: Arial, sans-serif;text-align: center;box-shadow: 0px 0px 7px -1px #000, inset 0px 2px 8px -5px #000;position: relative;z-index: 2;">Реклама        <a class="a_site_top" style="margin: 0; font-size: 12px;top:auto;font-weight:normal;" target="_blank"
               title="http://yandex.ru" href="/away4.php?a=aHR0cDovL3lhbmRleC5ydQ=="
            >Открыть полностью</a>
        </div>

    Куча гавна с хардкодом с сайта catcut! Ну блять пиздец, так делать сайты нельзя.
    И прикол в том что сайт глючит, ПИЗДЕЦ!!!! ЕБАЛ В РОТ

    fuckercoder, 13 Декабря 2018

    Комментарии (3)
  8. Куча / Говнокод #25175

    −3

    1. 1
    http://avg1.ru/upload/iblock/60a/60aa3c633e7f885cabd311cf3b6f6792.jpg

    Она сама сделала ярлычки, на которых было написано, кто именно подарил ей украшение.

    Goh, 09 Декабря 2018

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

    −106

    1. 1
    Возбуждают ли вас мраморные хуйцы древнегреческих статуй?

    https://otvet.imgsmail.ru/download/60375345_d0f04da73c12c26b2c9a0d4c4b0f223 8_800.jpg

    https://thomaspeck.files.wordpress.com/2011/10/dave2.jpg
    https://i.pinimg.com/736x/9e/90/48/9e9048e1602e7d9b613a3d43782f84e8--art-sculptures-awesome-art.jpg
    https://i.pinimg.com/736x/2e/4d/67/2e4d67802cc60e7d2446e80a83d4b1e0--roman-sculpture-sculpture-art.jpg
    https://ra-ja.ru/wp-content/uploads/2018/03/18094_ajvxjykcdatuphtw-e1520307932767.jpg
    https://www.jayadra.com/wp-content/uploads/2014/07/IMG_5230.jpg (микелланджело молодчина)

    Goh, 09 Декабря 2018

    Комментарии (1)
  10. Куча / Говнокод #25159

    −4

    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
    82. 82
    83. 83
    <p>Example using a mathematical CAPTCHA.</p>
    <form method="post" action="/try-securimage/">
        <img style="float: left; padding-right: 5px" id="captcha_two" src="/securimage/securimage_show_math.php?namespace=mathcaptcha&amp;amp;731f6b2ff6753462b557785b09107a0a" alt="CAPTCHA Image" /></p>
    <div id="captcha_two_audio_div"><audio id="captcha_two_audio" preload="none" style="display: none"><source id="captcha_two_source_mp3" src="/securimage/securimage_play.php?namespace=mathcaptcha&amp;id=5c0860efe364f&amp;format=mp3" type="audio/mpeg"><source id="captcha_two_source_wav" src="/securimage/securimage_play.php?namespace=mathcaptcha&amp;id=5c0860efe368a" type="audio/wav"><object type="application/x-shockwave-flash" data="/securimage/securimage_play.swf?bgcol=%23ffffff&amp;icon_file=%2Fsecurimage%2Fimages%2Faudio_icon.png&amp;audio_file=%2Fsecurimage%2Fsecurimage_play.php%3Fnamespace%3Dmathcaptcha%26" height="32" width="32"><param name="movie" value="/securimage/securimage_play.swf?bgcol=%23ffffff&amp;icon_file=%2Fsecurimage%2Fimages%2Faudio_icon.png&amp;audio_file=%2Fsecurimage%2Fsecurimage_play.php%3Fnamespace%3Dmathcaptcha%26"></object><br /></audio></div>
    <div id="captcha_two_audio_controls"><a tabindex="-1" class="captcha_play_button" href="/securimage/securimage_play.php?namespace=mathcaptcha&amp;id=5c0860efe36cf" onclick="return false"><img class="captcha_play_image" height="32" width="32" src="/securimage/images/audio_icon.png" alt="Play CAPTCHA Audio" style="border: 0px"><img class="captcha_loading_image rotating" height="32" width="32" src="/securimage/images/loading.png" alt="Loading audio" style="display: none"></a><noscript>Enable Javascript for audio controls</noscript></div>
    <p><script type="text/javascript">captcha_two_audioObj = new SecurimageAudio({ audioElement: 'captcha_two_audio', controlsElement: 'captcha_two_audio_controls' });</script><a tabindex="-1" style="border: 0" href="#" title="Refresh Image" onclick="if (typeof window.captcha_two_audioObj !== 'undefined') captcha_two_audioObj.refresh(); document.getElementById('captcha_two').src = '/securimage/securimage_show_math.php?namespace=mathcaptcha&amp;' + Math.random(); this.blur(); return false"><img height="32" width="32" src="/securimage/images/refresh.png" alt="Refresh Image" onclick="this.blur()" style="border: 0px; vertical-align: bottom"></a></p>
    <div style="clear: both"></div>
    <p><label for="captcha_code">Solve the problem: </label> <input type="text" name="ct_captcha1" id="captcha_code" autocomplete="off" >    </p>
    <div><input type="submit" value="Submit Form" /></div>
    <p>&nbsp;</p>
    <p>Example using a two-word CAPTCHA.</p>
    <form method="post" action="/try-securimage/">
        <img style="float: left; padding-right: 5px" id="captcha_three" src="/securimage/securimage_show_words.php?namespace=wordcaptcha&amp;amp;cc3139fa82d61239cadcaaeddebb0d16" alt="CAPTCHA Image" /><a tabindex="-1" style="border: 0" href="#" title="Refresh Image" onclick="if (typeof window.captcha_three_audioObj !== 'undefined') captcha_three_audioObj.refresh(); document.getElementById('captcha_three').src = '/securimage/securimage_show_words.php?namespace=wordcaptcha&amp;' + Math.random(); this.blur(); return false"><img height="32" width="32" src="/securimage/images/refresh.png" alt="Refresh Image" onclick="this.blur()" style="border: 0px; vertical-align: bottom"></a></p>
    <div style="clear: both"></div>
    <p><label for="captcha_code">Type the text:</label> <input type="text" name="ct_captcha2" id="captcha_code" autocomplete="off" >    </p>
    <div><input type="submit" value="Submit Form" /></div>
    </form>
    
    				<div class="clearfix"></div>
    
    				
    			</div>
    
    		</div>
    
    		<!-- AdSense -->
    
    	    
    		<!-- /AdSense -->
    
    	
    
    
    <!-- You can start editing here. -->
    
    
    
    <div id="comments">
    
    
    
    
    
    
    	
    		<!-- If comments are closed. -->
    
    		<p class="nocomments"></p>
    
    
    
    	
    
    
    
    
    
    </div> <!-- end #comments_wrap -->
    
    
    
    
    
    
    
    		
    	
      
    
    
    
    		  </div><!--/content-->
    
    		</div><!--/main grid_x-->
    
    	
    	<!--right sidebar-->
    
    	<div class="grid_7">
    
    	  <div id="sidebar" class="r">
    
    	    <div class="module"><div><div><div class="tl">

    Блять эти пидарасы ебанные! На популярном сайте допускают ошибки, всю работу через жопу выполняют пиндосы ниче не лучше русских блядь пидоры, сжечь нахуй сайт удалить нахуй ЗАБАНИТЬ НАХУЙ СУКА

    fuckercoder, 06 Декабря 2018

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