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
Remove this registr: | |
HKLM\Software\Classes\ChromeHTML\open\command\DelegateExecute | |
HKLM\Software\Classes\Chrome |
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 | |
function utf8ToLocalEncoding($s) { | |
if (substr(PHP_OS, 0, 3) === 'WIN') { | |
$tmp = explode(".", setlocale(LC_CTYPE, 0)); | |
if (isset($tmp[1]) && is_numeric($tmp[1])) | |
$s = @iconv("UTF-8", "cp" . $tmp[1] . "//TRANSLIT", $s); | |
} | |
return $s; | |
} |
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 | |
// Happy birthday Tom | |
class Tom extends Person{ | |
public function runBirthday(){ | |
$this->age++; | |
if($this->age == 18){ | |
$this->acl->allow('doing own decisions'); |
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
/** | |
* Live Form Validation for Nette 2.0 | |
* | |
* @author Radek Ježdík, MartyIX, David Grudl, Martin Sadový | |
*/ | |
var LiveForm = { | |
options: { | |
controlErrorClass: 'form-control-error', | |
errorMessageClass: 'form-error-message', | |
validMessageClass: 'form-valid-message', |
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 | |
require 'Nette/loader.php'; | |
require 'stringFluent.php'; | |
$string = string("ahoj já jsem petr")->capitalize(); | |
echo $string."\n"; | |
echo $string->webalize(); |
NewerOlder