- 1
Возбуждают ли вас мраморные хуйцы древнегреческих статуй?
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
−106
Возбуждают ли вас мраморные хуйцы древнегреческих статуй?
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 (микелланджело молодчина)
−1
x += [random.randint(1,5)*2-1] # здесь мог бы быть random.choice([1,3,7,9])
input()
if 1 in x:
# . . .
# . . .
elif 5 in x:
# А как мне заимплементить случай с пятеркой???7
Когда забываешь о random.choice([...])
+1
<?php
function array_rot(&$butterbrot) {
$rosenrot = array_shift($butterbrot);
array_push($butterbrot, $rosenrot);
}
function mutate($hydra, $head) {
if (count($hydra) < 1) {
yield [$head];
}
foreach($hydra as $branch) {
$branch[] = $head;
for ($i = 0; $i < count($branch); ++$i) {
array_rot($branch);
yield $branch;
}
}
}
class YOBAMaster {
private $data = [];
public function __get($name) {
$tmp = [];
foreach (mutate($this->data, $name) as $variant) {
$tmp[] = $variant;
}
$this->data = $tmp;
return $this;
}
public function say() {
foreach ($this->data as $item) {
echo implode(' ', $item) . PHP_EOL;
}
$this->data = [];
}
}
$master = new YOBAmaster();
$master->ALLO->YOBA->ETO->TI->say();
$master->YOBI->NET->DOMA->say();
https://ideone.com/aoZ9PX
+3
user_pref("general.useragent.override.3dn.ru", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.at.ua", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.clan.su", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.do.am", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.moy.su", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.my1.ru", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.narod.ru", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.ae", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.com", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.es", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.hu", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.kz", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.lv", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.net", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.org", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
user_pref("general.useragent.override.ucoz.ru", "Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9 u01-04");
Ко-ко-ко, куд-кудах-тах-тах!
−1
Процедура ПередЗаписью(Отказ, РежимЗаписи, РежимПроведения)
//...
Если НЕ Отказ Тогда
ЭтотОбъект.ОбменДанными.Загрузка = Истина;
ЭтотОбъект.Записать();
ЭтотОбъект.ОбменДанными.Загрузка = Ложь;
//...
КонецЕсли;
КонецПроцедуры // ПередЗаписью
БУдУ, УТПдУ, УППдУ
Бля, ну как так можно? Что за идиот это писал?
Сначала Пактум от школьника, теперь эта херь...
0
public void testGetClosedStatuses() {
List<FooStatus> expectedStatuses = Arrays.asList(
FooStatus.CANCELLED,
FooStatus.COMPLETED,
FooStatus.REJECTED);
List<FooStatus> closedStatuses = fooService.getClosedStatuses();
assertThat(closedStatuses, containsInAnyOrder(expectedStatuses.toArray());
}
Берём массив и преобразуем его в список. Чтобы использовать этот список, преобразуем его в массив.
−1
процедура расш_таблицаприактивациистроки(элемент)
простодеревозначений = новый деревозначений;
простодеревозначений.очистить();
конецпроцедуры
//впадает в рекурсию и программа умирает
процедура расш_таблицаприактивациистроки_(элемент)
простодеревозначений = новый таблицазначений;
простодеревозначений.очистить();
конецпроцедуры
//не впадает в рекурсию
Чо поцоны, изи рекурсия. УТ 11. Насчет других не тестил.
При активации строки ТЧ, срабатывает эта процедура. Создаю новое дерево значений, и при его очистки вызывается какой-то общий модуль который я не звал и начинает активировать всю форму - охуенно. соответственно вызывается эта процедура пофторно. При ТЗ такой хуйни нет.
−4
<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;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&id=5c0860efe364f&format=mp3" type="audio/mpeg"><source id="captcha_two_source_wav" src="/securimage/securimage_play.php?namespace=mathcaptcha&id=5c0860efe368a" type="audio/wav"><object type="application/x-shockwave-flash" data="/securimage/securimage_play.swf?bgcol=%23ffffff&icon_file=%2Fsecurimage%2Fimages%2Faudio_icon.png&audio_file=%2Fsecurimage%2Fsecurimage_play.php%3Fnamespace%3Dmathcaptcha%26" height="32" width="32"><param name="movie" value="/securimage/securimage_play.swf?bgcol=%23ffffff&icon_file=%2Fsecurimage%2Fimages%2Faudio_icon.png&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&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&' + 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> </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;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&' + 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">
Блять эти пидарасы ебанные! На популярном сайте допускают ошибки, всю работу через жопу выполняют пиндосы ниче не лучше русских блядь пидоры, сжечь нахуй сайт удалить нахуй ЗАБАНИТЬ НАХУЙ СУКА
0
UCSR0A |= TXC0_MASK;
UDR0 = value;
while ((UCSR0A & TXC0_MASK) == 0)
;
The TXCn flag ... can be cleared by writing a one to its location.
Cleared by writing one, Carl.
0
// костыль, сделать иначе - не представляется возможным
labels: [
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
]