Skip to content

Instantly share code, notes, and snippets.


Christophe Porteneuve tdd

View GitHub Profile
tdd / gitconfig.ini
Last active Oct 1, 2021
Nice, useful global Git configuration
View gitconfig.ini
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
name = Your Full Name
email = your@email.tld
# Enable colors in color-supporting terminals
ui = auto
# List available aliases
tdd /
Last active Sep 27, 2021
Angular: Just Say No

Angular: Just say no

A collection of articles by AngularJS veterans, sometimes even core committers, that explain in detail what's wrong with Angular 1.x, how Angular 2 isn't the future, and why you should avoid the entire thing at all costs unless you want to spend the next few years in hell.

Reason for this: I'm getting tired of having to explain to everyone, chief of which all the indiscriminate Google Kool-Aid™ drinkers, why I have never believed in Angular, why I think it'll publicly fail pretty soon now (a couple years), and why it's a dead end IMO. This gist serves as a quick target I can point people to in order not to have to parrot / compile the core of the articles below everytime. Their compounded reading pretty much captures 99% of my view on the topic.

This page is accessible through and, btw.

tdd / config-bash-pour-un-prompt-git-de-tueur.bash
Last active Feb 10, 2021
Config Bash pour un prompt Git de tueur
View config-bash-pour-un-prompt-git-de-tueur.bash
# ========================================================
# OPTION 1: If on OSX using Homebrew:
# source $(brew --prefix)/etc/bash_completion.d/
# source $(brew --prefix)/etc/bash_completion.d/git-completion.bash
# OPTION 2: If on OSX using built-in Git (also works on ZSH):
tdd /
Created Feb 4, 2017
Learning JavaScript (ES3/ES5) • Quality resources
tdd / Learning and exploring
Last active Nov 10, 2020
Good resources to learn, discover and explore ES6 in-depth
View Learning and exploring


  • ES6 Katas - Small, byte-size exercises to discover most aspects of ES6 features by doing interactive, online exercises. Pretty awesome.
  • Learn ES2015 - A great part of Babel's website that takes you through examples of all supported ES6+ features
  • - Nice ES6 / ES5 comparisons of many ES6 language features
  • ES6 Features - A single-page tour of code examples for just about every ES6 feature, by Luke Hoban

Exploring in-depth

  • ES6 In Depth - A great series of articles on Mozilla Developer Network (MDN); also available in French through great translation efforts.
tdd /
Last active Oct 2, 2020
Subtrees investigations


We extract our test repos from this small Zip file.

  • main is a "container" repository with its working copy,
  • plugin is a "shared" repository with its working copy,
  • remotes emulates remote bare repos for both, to better resemble regular usage.

The idea is to use plugin as a subtree of main in a vendor/plugins/demo path, and allow maintenance both ways:

tdd / Apprendre et explorer
Created Feb 4, 2017
De bonnes ressources pour apprendre, découvrir et explorer ES2015+ en profondeur
View Apprendre et explorer


  • ES6 Katas - De petits exercices courts pour découvrir la plupart des aspects des fonctionnalités ES2015+ de façon interactive. Plutôt top.
  • Learn ES2015 - Une partie géniale du site web de Babel qui déroule des exemples de toutes les fonctionnalités ES2015+ prises en charge.
  • - Chouette comparaison point à point de codes utilisant ES2015+ et de leur équivalent ES5.
  • ES6 Features - Une revue rapide, sur une page unique, des fonctionnalités ES2015 à coup d'exemples de code, par Luke Hoban.

Explorer en profondeur

  • ES6 In Depth - Super série d’articles sur le Mozilla Developer Network (MDN) ; également disponible en français grâce à un considérable effort de traduction.
tdd / Apprendre JS
Last active Sep 23, 2020
Quelques ressources valables pour (ré)apprendre JS correctement
View Apprendre JS
tdd / conf-best-practices.markdown
Last active Mar 23, 2020
A list of best-practices for conference organizers. Especially useful for first-time organizers, I guess.
View conf-best-practices.markdown


Things your website should clearly state / make accessible:

  • The core focus of your conf
  • Your core values
  • The (precise) location
  • The dates
  • Your programme, complete with speakers and their bios/pics
tdd / index.html
Created Oct 19, 2015
HTML pour formation Git
View index.html
<!doctype html>
<meta charset="utf-8">
<title>Formation Git</title>
<h1>Formation Git</h1>