I hereby claim:
- I am jsmitka on github.
- I am jsmitka (https://keybase.io/jsmitka) on keybase.
- I have a public key ASDvOsBtsabmPumKTD8uTNgDrEQbYjX5DasE184THB3fJgo
To claim this, I am signing this object:
from abc import ABCMeta | |
from dramatiq import actor, Message, get_broker | |
def implementation_do_call(self, *args, **kwargs): | |
return self.perform(*args, **kwargs) | |
class BaseActorInterfaceMeta(ABCMeta): | |
DEFAULT_QUEUE_NAME = 'default' |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
doctrine: | |
secondLevelCache: | |
enabled: true | |
factoryClass: Doctrine\ORM\Cache\DefaultCacheFactory | |
driver: apc |
<?xml version="1.0" encoding="UTF-8"?> | |
<templateSet group="Nette"> | |
<template name="comp" value="protected function createComponent$NAME$() { 	$END$ }" description="Component factory template" toReformat="false" toShortenFQNames="true"> | |
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="HTML_TEXT" value="false" /> | |
<option name="HTML" value="false" /> | |
<option name="XSL_TEXT" value="false" /> | |
<option name="XML" value="false" /> | |
<option name="CSS" value="false" /> |
<?php | |
if (!isset($cache['data'])) { | |
$params = \Nette\Environment::getConfig('facebook'); | |
$fb = new \Facebook(array( | |
'appId' => $params->appId, | |
'secret' => $params->secret | |
)); | |
$data = $fb->api('/' . $this->objId . '/feed&limit=3'); | |
$data = $data['data']; |
<?php | |
/** | |
* Addons and code snippets for Nette Framework. (unofficial) | |
* | |
* @author Jan Tvrdík | |
* @license MIT | |
*/ | |
namespace JanTvrdik\Components; |
<?php | |
namespace NetteExtras\Forms; | |
class ChangeTracker extends \Nette\Forms\HiddenField | |
{ | |
private $session; | |
private $modifiedValues; |
/* Forms */ | |
form dt, form dd { | |
margin-bottom: 1ex; | |
line-height: 1.5; | |
} | |
form dt { | |
text-align: right; | |
float: left; |
<?php | |
protected function attached($presenter) | |
{ | |
parent::attached($presenter); | |
if ($presenter instanceof \Nette\Application\Presenter) { | |
\Nette\Debug::barDump($this->getParam('param')); | |
} | |
} |