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 | |
| # Dana jest posortowana tablica składająca się z 10k losowych elementów | |
| $arr = array ('123', '3456', '23029', '31930', '234334', ... ); | |
| # napisz skrypt, który wygeneruje taką tablicę a później w optymalny sposób wstawi do niej nowy element (np. $elem = 6738) w odpowiednie miejsce (zachowując sortowanie rosnące) | |
| # skrypt musi być optymalny, aby mieć pewność, że tak będzie napisz część skryptu wstawiającego nowy element na trzy sposoby i porównaj czasy ich wykonania | |
| # warunek: nie można używać funkcji sortujących wbudowych w PHP | |
| # finalny skrypt ma zawierać: | |
| # - generowanie tablicy wejściowej |
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
| <!-- KISSmetrics tracking snippet --> | |
| <script type="text/javascript">var _kmq = _kmq || []; | |
| var _kmk = _kmk || '94cc3b01d4ac43404089988ef3ce563d503a607d'; | |
| function _kms(u){ | |
| setTimeout(function(){ | |
| var d = document, f = d.getElementsByTagName('script')[0], | |
| s = d.createElement('script'); | |
| s.type = 'text/javascript'; s.async = true; s.src = u; | |
| f.parentNode.insertBefore(s, f); | |
| }, 1); |
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
| <!-- (C)2000-2015 Gemius SA - gemiusTraffic / ver 11.1 / 1111_Znany_Lekarz_lead --> | |
| <script type="text/javascript"> | |
| <!--//--><![CDATA[//><!-- | |
| var gemius_identifier = new String('0tHldKLM0Vv2JHz30Zt2bbbt7_x8gFrdI.YYpSp7bxv.t7'); | |
| //--><!]]> | |
| </script> | |
| <script type="text/javascript" src="http://pro.hit.gemius.pl/gemius.js"></script> |
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
| <!-- (C)2000-2015 Gemius SA - gemiusTraffic / ver 11.1 / 1111_Znany_lekarz_opinia --> | |
| <script type="text/javascript"> | |
| <!--//--><![CDATA[//><!-- | |
| var gemius_identifier = new String('bJ5LcBwuPEJqeyCPREvGuJcijy2sVJuo4B8IQlKIZ0X.K7'); | |
| //--><!]]> | |
| </script> | |
| <script type="text/javascript" src="http://pro.hit.gemius.pl/gemius.js"></script> |
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
| <script> | |
| var dataLayerContainer = {}; | |
| dataLayerContainer['gtm-pageType'] = '500'; //or 404 | |
| dataLayer = [dataLayerContainer]; | |
| </script> | |
| <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PZ83PG" | |
| height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | |
| <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push( | |
| {'gtm.start': new Date().getTime(),event:'gtm.js'} |
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 | |
| $input = file_get_contents( 'php://input' ); | |
| $inputArr = explode('&', $input); | |
| foreach($inputArr as $val) | |
| { | |
| if(strstr($val, 'CallStatus')) | |
| { | |
| $val = explode('=', $val); |
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
| <Response> | |
| <Play>https://dl.dropboxusercontent.com/u/22815408/patient_wait.mp3</Play> | |
| <Dial action="http://plivo.docplanner.io/callback.php" redirect="true" confirmSound="https://dl.dropboxusercontent.com/u/22815408/plivo-test-sound.xml" timeout="30"> | |
| <Number>+48501222364</Number> | |
| </Dial> | |
| </Response> |
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
| <script> | |
| (function(_,e,rr,s){_errs=[s];var c=_.onerror;_.onerror=function(){var a=arguments;_errs.push(a); c&&c.apply(this,a)};var b=function(){var c=e.createElement(rr),b=e.getElementsByTagName(rr)[0]; c.src="//beacon.errorception.com/"+s+".js";c.async=!0;b.parentNode.insertBefore(c,b)}; _.addEventListener?_.addEventListener("load",b,!1):_.attachEvent("onload",b)}) (window,document,"script","5492cb6037da07176b000dc6"); | |
| </script> |
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
| <script type="text/javascript"> | |
| window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=s(e),f=c.length,u=i(a,o,r),d=0;f>d;d++)c[d].apply(u,n);return u}function a(t,e){f[t]=s(t).concat(e)}function s(t){return f[t]||[]}function c(){return n(e)}var f={};return{on:a,emit:e,create:c,listeners:s,_events:f}}function r(){return{}}var o="nr@context",i=t("gos");e.exports=n()},{gos:"7eSDFh"}],ee:[function(t,e){e.exports=t("QJf3ax")},{}],3:[function(t){function e(t){try{i.console&&console.log(t)}catch(e){}}var n,r=t("ee"),o=t(1),i={};try{n=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(i.console=!0,-1!==n.indexOf("dev")&&(i.dev=!0),-1!==n.indexOf("nr_ |
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 | |
| /** | |
| * Created by: gellu | |
| * Date: 17.07.2014 16:42 | |
| */ | |
| class ProductsKpi extends Command | |
| { | |
| private $_db; |
NewerOlder