I hereby claim:
- I am vaclavsir on github.
- I am vaclavsir (https://keybase.io/vaclavsir) on keybase.
- I have a public key ASCkrZLdR5A2e52GUmPaRlhhiowbq7CzpM2qMue4_eg9wgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <div | |
| data-embed-component="Hello" | |
| data-embed-props='{"recipient": "World"}' | |
| ></div> |
$('#content')[0].style.margin='0 auto'| const packageJson = require('./package.json'); | |
| console.log( | |
| Object.keys(packageJson.devDependencies).filter(packageName => packageJson.dependencies.hasOwnProperty(packageName)) | |
| ); |
| <?php | |
| abstract class Service | |
| { | |
| public function doSomething() | |
| { | |
| something(); | |
| $this->getLogger()->log('¯\_(ツ)_/¯'); | |
| } |
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 BasePresenter extends Nette\Application\UI\Presenter | |
| { | |
| /** | |
| * Path to theme templates. | |
| * | |
| * @var string | |
| */ |
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).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'; |