Skip to content

Instantly share code, notes, and snippets.

@fdewinne
fdewinne / build.properties
Created Oct 1, 2015
grunt aws continuousphp
View build.properties
node.bindir=${project.basedir}/node_modules/.bin
bower.bin=${node.bindir}/bower
grunt.bin=${node.bindir}/grunt
user.home=/home/cphp
@fdewinne
fdewinne / gist:8f3d04ebe77e2b9b8a03
Created May 25, 2015
Deploy Agent : add application
View gist:8f3d04ebe77e2b9b8a03
vagrant@deploy-agent:/vagrant$ ./agent add application
Enter a valid access token: my-valid-token
Querying API for your projects...
Select a project:
0) git-hub/continuousphp/guiavirasoro
1) git-hub/continuousphp/api
2) git-hub/continuousphp/simple-authentication
3) git-hub/continuousphp/zenlist
4) git-hub/continuousphp/phpunit-lab
5) git-hub/continuousphp/decider
View gist:8055726
<?php
/**
* Add email
*
* @param \Application\Entity\Email $email
* @return User
*/
public function addEmail(\Application\Entity\Email $email)
{
if (!$this->emails->contains($email)) {
View application.config.php
<?php
/**
* navigation.global.php
*
* @date 10/04/13
* @author Frederic Dewinne <frederic.dewinne@vaconsulting.lu>
* @file application.config.php
* @copyright Copyright (c) Foyer - All rights reserved
* @license Unauthorized copying of this source code, via any medium is strictly
* prohibited, proprietary and confidential.
View global.php
<?php
/**
* global.php
*
* @date 10/04/13
* @author Frederic Dewinne <frederic.dewinne@vaconsulting.lu>
* @file global.php
* @copyright Copyright (c) Foyer - All rights reserved
* @license Unauthorized copying of this source code, via any medium is strictly
* prohibited, proprietary and confidential.
View database.global.php
<?php
/**
* database.global.php
*
* @date 10/04/13
* @author Frederic Dewinne <frederic.dewinne@vaconsulting.lu>
* @file database.global.php
* @copyright Copyright (c) Foyer - All rights reserved
* @license Unauthorized copying of this source code, via any medium is strictly
* prohibited, proprietary and confidential.