Skip to content

Instantly share code, notes, and snippets.

[deploy@cabinetmsk-www-msk03 current]$ dql "select top 1 * from queue_message where message like '%738969%' ";
array(1) {
[0]=>
array(10) {
["id"]=>
string(7) "2152123"
["queue_name"]=>
string(5) "media"
["message"]=>
string(118) "O:47:"App\Media\Queue\Message\RemoveMediaQueueMessage":2:{s:13:"*sourcePath";s:0:"";s:10:"*mediaId";s:6:"738969";}"
{% form_theme form _self %}
{# modified bootstrap_4 scheme to display checkbox label begins #}
{% block checkbox_radio_label -%}
<label{% for attrname, attrvalue in label_attr %} {{ attrname }}="{{ attrvalue }}"{% endfor %}>
{{- label is not same as(false) ? (translation_domain is same as(false) ? label : label|trans({}, translation_domain)) -}}
{{- form_errors(form) -}}
</label>
{%- if widget is defined -%}
{% set is_parent_custom = parent_label_class is defined and ('checkbox-custom' in parent_label_class or 'radio-custom' in parent_label_class) %}
This file has been truncated, but you can view the full file.
http://forum.shrapnelgames.com/showthread.php?t=43899
http://z7.invisionfree.com/Dom3mods/index.php?showtopic=1538
node --harmony index.js lannie
/home/user/Downloads/mud-client-master/node_modules/mud-client/index.js:28
connector.write(`prompt <${name} %h/%Hhp %m/%Mmana %v/%Vmv | %e>%c`);
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
function onresize(event) {
//canvas.width=document.documentElement.clientWidth
o.resizelist[1].x = o.resizelist[3].x = document.documentElement.clientWidth-1;
o.resizelist[2].x = 2;
var main_width = 980;
if (document.documentElement.clientWidth > main_width) {
o.resizelist[0].x = o.resizelist[4].x = document.documentElement.clientWidth / 2;
} else {
@parap
parap / log.txt
Created January 31, 2016 14:52
Log of failed vich/uploader-bundle installation for symfony 3
composer require vich/uploader-bundle
Using version ^0.14.0 for vich/uploader-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install symfony/symfony v3.0.1
- Installation request for vich/uploader-bundle ^0.14.0 -> satisfiable by vich/uploader-bundle[v0.14.0].
@parap
parap / index.php
Created March 22, 2013 08:22
test gist
<?php
use Symfony\Component\HttpFoundation\Request;
use frontend\model\Initializer;
include_once('config.php');
include_once('lib/autoload.php');
include_once('app/bootstrap.php');
$initializer = new Initializer();
asdasdasdasdasdasdasd
@parap
parap / gist:4959846
Created February 15, 2013 11:30
qwewqe
protected function displayResponse()
{
// $this->
// (new EchoFormatApi())->output($this->request, $this->response);
$parser = new TemplateNameParser();
$loader = new FilesystemLoader(
array(
SYS_LAYOUTS_PATH . '/Pages/%name%.php',