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 | |
/* ================================ *\ | |
| Grabbe Reader v0.9 by HosipLan | | |
| Grabbe Saver v0.9 by HosipLan | | |
| Na NHL Nitex ke hře NHL | | |
| Http://SportsGamers.Nitex.Cz | | |
#====================================# | |
| HosipLan@seznam.cz | | |
| ICQ: 327671143 | |
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 Kdyby\Control; | |
use Nette; | |
use Nette\String; | |
class LookoutControl extends Nette\Application\Control |
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 | |
use Curl\MultiRequest; | |
use Curl\Request; | |
$testMulti = new MultiRequest($config); | |
# create request | |
$testMulti['prevodnik'] = new Request("http://curl.kdyby.org/prevodnik.asm.zdrojak"); |
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 | |
abstract class BasePresenter extends \Nette\Application\Presenter | |
{ | |
public function createTemplate() | |
{ | |
$template = parent::createTemplate(); | |
foreach (get_class_methods('Helpers') AS $method) { |
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
#!/bin/bash | |
git_run() { | |
gitCommand="" | |
while [ 1 ] ; do | |
read -p "git > " -e gitCommand ; | |
git $gitCommand ; | |
done | |
} |
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
#!/bin/bash | |
black='\e[0;30m' # Black - Regular | |
red='\e[0;31m' # Red | |
green='\e[0;32m' # Green | |
yellow='\e[0;33m' # Yellow | |
blue='\e[0;34m' # Blue | |
purple='\e[0;35m' # Purple | |
cyan='\e[0;36m' # Cyan | |
white='\e[0;37m' # White |
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
#!/bin/bash | |
srcLibs="/var/www" | |
black='\e[0;30m' # Black - Regular | |
red='\e[0;31m' # Red | |
green='\e[0;32m' # Green | |
yellow='\e[0;33m' # Yellow | |
blue='\e[0;34m' # Blue | |
purple='\e[0;35m' # Purple |
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 InfiniteDateTime extends \DateTime | |
{ | |
public function __construct () | |
{ | |
parent::__construct('2038-01-19 03:14:00'); | |
} |
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 Kdyby\Form; | |
use Nette; | |
use Kdyby; | |
/** | |
* Description of MyControl |
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 | |
/** | |
* Pokud je objekt zmrazen půjde pouze volat properties a metody | |
*/ | |
class LogicDelegator extends Nette\FreezableObject | |
{ | |
/** @var array */ | |
private $callbacks = array(); |