-
−4
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 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;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">
Блять эти пидарасы ебанные! На популярном сайте допускают ошибки, всю работу через жопу выполняют пиндосы ниче не лучше русских блядь пидоры, сжечь нахуй сайт удалить нахуй ЗАБАНИТЬ НАХУЙ СУКА
fuckercoder,
06 Декабря 2018
-
0
- 1
- 2
- 3
- 4
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.
Steve_Brown,
05 Декабря 2018
-
0
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
// костыль, сделать иначе - не представляется возможным
labels: [
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
]
vistefan,
05 Декабря 2018
-
+2
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
private boolean checkRule(SchedulerPlanedTaskRuleBase rule, Date nowDate)
{
boolean result = (null != rule) && rule.isExecutionPlaned(nowDate, _lastExecutionDate);
if (result)
{
//Проверка, выполнялось ли уже это действие в эту минуту. Таймер настроен на 30 сек, поэтому эта задача может запускаться 2 раза в минуту.
//Этого нельзя допустить. Если разница между текущим временем и временем последнего запуска этой задачи меньше 2х минут - задача не запускается
if (_lastExecutionDate != null)
{
Calendar lastTime = DateUtils.createCalendar(_lastExecutionDate);
Calendar nowTime = DateUtils.createCalendar(nowDate);
if (Math.abs(nowTime.getTimeInMillis() - lastTime.getTimeInMillis()) < 120000)
return false;
}
}
return result;
}
vistefan,
05 Декабря 2018
-
+2
- 1
https://youtu.be/ITupdZ4TmkI?t=96
Goh,
05 Декабря 2018
-
+1
- 1
- 2
- 3
if (!is_null($model->parent_id)) {
$id = FaqCategory::find()->where(["id" => $model->parent_id])->one()->id;
}
Как получить ID дочерней категории, которое у вас уже есть
den_rad,
05 Декабря 2018
-
0
- 1
https://www.theverge.com/2018/12/4/18125238/microsoft-chrome-browser-windows-10-edge-chromium
Chromium победил
Her,
05 Декабря 2018
-
+13
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
union pony {
double celestia = 0.;
short luna; // padded
};
atomic<pony> princesses = ATOMIC_VAR_INIT({});
bool party(pony desired) {
pony expected;
return princesses.compare_exchange_strong(expected, desired);
}
Эти дебилы из комитета вконец поехали.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0528r3.html
roman-kashitsyn,
04 Декабря 2018
-
−2
- 1
- 2
- 3
- 4
- 5
- 6
- 7
import java.util.Optional;
public class Fuck {
public static <T> Optional<T> of(T o) {
return Optional.of(o);
}
}
xaoc,
04 Декабря 2018
-
0
- 1
- 2
- 3
- 4
- 5
setInterval(() => {
const [x, y] = win.getPosition()
localStorage.setItem('x', x)
localStorage.setItem('y', y)
}, 3)
s: https://github.com/JsusDev/JS.VPN-Client/blob/master/app/components/vpn/client/index.html
Охуеть, блядь. Сраная обёртка над однострочным скриптом, написанная на сраном «Электроне», весит сраных 38 мегабайт и каждые три сраных миллисекунды гоняет туда-сюда байты. И это программисты? Это программисты? Говно какое-то, пидоры, блядь. Родина им дала скрипты — пиши, пиши ничего не весящий однострочник! Блядь, не хотим, хотим высирать говно. И даже эта обёртка на «Электроне», единственный смысл в которой — максимальная кроссплатформенность, намертво прибита к бинарникам «OpenVPN» версии 2.4.6. К сраным, блядь, виндовым бинарникам!
Да, у меня бугурт от настолько лютого говна.
gost,
04 Декабря 2018