Skip to content

Instantly share code, notes, and snippets.

View KongClient.php
namespace Infrastructure\ApiGateway\Kong;
use Domain\Assert;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
use Symfony\Component\HttpFoundation\Response;
View FacebookLoginVue3.vue
<button class="button" @click="logInWithFacebook"> Login with Facebook</button>
export default {
setup() {
const logInWithFacebook = async () => {
await loadFacebookSDK(document, "script", "facebook-jssdk")
initFacebook().then(r => {

Créer un gitignore global


    git config --global core.excludesfile ~/.gitignore_global

La configuration a été ajouté dans le ~/.gitconfig

BenjaminRqt /
Last active Jan 9, 2020
Afficher l'aide sur un Makefile

Créer une commande "make help" pour afficher les commentaires d'une commande

.PHONY: help
help: ## This help
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(TARGETS) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m%s\n", $$1, $$2}'
BenjaminRqt / .gitconfig
Created Oct 4, 2019 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
View .gitconfig
name = Pavan Kumar Sunkara
email =
username = pksunkara
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
smtpencryption = tls