Skip to content

Instantly share code, notes, and snippets.

View fdewinne's full-sized avatar

Frédéric Dewinne fdewinne

View GitHub Profile
@fdewinne
fdewinne / build.properties
Created October 1, 2015 14:47
grunt aws continuousphp
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 08:48
Deploy Agent : add application
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
<?php
/**
* Add email
*
* @param \Application\Entity\Email $email
* @return User
*/
public function addEmail(\Application\Entity\Email $email)
{
if (!$this->emails->contains($email)) {
@fdewinne
fdewinne / application.config.php
Created August 6, 2013 14:26
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.
@fdewinne
fdewinne / global.php
Created August 6, 2013 14:24
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.
@fdewinne
fdewinne / database.global.php
Created August 6, 2013 14:22
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.