Skip to content

Instantly share code, notes, and snippets.

Working from home

Jerome Lachaud jeromelachaud

Working from home
Block or report user

Report or block jeromelachaud

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
jeromelachaud /
Created Jan 21, 2019 — forked from bradtraversy/
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
View Compteur.js
* @param {number} n - Nombre final du compteur.
* @param {number} cpt - Initialisation du compteur.
* @param {number} duree - Durée en seconde pendant laquel le compteur ira de 0 à 15.
* @param {number} interval - Nombre representant le palier entre chaque incrémentation valeur.
* @param {HTMLElement} node - Noeud où sera rafraîchi la valeur du compteur.
var compteur = function(n, cpt, interval, duree, node, prefixe) {
var delta = Math.ceil(((duree*interval) * 1000) / n);

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View release note template
The introduction. A short paragraph. Make this personal if appropriate. Eg. "Season greetings, everyone! You asked, Santa listened - this update is exactly what you ask for this Christmas."
• An extra short summary of these notes goes here.
*** NEW ***
• This is where you layout any new features.
• Explain where abouts these features are within your app.
• How do users find these new features?
• Which users will this benefits, or how exactly will this benefits them?
• E.g. "[Who benefits?] Apple Watch users will be particularly happy with the latest release. [Why?] We now automatically support handoff with your Mac. [Where/how?] Don’t forget to have your bluetooth turned on, you can do it]!"
View script.js
const animalsArray = [
"name": "Lilou",
"species": "cat",
"size": "small",
"weight": 5
"name": "Maïna",
"species": "cat",
View node on Ubuntu
sudo tar -C /usr/local --strip-components 1 -xzf ~/Downloads/node-v6.3.10-linux-x64.tar.gz
ls -l /usr/local/bin/node
View .travis.yml
language: ruby
- 2.3.3
install: gem install jekyll html-proofer
script: jekyll build && htmlproofer --http-status-ignore "999" check_html=true ./_site
View async.js
const fetch = require('node-fetch');
function showGitHubUser(handle) {
const url = `${handle}`;
.then(response => response.json())
.then(user => {
View marvel-fp.js
var comics = [
pages: 100,
price: 100
pages: 100,
price: 50
You can’t perform that action at this time.