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

    +2

    1. 1
    2. 2
    3. 3
    4. 4
    l =: 3 :  'LF,~":<./(*/,*/"1)(i.2){(\:~,./:~)t=.}.".y rplc LF,'' -_'''
    
    l&.stdin ''
    exit ''

    Abbath, 29 Октября 2015

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

    +10

    1. 1
    http://ideone.com/VODKA

    Генерятся ж иногда адреса как надо

    absolut, 27 Октября 2015

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

    +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
    <div class="tabtica">
        <div class="header">
            <div class="col1">фото</div>
            <div class="col2">товар</div>
            <div class="col3">количество</div>
            <div class="col4">цена</div>
            <div class="col5">итого</div>
            <div class="col6"></div>
        </div>
        <div class="clear"></div>
        <div class="item">
            <div class="col1 imgColTable">
                <img src="img/iphoneTable.jpg">
            </div>
            <div class="col2 nameColTable"><a href="">iPhone 6 Plus 128 Gb Space Gray</a></div>
            <div class="col3 quantityColTable"><input type="number" value="1"></div>
            <div class="col4 priceColTable"><span class="bold">10 499</span>руб.</div>
            <div class="col5 summColTable"><span class="bold">10 499</span>руб.</div>
            <div class="col6 delColTable"><a href=""><img src="img/close.png"></a></div>
        </div>
        <div class="item">
            <div class="col1 imgColTable">
                <img src="img/iphoneTable.jpg">
            </div>
            <div class="col2 nameColTable"><a href="">iPhone 6 Plus 128 Gb Space Gray</a></div>
            <div class="col3 quantityColTable"><input type="number" value="1"></div>
            <div class="col4 priceColTable"><span class="bold">10 499</span>руб.</div>
            <div class="col5 summColTable"><span class="bold">10 499</span>руб.</div>
            <div class="col6 delColTable"><a href=""><img src="img/close.png"></a></div>
        </div>
        <div class="itogo">
            <p>Итого:<span>100 500 руб.</span></p>
        </div>
    </div>

    Вот так вот нынче таблицы в корзине делают)

    la2ha, 26 Октября 2015

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

    +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
    <!DOCTYPE html>
    <!--Привет, друг!
    Привет, друг. 
    Чушь какая.-->
    <title>CMW | Авторизация</title>
    
    <!-- <Meta> -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- </Meta> -->
    
    <!-- <Stylesheet> -->
    <link rel="stylesheet" href="./Stylesheet/index.css">
    <!-- </Stylesheet> -->
    
    <!-- <div style="background-color: #2b333e">Для рекламы</div> -->
    
    <header class="z-depth-1">
        <!-- Фиксация навигации при прокрутке -->
        <div class="navbar-fixed">
            <nav>
                <div class="nav-wrapper">
                    <div class="container"><a href="#" data-activates="slide-out" class="button-collapse"><i class="mdi-navigation-menu"></i></a></div>
                    <a class="navbar-brand navigation__logo" href="main.html"></a>
                    <a  href="auth.html"><button type="submit" class="btn button__main navbar-right authorization">Авторизация</button></a>
                </div>
            </nav>
        </div>
    </header>

    Верстку от дизайнера привезли

    HiNeX, 25 Октября 2015

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

    +2

    1. 1
    2. 2
    getKeyFingerprint(Key) ->
      os:cmd("ssh-keygen -lf /dev/stdin <<< '~p'", [Key]).

    CHayT, 24 Октября 2015

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

    +4

    1. 1
    2. 2
    3. 3
    4. 4
    NDS_U1     946  0.1  0.0      0     0 ?        Zl   00:00   0:00 [SCD_Process] <defunct>
    NDS_U2     950  4.7  0.0      0     0 ?        Zl   00:00   0:27 [MW_Process] <defunct>
    NDS_U3     951  3.1  0.0      0     0 ?        Zl   00:00   0:18 [APP_Process] <defunct>
    NDS_U4     952  0.3  0.0      0     0 ?        Zl   00:00   0:02 [CA_Process] <defunct>

    Все основные процессы в железке выполняются как зомби, утверждается, что это самый дешевый способ демонизации. Но как-то от него сильно попахивает. По крайней мере, в таком виде если я хочу перезапустить хотя бы один из этих процессов, я должен перезагружать коробку. Да и вообще, разве процесс зомби может что-то делать полезное?

    gorthauer87, 12 Октября 2015

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

    +2

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    %%% O(n log n)
    nub([]) -> [];
    nub([H|T]) ->                    
        case lists:member(H, T) of
            true ->
                nub(T);
            false ->
                [H|nub(T)]
        end.

    кто-то услышал про логлинейный nub, и решил, что у него тоже получится

    CHayT, 06 Октября 2015

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

    +1

    1. 1
    https://i.imgur.com/S0Ti1EO.png

    Макаки - они везде.

    gost, 06 Октября 2015

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

    +1

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    .selection-href {
      height: inherit !important;
      font-size: 1em !important;
      font-weight: inherit !important;
      box-sizing: inherit !important;
      width: inherit !important;
      text-transform: none !important;
    }

    BeatC, 01 Октября 2015

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

    +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
    {header}
    
    <p style="font-weight: bold; text-decoration: underline">{$orgName}</p>
    
    <p style="font-weight: bold">Адреса: {$orgBillingAddress}, тел.: {$orgPhone}</p>
    
    <div style="font-weight: bold; text-align: center">Зразок заповенння платіжного доручення</div>
    
    <table border="1" cellpadding="2">
    <tr>
      <td width="140">ЄДРПО {$orgInn}</td><td width="140">ІДПРС {$orgKpp}</td><td rowspan="2" width="50"><br/><br/>Рахунок. №</td><td rowspan="2" width="200"><br/><br/>{$orgBankAccount}</td>
    </tr>
    <tr>
    <td colspan="2" width="280"><span style="font-size: 8pt">Одержувач</span><br/>{$orgName}</td>
    </tr>
    <tr>
    <td colspan="2" rowspan="2" width="280"><span style="font-size: 8pt">Банк отримувача</span><br/>{$orgBankName}</td>
    <td width="50">БІК</td>
    <td rowspan="2" width="200">{$orgBankId}<br/>{$orgCorrAccount}</td>
    </tr>
    <tr>
    <td width="50">Рахунок. №</td>
    </tr>
    </table>
    <br/>
    <h1 style="text-align: center">Рахунок № {$invoice_no} від {$invoice_invoicedate}</h1>
    <br/><br/>
    <table border="0">
    <tr>
    <td width="100">Платник:</td><td width="450"><span style="font-weight: bold">{$account_accountname}</span></td>
    </tr>
    <tr>
    <td width="100">Одержувач:</td><td width="450"><span style="font-weight: bold">{$orgName}</span></td>
    </tr>
    </table>
    
    {/header}
    
    {table_head}
    <table border="1" style="font-size: 8pt" cellpadding="2">
        <tr style="text-align: center; font-weight: bold">
    	<td width="30">№</td>
          <td width="260">Назва<br/>товару</td>
          <td width="65">Одиниця<br/>вимір-<br/>рювання</td>
          <td width="35">Кіль-<br/>кість</td>
    	<td width="70">Ціна</td>
    	<td width="70">Сумма</td>
    	</tr>
    {/table_head}
    
    {table_row}
        <tr>
    	<td width="30">{$productNumber}</td>
          <td width="260">{$productName} {$productComment}</td>
    	<td width="65" style="text-align: center">{$productUnits}</td>
    	<td width="35" style="text-align: right">{$productQuantityInt}</td>
    	<td width="70" style="text-align: right">{$productPrice}</td>
    	<td width="70" style="text-align: right">{$productNetTotal}</td>
        </tr>
    {/table_row}
    
    {summary}
    </table>
    <table border="0" style="font-size: 8pt;font-weight: bold">
        <tr>
          <td width="460">
            <table border="0" cellpadding="2">
              <tr><td width="460" style="text-align: right">Разом:</td></tr>
              <tr><td width="460" style="text-align: right">Сумма ПРД:</td></tr>
              <tr><td width="460" style="text-align: right">Всього до сплати:</td></tr>
            </table>
          </td>
          <td width="70">
            <table border="1" cellpadding="2">
              <tr><td width="70" style="text-align: right">{$summaryNetTotal}</td></tr>
              <tr><td width="70" style="text-align: right">{$summaryTax}</td></tr>
              <tr><td width="70" style="text-align: right">{$summaryGrandTotal}</td></tr>
            </table>
          </td>
      </tr>
    </table>
    
    <p>
    Всього найменувань {$summaryTotalItems}, на сумму {$summaryGrandTotal} грн.<br/>
    <span style="font-weight: bold">{$summaryGrandTotalLiteral}</span>
    </p>
    
    {/summary}
    
    {ending}
    <br/>
        <p>Крівник підприємства  __________________ ( {$orgDirector} ) <br/>
        <br/>
        Головний бухгалтер  __________________ ( {$orgBookkeeper} )
        </p>
    {/ending}

    генератор пдф

    igorko, 01 Октября 2015

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