wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar zxvf ioncube_loaders_lin_x86-64.tar.gz
<?php | |
return array( | |
'db' => | |
array( | |
'username' => 'xxx', | |
'password' => 'xxx', | |
'host' => 'localhost', | |
'port' => '3306', | |
'dbname' => 'xxx', |
<?php | |
use TYPO3\Surf\Domain\Model\Node; | |
use TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Surf\Application\TYPO3\Flow(); | |
$application->setOption('repositoryUrl', 'git@git.acme.com:Distributions/Acme'); | |
$application->setOption('localPackagePath', FLOW_PATH_DATA . 'Checkout' . DIRECTORY_SEPARATOR . $deployment->getName() . DIRECTORY_SEPARATOR . 'Latest' . DIRECTORY_SEPARATOR); | |
$application->setOption('composerCommandPath', 'composer'); | |
$application->setOption('transferMethod', 'rsync'); | |
$application->setOption('rsyncFlags', '--recursive --times --perms --links --delete'); |
<?php | |
class Shopware_Plugins_Frontend_OrderMod_Bootstrap extends Shopware_Components_Plugin_Bootstrap | |
{ | |
/** | |
* (non-PHPdoc) | |
* @see Shopware_Components_Plugin_Bootstrap::install() | |
*/ | |
public function install() | |
{ |
NOTE: 534 stars, 106 forks. I love you all. Please contribute tips and edits back to this cheat sheet -- email's will.sargent@gmail.com and you can treat gists like git repositories and send git diffs.
<?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; |
# Encoding: utf-8 | |
cookbook 'yum' | |
cookbook 'vim' | |
cookbook 'curl' | |
cookbook 'nginx' | |
cookbook 'logstash', git: 'git://github.com/lusis/chef-logstash.git' | |
cookbook 'elasticsearch', git: 'git://github.com/elasticsearch/cookbook-elasticsearch.git' |
<?php | |
use \TYPO3\Surf\Domain\Model\Node; | |
use \TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
/** | |
* For this deployment the following env variables are required: | |
* | |
* DEPLOYMENT_HOST: hostname of the remote server to deploy to | |
* DEPLOYMENT_PATH: path on the remote server to deploy to | |
* DEPLOYMENT_USER: username to connect to the remote server |
<?php | |
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); | |
$deployment->setWorkflow($workflow); | |
$node = new \TYPO3\Surf\Domain\Model\Node('deployment Staging'); | |
$node->setHostname('deployment.server.com'); | |
$node->setOption('username', 'root'); | |
#$node->setOption('password', ''); | |