Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

LAHAXE Arnaud lahaxearnaud

I may be slow to respond.
Block or report user

Report or block lahaxearnaud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wesbos / async-await.js
Created Feb 22, 2017
Simple Async/Await Example
View async-await.js
// 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works
const axios = require('axios'); // promised based requests - like fetch()
function getCoffee() {
return new Promise(resolve => {
setTimeout(() => resolve(''), 2000); // it takes 2 seconds to make coffee
mickaelandrieu /
Last active Sep 23, 2019
Complete migration guide from Symfony 2.3 LTS to Symfony 2.7 LTS

From Symfony 2.3 to Symfony 2.7: the complete guide


  • assume your code doesn't use any deprecated from versions below Symfony 2.3
  • update dependencies from 2.3 to 2.7
  • do not support "deprecated", be "Symfony3-ready"
  • list tasks component by component, bundle by bundle.
benoitzohar / gitolab.php
Last active Sep 3, 2017
Migrate repositories from Gitolite to GitLab.
View gitolab.php
#!/usr/bin/php -qC
* @file gitolab.php
* @author Benoit Zohar
* @link
* @last-edited 2015-01-09
* @description Migrate projects from Gitolite to GitLab
You can’t perform that action at this time.