There's some GnuTLS bug, that causes this error when cloning using git clone
:
error: RPC failed; result=56, HTTP code = 200
Workaround:
mkdir your-project
<?php | |
namespace Test; | |
use Nette, | |
Tester, | |
Tester\Assert, | |
AdminModule; | |
$container = require __DIR__ . '/../../bootstrap.php'; |
There's some GnuTLS bug, that causes this error when cloning using git clone
:
error: RPC failed; result=56, HTTP code = 200
Workaround:
mkdir your-project
Projít definici formuláře:
setRequired
, tak si zpracování musí poradit s prázdným řetězcem, nebo ho změnit na něco, s čím si poradí (třeba NULL).SelectBox
má prompt, tak může být hodnotou NULL (pokud není setRequired
).<?php | |
abstract class BasePresenter extends Nette\Application\UI\Presenter | |
{ | |
/** | |
* Path to theme templates. | |
* | |
* @var string | |
*/ |
This is what the documentation says:
All is done automatically, consistently and correctly. You don't have to worry about security holes.
This is simply not true. What if you write this:
<a href="javascript:{$variable}">...</a>
<?php | |
abstract class Service | |
{ | |
public function doSomething() | |
{ | |
something(); | |
$this->getLogger()->log('¯\_(ツ)_/¯'); | |
} |
const packageJson = require('./package.json'); | |
console.log( | |
Object.keys(packageJson.devDependencies).filter(packageName => packageJson.dependencies.hasOwnProperty(packageName)) | |
); |
$('#content')[0].style.margin='0 auto'
<div | |
data-embed-component="Hello" | |
data-embed-props='{"recipient": "World"}' | |
></div> |
I hereby claim:
To claim this, I am signing this object: