Skip to content

Instantly share code, notes, and snippets.

View ptessier's full-sized avatar

Philippe Tessier ptessier

View GitHub Profile
@ptessier
ptessier / mongo-server-error-codes.ts
Last active February 6, 2024 03:04
Mongodb — Server Error Code Enum
/**
* Generated from mongodb documentation
* @link https://www.mongodb.com/docs/manual/reference/error-codes/
*/
enum MongoServerErrorCodes {
InternalError = 1,
BadValue = 2,
NoSuchKey = 4,
GraphContainsCycle = 5,
HostUnreachable = 6,
@ptessier
ptessier / experiment-definition.json
Last active January 6, 2024 14:48
react-meetup-ab-testing
{
"experiment-a": {
"key": "experiment-a",
"attribute": "id",
"traffic": 1,
"variations": ["control", "treatment"],
"weights": [0.5, 0.5]
}
}
@ptessier
ptessier / mage.md
Last active August 28, 2019 00:09
Macro

Ice Block

#showtooltip Ice Block
/stopcasting
/cancelaura Ice Block
/cast Ice Block
@ptessier
ptessier / flabergast.md
Last active August 10, 2019 13:09
Flabergast

Flabergast

Friedrich Albrecht Willowgast

Description

Sa mâchoire carré, sa stature imposante, sa posture droite malgré son âge avancé et son respect de l'autorité trahissent ses antécédents militaires. Ses vêtements humides dégage une dense effluve marine.

Son visage dur semble avoir été vieilli prématurément par la guerre et ses atrocités. Ses cheveux poivre et sel soigneusement lissés vers l'arrière jusqu'à la nuque contraste sa barbe négligée. Sa figure couverte de cicatrices arbore un air sévère.

@ptessier
ptessier / roles.md
Last active July 13, 2020 00:37
Acquisition Incorporated
@ptessier
ptessier / HOW TO WIN FRIENDS & INFLUENCE PEOPLE.md
Last active October 17, 2022 15:14
HOW TO WIN FRIENDS & INFLUENCE PEOPLE

HOW TO WIN FRIENDS & INFLUENCE PEOPLE

book cover

How to Win Friends and Influence People is a self-help book written by Dale Carnegie, published in 1936.

Get the Most Out of This Book 📓

  1. Develop a deep, driving desire to master the principles of human relations.
  2. Read each chapter twice before going to the next one.
@ptessier
ptessier / .hyper.js
Last active January 27, 2018 00:40
hyper-sync-settings
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',