Skip to content

Instantly share code, notes, and snippets.

Avatar

Christophe Porteneuve tdd

View GitHub Profile
@tdd
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>
[user]
name = Your Full Name
email = your@email.tld
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
# List available aliases
@tdd
tdd / angular-just-say-no.md
Last active Sep 27, 2021
Angular: Just Say No
View angular-just-say-no.md

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 http://bit.ly/angular-just-say-no and http://bit.ly/angularjustsayno, btw.

@tdd
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
# STEP 1: ENSURE COMPLETION AND PROMPT FUNCTION ARE LOADED
# ========================================================
# OPTION 1: If on OSX using Homebrew:
#
# source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh
# source $(brew --prefix)/etc/bash_completion.d/git-completion.bash
# OPTION 2: If on OSX using built-in Git (also works on ZSH):
#
@tdd
tdd / learning-js.md
Created Feb 4, 2017
Learning JavaScript (ES3/ES5) • Quality resources
View learning-js.md
@tdd
tdd / Learning and exploring ES6.md
Last active Nov 10, 2020
Good resources to learn, discover and explore ES6 in-depth
View Learning and exploring ES6.md

Learning

  • 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
  • ES6-Features.org - 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
tdd / git-subtrees.md
Last active Oct 2, 2020
Subtrees investigations
View git-subtrees.md

Workbench

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
tdd / Apprendre et explorer ES2015plus.md
Created Feb 4, 2017
De bonnes ressources pour apprendre, découvrir et explorer ES2015+ en profondeur
View Apprendre et explorer ES2015plus.md

Apprendre

  • 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.
  • ES6-Features.org - 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
tdd / Apprendre JS correctement.md
Last active Sep 23, 2020
Quelques ressources valables pour (ré)apprendre JS correctement
View Apprendre JS correctement.md
@tdd
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

Website

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
tdd / index.html
Created Oct 19, 2015
HTML pour formation Git
View index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Formation Git</title>
</head>
<body>
<h1>Formation Git</h1>
</body>
</html>