Skip to content

Instantly share code, notes, and snippets.

View thomasleduc's full-sized avatar
🛠️

Thomas LEDUC thomasleduc

🛠️
  • EPITA
  • Paris Area
View GitHub Profile
@thomasleduc
thomasleduc / reset.scss
Created July 1, 2021 13:02
A scss reset basic but complete file
html, body {
box-sizing: border-box;
}
*, *:before, *:after{
box-sizing: inherit;
}
html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video{
margin: 0;
@thomasleduc
thomasleduc / gifts.js
Created November 1, 2018 09:50
Randomly assign gifts for Xmas
const fs = require('fs');
Array.prototype.flat = function () {
return this.reduce((acc, val) => acc.concat(val), []);
};
const participants = [
'Nicolas',
'Mariette',
'Thomas',
#!/usr/bin/env bash
shopt -s nocasematch
set -e
set -o pipefail
npm run test
FIX_PATTERN="*FIX*"
MASTER_BRANCH="master"