<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Блог о СОЗДАНИЕ САЙТОВ | Разработка сайтов - VESELOV.SUMY.UA</title>
<link>https://veselov.sumy.ua/</link>
<language>ru</language>
<description>Блог о СОЗДАНИЕ САЙТОВ | Разработка сайтов - VESELOV.SUMY.UA</description>
<generator>Veselov</generator><item>
<title>mFancyTitle - jquery плагин для анимации favicon и title</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2171-mfancytitle-jquery-plagin-dlya-animacii-favicon-i-title.html</guid>
<link>https://veselov.sumy.ua/2171-mfancytitle-jquery-plagin-dlya-animacii-favicon-i-title.html</link>
<description><![CDATA[<div style="text-align:center;"><!--dle_image_begin:http://mft.musings.it/img/static/BrowserTemplate01.png|--><a href="http://mft.musings.it/img/static/BrowserTemplate01.png" onclick="return hs.expand(this)" ><img src="http://mft.musings.it/img/static/BrowserTemplate01.png" width="840" height="158" alt="mFancyTitle - jquery плагин для анимации favicon и title" title="mFancyTitle - jquery плагин для анимации favicon и title"  /></a><!--dle_image_end--></div><br />Пример использования<br /><pre><code>$.mFancyTitle(&#123;
	mftMissYou&#58; true,
	mftMissYouTitle&#58; &#39;Hey! I miss you!&#39;, // new document title&#58; it will appear when the user leaves your page and open another tab in the browser
	mftMissYouFavicon&#58; &#123;
		&#39;apple-touch-icon-precomposed&#39;&#58; &#39;path-to/apple-touch-icon-152x152.png&#39;,
		&#39;icon&#39;&#58; &#39;path-to/favicon-32x32.png&#39;,
		&#39;shortcut icon&#39;&#58; &#39;path-to/favicon.ico&#39;
	} // new favicons&#58; they will be visible when the user leaves your page and open another tab in the browser
});</code></pre><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cDovL21mdC5tdXNpbmdzLml0Lw%3D%3D"  target="_blank"  rel="nofollow">http://mft.musings.it/</a><!--dle_leech_end-->]]></description>
<category><![CDATA[JavaScript / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Tue, 18 Oct 2016 11:11:16 +0300</pubDate>
</item><item>
<title>abDetector - детектор адблока на чистом js</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2170-abdetector-detektor-adbloka-na-chistom-js.html</guid>
<link>https://veselov.sumy.ua/2170-abdetector-detektor-adbloka-na-chistom-js.html</link>
<description><![CDATA[<pre><code>window.&#111;nload = function() &#123;
	var iframe = document.createElement(&#39;iframe&#39;),
		randomNum = Math.floor(Math.random() * (10000 - 123 + 1)) + 123,
		protocol = window.location.protocol;

	iframe.src = protocol +&#34;//google.com/&#34;+ randomNum +&#34;/ads.html&#34;;
	iframe.height = &#34;.1px&#34;;
	iframe.width = &#34;.1px&#34;;
	iframe.id = &#39;some-ad&#39;;

	getRequest(iframe, function (response) &#123; // On Success
		document.body.appendChild(iframe);
	}, function (xhr, status) &#123; // On error
		if (status === 0) // Request aborted
	  		document.body.appendChild(iframe);
	});

	setTimeout(function() &#123;
		var someAd = document.getElementById(&#39;some-ad&#39;);
		if(someAd === null ||
		someAd.style.display == &#34;none&#34; ||
		someAd.style.display == &#34;hidden&#34; ||
		someAd.style.visibility == &#34;hidden&#34; ||
		someAd.offsetHeight === 0)
			document.getElementById(&#39;ab-message&#39;).style.display = &#39;block&#39;;
		else
			someAd.remove();
	}, 500);
};

function getRequest (iframe, success, error) &#123;
	var xhr = XMLHttpRequest ? new XMLHttpRequest() &#58; new ActiveXObject(&#34;Microsoft.XMLHTTP&#34;);
	xhr.open(&#34;GET&#34;, iframe.src);
	xhr.onreadystatechange = function()&#123;
		if (xhr.readyState == 4)
			if (xhr.status == 200) // Loaded successfully
				success(xhr.responseText);
			else // For any other error
				error(xhr, xhr.status);
	};
	xhr.send();
}</code></pre><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cHM6Ly9naXRodWIuY29tL1I0bWVhdS9hYkRldGVjdG9y"  target="_blank"  rel="nofollow">https://github.com/R4meau/abDetector</a><!--dle_leech_end-->]]></description>
<category><![CDATA[JavaScript  / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Mon, 17 Oct 2016 11:09:01 +0300</pubDate>
</item><item>
<title>kanboard - php скрипт канбан доски</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2169-kanboard-php-skript-kanban-doski.html</guid>
<link>https://veselov.sumy.ua/2169-kanboard-php-skript-kanban-doski.html</link>
<description><![CDATA[<div style="text-align:center;"><!--dle_image_begin:https://kanboard.net/screenshots/board.png|--><a href="https://kanboard.net/screenshots/board.png" onclick="return hs.expand(this)" ><img src="https://kanboard.net/screenshots/board.png" width="840" height="374" alt="kanboard - php скрипт канбан доски" title="kanboard - php скрипт канбан доски"  /></a><!--dle_image_end--></div><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cHM6Ly9rYW5ib2FyZC5uZXQv"  target="_blank"  rel="nofollow">https://kanboard.net/</a><!--dle_leech_end-->]]></description>
<category><![CDATA[PHP   / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Fri, 14 Oct 2016 11:07:19 +0300</pubDate>
</item><item>
<title>soap-client - soap клиент на чистом php</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2168-soap-client-soap-klient-na-chistom-php.html</guid>
<link>https://veselov.sumy.ua/2168-soap-client-soap-klient-na-chistom-php.html</link>
<description><![CDATA[Пример использования <br /><pre><code>// composer auto loader
require __DIR__ . &#39;/vendor/autoload.php&#39;;

// instantiate the main container class
// the name was defined by --dest-class=GlobalWeather/Container/SoapClientContainer
// parameter during the generation process
$container = new SoapClientContainer();

// create a JMS serializer instance
$serializer = SoapContainerBuilder&#58;&#58;createSerializerBuilderFromContainer($container)-&gt;build();
// get the metadata from the container
$metadata = $container-&gt;get(&#39;goetas.soap_client.metadata_reader&#39;);

$factory = new ClientFactory($metadata, $serializer);

/**
 * @var $client \GlobalWeather\SoapStubs\WeatherSoap
 */
 // get the soap client
$client = $factory-&gt;getClient(&#39;http&#58;//www.webservicex.net/weather.asmx?WSDL&#39;);

// call the webservice
$result = $client-&gt;getWeather(2010, &#34;May&#34;, &#34;USA&#34;);</code></pre><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cHM6Ly9naXRodWIuY29tL2dvZXRhcy13ZWJzZXJ2aWNlcy9zb2FwLWNsaWVudA%3D%3D"  target="_blank"  rel="nofollow">https://github.com/goetas-webservices/soap-client</a><!--dle_leech_end-->]]></description>
<category><![CDATA[PHP    / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Thu, 13 Oct 2016 11:05:50 +0300</pubDate>
</item><item>
<title>cachetool - CLI приложение для раобты с apc &amp; opcache</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2167-cachetool-cli-prilozhenie-dlya-raobty-s-apc-opcache.html</guid>
<link>https://veselov.sumy.ua/2167-cachetool-cli-prilozhenie-dlya-raobty-s-apc-opcache.html</link>
<description><![CDATA[<pre><code>apc
  apc&#58;bin&#58;dump             Get a binary dump of files and user variables
  apc&#58;bin&#58;load             Load a binary dump into the APC file and user variables
  apc&#58;cache&#58;clear          Clears APC cache (user, system or all)
  apc&#58;cache&#58;info           Shows APC user &amp; system cache information
  apc&#58;cache&#58;info&#58;file      Shows APC file cache information
  apc&#58;key&#58;delete           Deletes an APC key
  apc&#58;key&#58;exists           Checks if an APC key exists
  apc&#58;key&#58;fetch            Shows the content of an APC key
  apc&#58;key&#58;store            Store an APC key with given value
  apc&#58;sma&#58;info             Show APC shared memory allocation information
apcu
  apcu&#58;cache&#58;clear         Clears APCu cache
  apcu&#58;cache&#58;info          Shows APCu user &amp; system cache information
  apcu&#58;cache&#58;info&#58;keys     Shows APCu keys cache information
  apcu&#58;key&#58;delete          Deletes an APCu key
  apcu&#58;key&#58;exists          Checks if an APCu key exists
  apcu&#58;key&#58;fetch           Shows the content of an APCu key
  apcu&#58;key&#58;store           Store an APCu key with given value
  apcu&#58;regexp&#58;delete       Deletes all APCu key matching a regexp
  apcu&#58;sma&#58;info            Show APCu shared memory allocation information
opcache
  opcache&#58;configuration    Get configuration information about the cache
  opcache&#58;reset            Resets the contents of the opcode cache
  opcache&#58;status           Show summary information about the opcode cache
  opcache&#58;status&#58;scripts   Show scripts in the opcode cache
stat
  stat&#58;clear               Clears the file status cache, including the realpath cache
  stat&#58;realpath_get        Show summary information of realpath cache entries
  stat&#58;realpath_size       Display size of realpath cache</code></pre><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cHM6Ly9naXRodWIuY29tL2dvcmRhbGluYS9jYWNoZXRvb2w%3D"  target="_blank"  rel="nofollow">https://github.com/gordalina/cachetool</a><!--dle_leech_end-->]]></description>
<category><![CDATA[PHP     / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Wed, 12 Oct 2016 11:03:52 +0300</pubDate>
</item><item>
<title>snorlax - легковесный REST клиент на php</title>
<guid isPermaLink="true">https://veselov.sumy.ua/2166-snorlax-legkovesnyy-rest-klient-na-php.html</guid>
<link>https://veselov.sumy.ua/2166-snorlax-legkovesnyy-rest-klient-na-php.html</link>
<description><![CDATA[Пример использования<br /><pre><code>&lt;?php

use Snorlax\Resource;
use Snorlax\RestClient;

class PokemonResource extends Resource
&#123;
    public function getBaseUri()
    &#123;
        // You don&#39;t want a raw value like this, use an environment variable &#58;)
        return &#39;http&#58;//localhost/api/pokemons&#39;;
    }

    public function getActions()
    &#123;
        return &#91;
            &#39;all&#39; =&gt; &#91;
                &#39;method&#39; =&gt; &#39;GET&#39;,
                &#39;path&#39; =&gt; &#39;/&#39;,
            &#93;,
            &#39;get&#39; =&gt; &#91;
                &#39;method&#39; =&gt; &#39;GET&#39;,
                &#39;path&#39; =&gt; &#39;/&#123;0}.json&#39;,
            &#93;,
            &#39;create&#39; =&gt; &#91;
                &#39;method&#39; =&gt; &#39;POST&#39;,
                &#39;path&#39; =&gt; &#39;/&#39;,
            &#93;,
        &#93;;
    }
}

$client = new RestClient(&#91;
    &#39;resources&#39; =&gt; &#91;
        &#39;pokemons&#39; =&gt; PokemonResource&#58;&#58;class,
    &#93;,
&#93;);

// GET http&#58;//localhost/api/pokemons?sort=id&#58;asc
$response = $client-&gt;pokemons-&gt;all(&#91;
    &#39;query&#39; =&gt; &#91;
        &#39;sort&#39; =&gt; &#39;id&#58;asc&#39;,
    &#93;,
&#93;);

// GET http&#58;//localhost/api/pokemons/143.json?fields=id,name
$response = $client-&gt;pokemons-&gt;get(143, &#91;
    &#39;query&#39; =&gt; &#91;
        &#39;fields&#39; =&gt; &#39;id,name&#39;,
    &#93;,
&#93;);

// POST http&#58;//localhost/api/pokemons
$response = $client-&gt;pokemons-&gt;create(&#91;
    &#39;body&#39; =&gt; &#91;
        &#39;name&#39; =&gt; &#39;Bulbasaur&#39;,
    &#93;,
&#93;);</code></pre><br /><!--dle_leech_begin--><a href="/engine/go.php?url=aHR0cHM6Ly9naXRodWIuY29tL2V6ZGVsaXZlcnljby9zbm9ybGF4"  target="_blank"  rel="nofollow">https://github.com/ezdeliveryco/snorlax</a><!--dle_leech_end-->]]></description>
<category><![CDATA[PHP      / Обзор]]></category>
<dc:creator>utz0r2</dc:creator>
<pubDate>Tue, 11 Oct 2016 11:02:20 +0300</pubDate>
</item></channel></rss>