Skip to content

Instantly share code, notes, and snippets.

View Lecrapouille's full-sized avatar

Quentin Quadrat Lecrapouille

View GitHub Profile
View main.cpp
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
enum Order { Less, Great };
//-----------------------------------------------------------------------------
//! \brief Read the given file \c path, extract each line of it and store inside
@Lecrapouille
Lecrapouille / Bob.sh
Last active November 3, 2022 11:26
A personal bash script I'm using to monitor when planning for "remises de titres de séjours" are ready at Bobigny prefecture. To avoid ban, spinning several few Amazon EC2 Paris microinstances is recommended
View Bob.sh
#!/bin/bash -e
###
### This script is a continuation of vadimkantorov/rdv.sh
### https://gist.github.com/vadimkantorov/c6942cc702cceec7ffb30a990c72df5e
### This script is a helper to notify you when a planning for inscription
### to the prefecture to get back your card.
###
# Set your phone number to get SMS (ie +336...)
@Lecrapouille
Lecrapouille / Profiler.hpp
Last active December 30, 2019 10:14
Modified version of TheCherno's Instrumentor.h
View Profiler.hpp
// This file is a modified version of:
// https://github.com/TheCherno/Hazel
// Hazel/master/Hazel/src/Hazel/Debug/Instrumentor.h
// Copyright TheCherno. License Apache-2.0
// For more details see:
// https://www.youtube.com/watch?v=xlAH4dbMVnU
#pragma once
#include <algorithm>