This file contains 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
[Adblock Plus] | |
! Title: CookieInfoBlocker | |
! Last modified: 25 Feb 2015 0:00 GMT | |
! Expires: 2 days (update frequency) | |
! Homepage: https://gist.github.com/ | |
oracle.com#[class*="overlay"] |
This file contains 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 dodajGmineDoBazy(nazwa) | |
{ | |
var dupa; | |
var id = $.post("/ajaxuser/","todo=dodajGmineDoBazy&nazwa="+nazwa,function(resp) | |
{ | |
dupa = resp; | |
}); | |
alert(dupa); | |
} |
This file contains 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 dodajGmineDoBazy(nazwa) | |
{ | |
var id = $.post("/ajaxuser/","todo=dodajGmineDoBazy&nazwa="+nazwa,function(resp) | |
{ | |
; | |
}); | |
return 1; | |
} |
This file contains 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 | |
$f = function(&$a) | |
{ | |
$a = 'b'; | |
}; | |
$o = new stdClass; | |
$o->u = 5; | |
call_user_func($f,$o->u); |
This file contains 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
$vsn_config | |
['HttpRouter'] = array( | |
'subfolder' => '/', | |
'domain' => 'vsn.lc.carbolymer.pl', | |
'controller_folder' => &$this->core['controller_folder'], | |
'default_route' => 0, | |
'routes' => array( | |
array( | |
'pattern' => "/:controller,:action*", | |
'key' => array(), |
This file contains 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 | |
namespace enum; | |
function Create($sName,$aValues, $sNamespace = __NAMESPACE__) | |
{ | |
if(preg_match("#[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*#si",$sName) === 0) | |
throw new InvalidName; | |
if(class_exists('\enum\\'.$sName)) | |
throw new NameExists; | |
$sValues = 'array('; | |
foreach($aValues as $sValue) |
This file contains 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 | |
class RequestType extends SplEnum | |
{ | |
const POST =1; | |
const GET =2; | |
}; | |
class HttpRequest | |
{ | |
public function __construct(RequestType $oType) |
This file contains 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
.: | |
components | |
core | |
exceptions | |
fldrlist.txt | |
libraries | |
notify-server.php | |
notify-server.php~ | |
templates | |
TODO.txt |
This file contains 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
$('a#searchFormSubmit').click(function() | |
{ | |
$("form#searchForm").submit(); | |
return false; | |
}); |
This file contains 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
<form action="/szukaj/wyswietl" method="POST" name="searchForm" id="searchForm"> | |
<fieldset> | |
<label>Województwo<br /> | |
<select name="wojewodztwoId" id="wojewodztwoId"> | |
<option value="0">- wybierz -</option> | |
<option value="1" title="/images/herby/mini/woj-dolnoslaskie.png">dolnośląskie</option> | |
<option value="2" title="/images/herby/mini/woj-kujawsko-pomorskie.png">kujawsko-pomorskie</option> | |
<option value="3" title="/images/herby/mini/woj-lubelskie.png">lubelskie</option> | |
<option value="4" title="/images/herby/mini/woj-lubuskie.png">lubuskie</option> |
OlderNewer