Hello World! 👋
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script basically automates the official Postman installation guide for Linux: | |
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux | |
# 32 or 64-bit? | |
BIT=$(getconf LONG_BIT) | |
# Download the appropriate version | |
wget -O ~/postman.tar.gz "https://dl.pstmn.io/download/latest/linux${BIT}" | |
# Extract the archive in /opt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const defaultTheme = require("tailwindcss/defaultTheme") | |
module.exports = { | |
mode: "jit", // Tailwind v2.1 | |
theme: { | |
// Usually, you extend your Tailwind properties. Doing so _appends_ your custom classes | |
// to the default ones. | |
// The problem with media queries breakpoints is that the order of the classes matters. | |
// If you want to add breakpoints larger than the defaults, extending is fine. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="fixed bottom-0 right-0 p-2 bg-white text-black"> | |
<span class="mr-1">Current breakpoint:</span> | |
<span class="font-bold sm:hidden">default (< 640px)</span> | |
<span class="font-bold hidden sm:inline md:hidden">sm</span> | |
<span class="font-bold hidden md:inline lg:hidden">md</span> | |
<span class="font-bold hidden lg:inline xl:hidden">lg</span> | |
<span class="font-bold hidden xl:inline 2xl:hidden">xl</span> | |
<span class="font-bold hidden 2xl:inline">2xl</span> | |
</div> |
- Recruter et gérer (au sens ressources) 20k personnes
- Former et sensibiliser 20k personnes
- Coordonner 20k personnes
- Communiquer avec 20k personnes
- Garder une vision globale (avancement, identifier les points critiques...)
- Tout ça avec peu d'outils, simples, faciles à prendre en main, et pas trop chers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Always sort letters (= positions) alphabetically for comparison | |
def sort_(s): | |
return "".join(sorted(s)) | |
part_1 = 0 | |
for seg in input_: | |
signals = seg.split(' | ')[1].split(' ') | |
for signal in signals: | |
if len(signal) in [2, 3, 4, 7]: | |
part_1 += 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
closers = { | |
'[': ']', | |
'(': ')', | |
'<': '>', | |
'{': '}' | |
} | |
illegals = { | |
']': 0, | |
')': 0, |
For some reason, you need to manage two different GitHub accounts on your machine - e.g. personal and work.
After a thorough research online along with a test-and-learn approach, the following steps were successful for me.
- For the sake of this guide, both accounts are called
foobar
andwaldo
.