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\Surf\Domain\Model\Workflow; | |
use \TYPO3\Surf\Domain\Model\Node; | |
use \TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Surf\Application\FLOW3(); | |
$application->setOption('repositoryUrl', 'git@github.com:katzeag/Katzenet.git'); | |
$application->setDeploymentPath('/var/www/katzenet-app'); | |
$application->setOption('keepReleases', 20); | |
$application->setOption('composerCommandPath', '/usr/bin/composer'); |
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
App.ApplicationController = Ember.Controller.extend(); | |
App.ApplicationView = Ember.View.extend({ | |
templateName: "application" | |
}); | |
App.DashboardController = Ember.Controller.extend(); | |
App.DashboardView = Ember.View.extend({ | |
templateName: "dashboard" | |
}); | |
App.AdministrationController = Ember.Controller.extend(); | |
App.AdministrationView = Ember.View.extend({ |
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
# Guide based on http://wiki.apache.org/couchdb/Installing_on_Debian | |
# Install dependencies | |
aptitude install -y build-essential libtool autoconf automake autoconf-archive pkg-config libssl0.9.8 libssl-dev zlib1g zlib1g-dev libcurl4-openssl-dev lsb-base ncurses-dev libncurses-dev libmozjs-dev libmozjs2d libicu-dev xsltproc | |
# Installing Erlang/OTP | |
cd /tmp/ | |
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz | |
tar xzf otp_src_R15B01.tar.gz | |
cd otp_src_R15B01 | |
echo "skipping gs" > lib/gs/SKIP |
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
function(doc) { emit( | |
[ | |
doc.city, | |
'indicator_beroepsbevolking', | |
parseInt(doc.date.substr(0, 4)) |
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
//TEMPLATE | |
{{#linkTo account account}}View{{/linkTo}} | |
//ROUTER | |
App.Router.map(function() { | |
this.resource('accounts', function() { | |
//this.route('account', { path: ':accountguid' }); | |
}); | |
this.resource('account', { path: '/accounts/:accountguid' }); | |
}); |
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
#!/bin/bash | |
if [ ! -d "Web" -o ! -d "Packages" -o ! -d "Configuration" ]; then | |
echo Make sure you run this from the TYPO3 Flow root directory! | |
echo | |
exit 1 | |
fi | |
BASE_DIR=$(pwd) |
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
## | |
# Fallback route | |
- | |
name: 'fallback' | |
uriPattern: '' | |
defaults: | |
'@package': 'TYPO3.Flow' | |
'@subpackage': 'Mvc' | |
'@controller': 'Standard' |
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 | |
namespace Acme\JobQueueTest; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Acme.JobQueueTest". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Utility\Files; |
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 | |
namespace My\Package\Service; | |
use TYPO3\Flow\Annotations as Flow; | |
/** | |
* @Flow\Scope("singleton") | |
*/ | |
class EmailService { |
OlderNewer