Skip to content

Instantly share code, notes, and snippets.

View TheOptimisticFactory's full-sized avatar

Romain GAGNAIRE TheOptimisticFactory

View GitHub Profile
@TheOptimisticFactory
TheOptimisticFactory / generate-ssh-key.sh
Created September 3, 2019 14:49 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa
@TheOptimisticFactory
TheOptimisticFactory / generate-ssh-key.sh
Created September 3, 2019 14:49 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa
@TheOptimisticFactory
TheOptimisticFactory / Your Attention Please, raising awareness on Slack.md
Last active December 5, 2018 18:09
TL;DR: Slack notifications of deployments, app starting, data exports, etc.

Your Attention Please, raising Slack awareness

TL;DR: Slack notifications of deployments, app starting, data exports, etc.

Slack is an interesting communication tool with a lot of features and a plethora of extensions to further expand them.

In my opinion, the neater of them are the integration of third-party platforms. Take Atlassian for instance, with an extension it is possible to receive notifications whenever a JIRA ticket is updated.

Unfortunately, microservices don't get the same attention. They are left alone and developers usually have to be connected on them (using the all migthy SSH) to known what is going on. And we all know how lazy they are.

@SHG-bot, aiming for better Pull-Requests

DISCLAIMER: I use Dark Reader for black on white display reducing eye strain. So don't be spook by the upcoming screenshots.

TL;DR: Github bot made on my personal free time to make Pull-Requests more empathetic.

The context

At Sport Heroes Group (SHG), Pull-Request are a major part of the development process.

@TheOptimisticFactory
TheOptimisticFactory / changelog-overview.png
Last active August 28, 2018 18:46
My personal commit convention, which then became the convention used by @sportheroes group. Turned into automated changelog on release with a bit of personal magic added on top of conventional-changelog :)
changelog-overview.png
@TheOptimisticFactory
TheOptimisticFactory / .nycrc
Last active March 6, 2018 16:28
Complete configuration using nyc + mocha + chai + sinonJS
{
"cache": true,
"check-coverage": true,
"per-file": true,
"report-dir": "./coverage",
"branches": [0, 95],
"functions": [0, 95],
"statements": [0, 95],