Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vfalies
vfalies / regions.geojson
Last active March 29, 2021 08:29
France region without overseas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vfalies
vfalies / Makefile
Created May 25, 2018 13:41 — forked from prwhite/Makefile
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing

Create a /bin/sh wrapper to your docker container and then point PHP Intellisense at the wrapper:

#!/bin/sh

docker run \
    --rm \
    -i \
    --network=host \
 -v "$HOME":"$HOME":ro \
@vfalies
vfalies / docker.md
Created November 22, 2017 08:57
Docker tips

Docker

Remove all dead containers

docker rm -f $(docker ps --all -f status=dead -q)
@vfalies
vfalies / git-command.md
Created February 3, 2017 10:47 — forked from aquelito/git-command.md
GIT - Ligne de commande principale

Github

Configuration

Identity Name

$ git config --global user.name "aquelito"