- 1
- 2
- 3
<fileset dir="${basedir}" includes="**/*">
<type type="dir"/>
</fileset>
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+126
<fileset dir="${basedir}" includes="**/*">
<type type="dir"/>
</fileset>
Печаль заключается в том, что <type type="dir"/> никогда ничего не даст выбрать. fileset не может технически содержать папки.
+126
If v1 = 1 Then
t1 = " "
ElseIf v1 = 2 Then
t1 = "q"
ElseIf v1 = 3 Then
t1 = "w"
ElseIf v1 = 4 Then
t1 = "e"
ElseIf v1 = 5 Then
t1 = "r"
ElseIf v1 = 6 Then
t1 = "t"
ElseIf v1 = 7 Then
t1 = "y"
ElseIf v1 = 8 Then
t1 = "u"
ElseIf v1 = 8 Then
t1 = "u"
ElseIf v1 = 9 Then
t1 = "i"
ElseIf v1 = 10 Then
t1 = "o"
ElseIf v1 = 11 Then
t1 = "p"
ElseIf v1 = 12 Then
t1 = "a"
ElseIf v1 = 13 Then
t1 = "s"
ElseIf v1 = 14 Then
t1 = "d"
ElseIf v1 = 15 Then
t1 = "f"
ElseIf v1 = 16 Then
t1 = "g"
ElseIf v1 = 17 Then
t1 = "h"
ElseIf v1 = 18 Then
t1 = "j"
ElseIf v1 = 19 Then
t1 = "k"
ElseIf v1 = 20 Then
t1 = "l"
ElseIf v1 = 21 Then
t1 = "z"
ElseIf v1 = 22 Then
t1 = "x"
ElseIf v1 = 23 Then
t1 = "c"
ElseIf v1 = 24 Then
t1 = "v"
ElseIf v1 = 25 Then
t1 = "b"
ElseIf v1 = 26 Then
t1 = "n"
ElseIf v1 = 27 Then
t1 = "m"
ElseIf v1 = 28 Then
t1 = "!"
ElseIf v1 = 29 Then
t1 = "?"
EndIf
If v2 = 1 Then
t2 = " "
ElseIf v2 = 2 Then
t2 = "q"
ElseIf v2 = 3 Then
t2 = "w"
ElseIf v2 = 4 Then
t2 = "e"
ElseIf v2 = 5 Then
t2 = "r"
ElseIf v2 = 6 Then
t2 = "t"
ElseIf v2 = 7 Then
t2 = "y"
ElseIf v2 = 8 Then
t2 = "u"
ElseIf v2 = 8 Then
t2 = "u"
ElseIf v2 = 9 Then
t2 = "i"
ElseIf v2 = 10 Then
t2 = "o"
ElseIf v2 = 11 Then
t2 = "p"
ElseIf v2 = 12 Then
t2 = "a"
ElseIf v2 = 13 Then
t2 = "s"
ElseIf v2 = 14 Then
t2 = "d"
ElseIf v2 = 15 Then
t2 = "f"
ElseIf v2 = 16 Then
t2 = "g"
ElseIf v2 = 17 Then
t2 = "h"
ElseIf v2 = 18 Then
t2 = "j"
ElseIf v2 = 19 Then
Благодаря этому примеру, мы ещё раз убеждаемся, что SmallBasic- не язык. В оригинале программы есть ещё 350 строк отборного говнокода такого плана.
+126
.cat_mid a{
color: #ffa10e !important;
}
.cat_mid {
padding: 0 10px;
display: inline-block;
font-family: georgia, "times new roman", times, serif;
font-weight: normal;
font-size: 14px;
height: 64px !important;
overflow: hidden;
margin-bottom: -3px !important;
padding: 10px 10px 0;
}
.cat_hid {
color: #bc843f;
padding: 0 10px;
text-align: left;
z-index: 100;
position: relative;
display: none;
}
.cat_hid.not{
display: block !important;
padding: 8px 10px 19px;
}
.cat_hid.not.price{
height: 25px;
padding: 12px 10px 17px;
}
css
+126
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) { ... }
При правке стилей купленной темы..
Ну ебта, что ви таки за 5 долларов то хотели
+126
using питух = String;
...
protected питух AccessToken { get; set; }
В память о плавающем
+126
GOD BAD DOG GARAGE AGE
;В exe файлы не запихивать в wct editor-е, а то шиндоус пострадает ;-)
Вот такие слова можно составить на системе счисления wct :)
!!! ВНИМАНИЕ !!! В exe файлы не запихивать в wct editor-е, а то шиндоус пострадает ;-)
(ЗЫ: для тех, кто не знает, что такое wct, прошу сюда - vk.com/wct_official, http://wctsite.tk)
+126
Если переменных в памяти потребуется слишком большое количество,
которое не сможет вместить в себя сама аппаратная часть, произойдет перегрузка системы или её зависание.
Милок сидит на досе и не умеет в gc.
http://code-live.ru/post/cpp-pointers/
+126
// sometimes I believe compiler ignores all my comments
// Class used to work around Richard being a fucking idiot
// somedev1 - 6/7/02 Adding temporary tracking of Login screen
// somedev2 - 5/22/07 Temporary my ass
// Magic. Do not touch.
// Я посвящаю весь этот код, все мою работу, моей жене Дарлин, которая будет поддерживать меня и наших троих детей и собаку, когда выйдет в релиз
return 1; # returns 1
// I am not sure if we need this, but too scared to delete.
// I am not responsible of this code.
// They made me write it, against my will.
/* Please work */
options.BatchSize = 300; //Madness? THIS IS SPARTA!
// I have to find a better job
// hack for ie browser (assuming that ie is a browser)
} catch (PartInitException pie) {
// Mmm... pie
/*
after hours of consulting the tome of google
i have discovered that by the will of unknown forces
without the below line, IE7 believes that 6px = 12px
*/
font-size: 0px;
Самые смешные коментарии в коде собрали на stackoverflow
Я пролистал первые три страницы, и выписал несколько, которые мне понравились
http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
+126
[ 1, 2, 3, 4 ].map!("a + a")
//...
"{ " ~ [1, 2, 3, 4].map!(to!string).join(", ") ~ " }"
+126
/**
* Set each member to false.
*/
void pauseAll()
{
foreach( member; __traits(allMembers, ObjectStateFlags) )
static if( __traits(compiles, __traits(getMember, ObjectStateFlags, member) = false) )
__traits(getMember, ObjectStateFlags, member) = false;
}