I hereby claim:
- I am linxlad on github.
- I am linxlad (https://keybase.io/linxlad) on keybase.
- I have a public key whose fingerprint is E9F9 A9C2 5038 4B35 AB13 CA14 5428 4A4A CBCB 9BDB
To claim this, I am signing this object:
// Nathan's respawn script | |
// Its very basic, but that should hopefully improve performance | |
// Takes into account changes that have been made to the scripting library | |
// Will run only on the server, as it only needs to run in one place, but obviously can be used in both singleplayer and multiplayer | |
_vehicle = _this select 0; //get vehicle's details | |
_respawntime = _this select 1; //get the init set respawn time | |
_facingofvehicle = getDir _vehicle; //get original facing | |
_positionofvehicle = getPosATL _vehicle; //get original position | |
_vehicletype = typeOf _vehicle; //get the vehicle type |
<?php // file [project]/Library/View.php | |
namespace YourNamespace\Library; | |
class extendedView extends \Phalcon\Mvc\View | |
{ | |
public function getPartial($path, $params = array()) | |
{ | |
ob_start(); | |
$this->partial($path, $params); | |
return ob_get_clean(); |
<?php | |
class CsvTableLogHandler extends \Phalcon\Mvc\Model | |
{ | |
private $table; | |
public function __construct($tableName) | |
{ | |
$this->table = $tableName; |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Load a template from the system | |
* | |
* @param string $name The email template to use | |
* @param array $params Parameters to replace in the message | |
* | |
* @return mixed | |
*/ | |
private function getTemplate($name, $params) | |
{ |
/** | |
* setSaveHandler() - Session Save Handler assignment | |
* | |
* @param Zend_Session_SaveHandler_Interface $interface | |
* @throws Zend_Session_Exception When the session_set_save_handler call fails | |
* @return void | |
*/ | |
public static function setSaveHandler(Zend_Session_SaveHandler_Interface $saveHandler) | |
{ | |
self::$_saveHandler = $saveHandler; |
<?php | |
/** | |
* Zend Framework | |
* | |
* LICENSE | |
* | |
* This source file is subject to the new BSD license that is bundled | |
* with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://framework.zend.com/license/new-bsd |
; Enable xdebug extension module | |
zend_extension=/usr/lib64/php/modules/xdebug.so | |
xdebug.remote_enable = 1 | |
xdebug.renite_enable = 1 | |
xdebug.max_nesting_level = 1000 | |
xdebug.profiler_enable_trigger = 1 | |
xdebug.remote_port="9000" | |
xdebug.profiler_enable=1 | |
xdebug.idekey=PHPSTORM | |
xdebug.remote_host="127.0.0.1" |
protected function configureRoutes(RouteCollection $collection) | |
{ | |
$collection->add('create', 'create', array( | |
'_controller' => 'AppBundle:Backend/Resource:createAction', | |
'_sylius' => array( | |
'template' => 'AppBundle:Product/Backend/Form:CreateProduct.html.twig', | |
'redirect' => 'sylius_backend_product_show', | |
) | |
) | |
); |
doctrine: | |
dbal: | |
driver: "%database_driver%" | |
host: "%database_host%" | |
port: "%database_port%" | |
dbname: "%database_name%" | |
user: "%database_user%" | |
password: "%database_password%" | |
charset: UTF8 | |
mapping_types: |