Skip to content

Instantly share code, notes, and snippets.

View thomasbnt's full-sized avatar
👋
Probably listening music now

Thomas Bonnet thomasbnt

👋
Probably listening music now
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

# Git
alias gitc="git commit -m $1"
alias gc="git commit -m $1"
alias gita="git add"
alias ga="git add"
alias gits="git status"
alias gs="git status"
@thomasbnt
thomasbnt / readme.md
Created July 17, 2022 00:01 — forked from AlexMercedCoder/readme.md
Web Development Glossary
  • Abstraction: Something that simplifies the complexities of something else to make it easier to use without the need to understand how it works.

  • Server: Application running on a network that takes request and generates a response. Often, these responses are either HTML web pages or data JSON format.

  • Client: Application that is made to create requests to servers and then render the response into something usable for the user. A internet browser is a client application that let's you send requests to web servers and render the html in the response as a visual webpage.

  • Web Browser: A desktop or mobile application that is for sending requests to web servers to get back a particular web site or web application.

  • Web Application: A software application written to be consumed via a web browser

// Checked that with console.log(Discord) from Discord.js
APIErrors: {
UNKNOWN_ACCOUNT: 10001,
UNKNOWN_APPLICATION: 10002,
UNKNOWN_CHANNEL: 10003,
UNKNOWN_GUILD: 10004,
UNKNOWN_INTEGRATION: 10005,
UNKNOWN_INVITE: 10006,
UNKNOWN_MEMBER: 10007,
twenty one pilots ███▎░░░░░░░░░░░░░ 13 plays
Dua Lipa ██▎░░░░░░░░░░░░░░ 9 plays
Castlebeat █▊░░░░░░░░░░░░░░░ 7 plays
Madeon █▊░░░░░░░░░░░░░░░ 7 plays
Fred again.. █▌░░░░░░░░░░░░░░░ 6 plays
Keanler █▌░░░░░░░░░░░░░░░ 6 plays
Arto █▎░░░░░░░░░░░░░░░ 5 plays
Fakear █▎░░░░░░░░░░░░░░░ 5 plays
Fløa █▎░░░░░░░░░░░░░░░ 5 plays
Eli & Fur █░░░░░░░░░░░░░░░░ 4 plays
@thomasbnt
thomasbnt / mysql.md
Created March 2, 2021 11:19 — forked from nesmon/mysql.md
Help for use MySQL.js with Node.js and a helper

MySQL.js Usage with Node.js and a helper.

Requirements :

Before start you will need :

  • A Node.JS project with mysql module
  • A mysql account with mysql_native_password as authentication method :
    • If this is not the case do this : ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

      Where root is your username, and password your new password.

Discord

Règles sur les serveurs Discord

Règles généraux

  • Pas de pseudos vides.
  • Aucun pseudos inapproprié.
  • Pas de pseudos sexuellement explicites.
  • Pas de pseudos offensants.

Keybase proof

I hereby claim:

  • I am thomasbnt on github.
  • I am thomasbnt (https://keybase.io/thomasbnt) on keybase.
  • I have a public key ASBhhiOkwmT-DRcdNjcIZTtMAugtymCe7a8r2RLz8rYlqgo

To claim this, I am signing this object:

@thomasbnt
thomasbnt / mysql-cheatsheet.md
Last active September 16, 2022 08:40 — forked from angristan/mysql-cheatsheet.md
MySQL cheatsheet

Manage databases

Create database

CREATE DATABASE database;

Delete database