This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _ F-->00 || F-OO--; | |
long F=00,OO=00; | |
main(){F_OO();printf("%1.3f\n", 4.*-F/OO/OO);}F_OO() | |
{ | |
_-_-_-_ | |
_-_-_-_-_-_-_-_-_ | |
_-_-_-_-_-_-_-_-_-_-_-_ | |
_-_-_-_-_-_-_-_-_-_-_-_-_-_ | |
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ | |
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// override default jQuery transport for IE | |
if(window['XDomainRequest']) { | |
// save default xhr | |
jQuery.ajaxSettings.xhr_back = jQuery.ajaxSettings.xhr; | |
jQuery.ajaxSettings.xhr = function() { | |
if(this.crossDomain) { | |
try { | |
// IE sucs | |
var xhr = new window.XDomainRequest(); | |
xhr.onload = function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match pattern="/login/"> | |
<block name="nocache" /> | |
<secure level="guest" only="true"> | |
<template var="content" src="login.tpl.php"/> | |
<template src="index.tpl.php" /> | |
<end/> | |
</secure> | |
<redirect/> | |
</match> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
function test($func) { | |
$func('Hello world!'); | |
} | |
test(function($message){ | |
echo $message; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* получаем HTML по ссылке */ | |
include('softenCurl.php'); | |
$curlObject = new softenCurl(); | |
$contents = $curlObject->get('http://google.com'); | |
// в $contents будет HTML-код страницы | |
?> |