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
SC.View.extend({ | |
template: SC.Handlebars.compile('{{#collection people}} XY {{/collection}}'), | |
people: [ SC.Object.create({ name: 'Steph' }), | |
SC.Object.create({ name: 'Tom' }) ] | |
}); |
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 propertyPanelView = SC.View.create({ // | |
template: SC.Handlebars.compile('A{{#each schema}}\ | |
XX{{key}}{{label}} {{thestuff}}\ | |
x{{#each thestuff}} ASDF {{/each}}y\ | |
{{/each}}'), | |
schema: [ | |
{ | |
key: 'Plugin Settings', | |
label: 'huhu', | |
thestuff: [ |
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
*Example: Declaration of an aspect* | |
.. code-block::php | |
namespace F3\MySecurityPackage; | |
/** | |
* An aspect implementing security for Foo | |
* | |
* @author John Doe <[email protected]> |
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 | |
public function harvest() { | |
// taken from AbstractTemplateView::render | |
$this->baseRenderingContext->setControllerContext($this->controllerContext); | |
$this->templateParser->setConfiguration($this->buildParserConfiguration()); | |
$templateIdentifier = $this->getTemplateIdentifier(NULL); | |
if ($this->templateCompiler->has($templateIdentifier)) { | |
$parsedTemplate = $this->templateCompiler->get($templateIdentifier); |
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 | |
use \TYPO3\Deploy\Domain\Model\Workflow; | |
use \TYPO3\Deploy\Domain\Model\Node; | |
use \TYPO3\Deploy\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Deploy\Application\TYPO3(); | |
$application->setOption('repositoryUrl', 'git://git.typo3.org/TYPO3v5/Distributions/Base.git'); | |
$application->setDeploymentPath('/Volumes/data/htdocs/phoenixdemo/'); |
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
skurfuerst:gcli sebastian$ node Makefile.dryice.js | |
Building built/gcli[-uncompressed].js: | |
node.js:205 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
TypeError: Object #<Object> has no method 'forEach' | |
at CommonJsProject.require (/Volumes/data/Users/sebastian/node_modules/dryice/lib/dryice/index.js:392:20) | |
at /Volumes/data/Users/sebastian/node_modules/dryice/lib/dryice/index.js:461:25 | |
at Array.forEach (native) |
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
chan=client.openProcessChannel(); | |
connect(chan,SIGNAL(readyRead()),this,SLOT(readyRead())); | |
chan->start("ls\n"); | |
void MyClass::readyRead() { | |
qDebug() << "ready read"; | |
qDebug()<<chan->readAll(); | |
} |
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
Test case: A very simple FLOW3 page, empty controller, a simple fluid template with a layout. | |
CONCURRENCY = 2; 100 REQUESTS; APACHE | |
===================================== | |
Elapsed time (s): 12.52 | |
Requests per second: 7.99 | |
Mean time per request (ms): 250.16 | |
Time per request standard deviation: 84.77 | |
Percentages of requests served within a certain time (ms) |
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
# Grouping the document tree into LaTeX files. List of tuples | |
# (source start file, target name, title, author, documentclass [howto/manual]). | |
latex_documents = [ | |
('index', 'ExposingDomainModelsasLinkedData.tex', u'Exposing Domain Models as Linked Data', | |
u'Sebastian Kurfürst', 'manual'), | |
] | |
latex_elements = { | |
'papersize': 'a4paper', | |
'pointsize': '11pt', |
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
class Repository implements \TYPO3\FLOW3\Persistence\RepositoryInterface { | |
/** | |
* @var \TYPO3\FLOW3\Persistence\PersistenceManagerInterface | |
*/ | |
protected $persistenceManager; | |
/** | |
* Warning: if you think you want to set this, | |
* look at RepositoryInterface::ENTITY_CLASSNAME first! |