This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
// initialize digital pin LED_BUILTIN as an output. | |
pinMode(LED_BUILTIN, OUTPUT); | |
Serial.begin(9600); | |
} | |
// the loop function runs over and over again forever | |
void loop() { | |
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on | |
Serial.println("ON"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin.tx_news { | |
persistence { | |
classes { | |
GeorgRinger\News\Domain\Model\News { | |
subclasses { | |
Vendor\Events\Domain\Model\Event = Vendor\Events\Domain\Model\Event | |
Vendor\Events\Domain\Model\Course = Vendor\Events\Domain\Model\Course | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MyModul = (function () { | |
var pub = {}, SubModule, SubObject = {} | |
SubObject = { | |
myProperty: 'test', | |
doSomething: function(callback) { | |
console.log('SubObject:doSomething' + this.myProperty); | |
callback(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE | |
tx_foo_domain_model_bar s, | |
sys_file_reference r, | |
sys_file f | |
SET | |
s.sorting = CAST(SUBSTRING(f.name,6,3) AS UNSIGNED) * 256 | |
WHERE | |
s.record_type=1 AND | |
r.tablenames = 'tx_foo_domain_model_bar' AND | |
r.fieldname = 'image' AND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$constrains = array(); | |
$query = $this->createQuery(); | |
if ($wtf = $demand->getWhatver()) { | |
constrains[] = $query->equals('title', $wtf); | |
} | |
if .... | |
usw. | |
$query->matching($query->logicalAnd( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function generatePdfFromHtml($html) { | |
$descriptorSpecification = array( | |
0 => array('pipe', 'r'), // stdin | |
1 => array('pipe', 'w'), // stdout | |
2 => array('pipe', 'w'), // stderr | |
); | |
$process = proc_open($this->wkhtmltopdf . ' ' . implode(' ', $this->wkhtmltopdfParameters). ' - -', | |
$descriptorSpecification, $pipes); | |
fwrite($pipes[0], $html); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function generatePdfFromHtml($html) { | |
$descriptorSpecification = array( | |
0 => array('pipe', 'r'), // stdin | |
1 => array('pipe', 'w'), // stdout | |
2 => array('pipe', 'w'), // stderr | |
); | |
$process = proc_open($this->wkhtmltopdf . ' ' . implode(' ', $this->wkhtmltopdfParameters). ' - -', | |
$descriptorSpecification, $pipes); | |
fwrite($pipes[0], $html); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@wheezy-amd64:~/gitlab-kanban-all/wsserver$ ./rel/wsserver/bin/wsserver foreground | |
Exec: /home/vagrant/gitlab-kanban-all/wsserver/rel/wsserver/erts-5.9.1/bin/erlexec -noinput +Bd -boot /home/vagrant/gitlab-kanban-all/wsserver/rel/wsserver/releases/1/wsserver -config /home/vagrant/gitlab-kanban-all/wsserver/rel/wsserver/releases/1/sys.config -args_file /home/vagrant/gitlab-kanban-all/wsserver/rel/wsserver/releases/1/vm.args -- foreground | |
Root: /home/vagrant/gitlab-kanban-all/wsserver/rel/wsserver | |
=INFO REPORT==== 27-Aug-2015::09:18:08 === | |
application: cowboy | |
exited: {shutdown,{cowboy_app,start,[normal,[]]}} | |
type: permanent | |
{"Kernel pid terminated",application_controller,"{application_start_failure,cowboy,{shutdown,{cowboy_app,start,[normal,[]]}}}"} | |
Kernel pid terminated (application_controller) ({application_start_failure,cowboy,{shutdown,{cowboy_app,start,[normal,[]]}}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$__commonConfig = array( | |
'init' => array( | |
'enableCHashCache' => TRUE, | |
'adminJumpToBackend' => TRUE, | |
'enableUrlDecodeCache' => TRUE, | |
'enableUrlEncodeCache' => TRUE | |
), | |
'pagePath' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:render section="categoryList" arguments="{categories: categories, isFirstLevel: 1}" /> | |
<f:section name="categoryList"> | |
<ul> | |
<f:for each="{categories}" as="category"> | |
<li> | |
{category.title} | |
<f:if condition="{category.children}"> | |
<f:render section="categoryList" arguments="{categories: category.children, isFirstLevel: 0}" /> | |
</f:if> |
NewerOlder