Skip to content

Instantly share code, notes, and snippets.

View mickaelandrieu's full-sized avatar
🏠
Working from home

Mickaël Andrieu mickaelandrieu

🏠
Working from home
View GitHub Profile
GITHUB_OWNER=vuejs
GITHUB_REPOSITORY=vue
GITHUB_LOGIN=mickaelandrieu
GITHUB_PASSWORD=ThisIsASecr3t
CORE_MEMBERS="yyx990803 defcc kazupon posva Jinjiang"
@mickaelandrieu
mickaelandrieu / .env
Last active April 21, 2017 01:09
.env file exemple to publish TweetHub releases on my twitter account
GH_USER=mickaelandrieu
GH_REPO=tweethub
TW_CONSUMER_KEY=XXXXXXXXXXXXXX
TW_CONSUMER_SECRET=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
TW_ACCESS_TOKEN=ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
TW_ACCESS_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TW_MSG="A new release of TwitterHub is up => checkout! @htmlUrl"
@mickaelandrieu
mickaelandrieu / add_integration_command.bash
Last active April 7, 2017 13:25
Command to enable GitHub integration into Platform.sh project
platform integration:add --type=github \
--project=<PROJECT_ID> --token=<GITHUB-USER-TOKEN> \
--repository=<OWNER>/<REPOSITORY> --build-pull-requests=true \
--fetch-branches=false
@mickaelandrieu
mickaelandrieu / routes.yaml
Created April 6, 2017 14:12
Routes configuration for Akeneo documentation on Platform.sh
"http://{default}/":
type: upstream
upstream: "akeneodocs:http"
pip install sphinx~=1.5.3
pip install git+https://github.com/fabpot/sphinx-php.git
pip install git+https://github.com/mickaelandrieu/sphinxcontrib.youtube.git
sphinx-build -b html . ./build
@mickaelandrieu
mickaelandrieu / .platform.app.yaml
Created April 6, 2017 13:03
Platform.sh configuration file for Akeneo documentation project
# This file describes an application. You can have multiple applications
# in the same project.
# The name of this app. Must be unique within a project.
name: akeneodocs
# The toolstack used to build the application.
type: "python:2.7"
build:
@mickaelandrieu
mickaelandrieu / clink_prompt.lua
Created March 27, 2017 17:38
My config for cmder prompt
/*
Activités : gestion des contacts
*/
var Contact = {
//initialisation de contact
init: function (nom, prenom){
this.nom = nom;
this.prenom = prenom;
},
{
"action": "opened",
"number": 7324,
"pull_request": {
"url": "https://api.github.com/repos/PrestaShop/PrestaShop/pulls/7324",
"id": 100676842,
"html_url": "https://github.com/PrestaShop/PrestaShop/pull/7324",
"diff_url": "https://github.com/PrestaShop/PrestaShop/pull/7324.diff",
"patch_url": "https://github.com/PrestaShop/PrestaShop/pull/7324.patch",
"issue_url": "https://api.github.com/repos/PrestaShop/PrestaShop/issues/7324",
@mickaelandrieu
mickaelandrieu / AppBundle.php
Last active November 21, 2018 14:37
Enable an event subscriber dynamically (the right way)
<?php
namespace AppBundle;
use AppBundle\DependencyInjection\Compiler\SecureApplicationPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AppBundle extends Bundle