Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Édouard Lopez edouard-lopez

🏠
Working from home
View GitHub Profile
@edouard-lopez
edouard-lopez / BoondManager Admin.sys - devops en télétravail - Cover Letter.md
Created May 8, 2020
BoondManager Admin.sys - devops en télétravail - Cover Letter.md
View BoondManager Admin.sys - devops en télétravail - Cover Letter.md

Lettre de motivation

Bonjour,

Je suis un ingénieur logiciel avec une expériences de projets fullstack (Python, Docker, Ansible, CI / CD, etc.) et un fort goût pour l'UX, les tests et l'automatisation. J'ai également une expérience des frameworks JS populaires (React, Vue, Ember et AngularJS).

Je sais :

  • Collaborer avec le client pour faire évoluer la plateforme existante ;
@edouard-lopez
edouard-lopez / compare-git-hook-management-tools.md
Last active Apr 23, 2019
Comparing git hooks management tools
View compare-git-hook-management-tools.md

Git hooks comparison

Tools taken from https://github.com/aitemr/awesome-git-hooks.

Legend: : yes, : no, : broken, xn: run against n versions

project language Tests CI Stars Description
Githooks shell ~100 ✔ x12 ~150 Auto-install Git hook, that supports hooks in any language checked into Git and also shared repos.
View logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@edouard-lopez
edouard-lopez / algo.py
Created Jan 26, 2019
Run with `python algo.py`
View algo.py
import hashlib
import binascii
def calc_entropy():
digest_algorithm = "sha256"
master_password = 'password'
salt = 'site'+'login'+hex(1)[2:]
iterations = 100000
derived_key_length = 32
View gist:56d153af1b59521d2aa2f00f1f86f19b
@schrodincat I didn't notice you updated your message.
That's an off-topic discussion, but I recommend reading:
* [GitFlow considered harmful](https://www.endoflineblog.com/gitflow-considered-harmful) by Adam Ruka
* [What are the pros and cons of git-flow vs github-flow?](https://stackoverflow.com/q/18188492/802365)
* [Trunk Based Development](https://trunkbaseddevelopment.com/)
Personally I tend to a simple workflow:
* a master branch that is functional/readable ;
* short-lived pull requests (less code=better) ;
View installer.fish
set color_success (set_color green)
set color_error (set_color --bold red)
set color_white (set_color white)
set color_normal (set_color normal)
function pure::set_fish_config_path
printf "\tSet environment variable: %s\n" "\$FISH_CONFIG_DIR"
if test (count $argv) -ge 1
set -gx FISH_CONFIG_DIR $argv[1]
else
View ffmpeg.sh
time ffmpeg \
-i ./data/partie-1:-Apprendre-300-mots-du-quotidien-en-LSF.jauvert-laura.hd.mp4 \
-y \
-vf scale=1280x720 \
-b:v 1024k \
-minrate 512k \
-maxrate 1485k \
-pass 1 \
-quality good \
-speed 4 \
@edouard-lopez
edouard-lopez / extract-and-encode.bash
Last active Dec 15, 2018
extract-and-encode.bash
View extract-and-encode.bash
#!/usr/bin/env bash
# see: https://askubuntu.com/q/56022/22343
# REQUIREMENT:
# sudo apt install --yes ffmpeg libav-tools
# USAGE
# bash -x ./scripts/extract-and-encode.bash "$path/to/videos" [path/to/timing.tsv]
IS_RUNNING_TESTS="${IS_RUNNING_TESTS:=false}"
FAIL=1
@edouard-lopez
edouard-lopez / get-video.bash
Created Nov 23, 2018
fetch video from Files supported by Wikimedia France - Elix category on Wikimedia commons https://commons.wikimedia.org/wiki/Category:Files_supported_by_Wikimedia_France_-_Elix
View get-video.bash
#!/usr/bin/env bash
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/7/75/Achat_Nm_1_1_1_-_Elix.ogv/Achat_Nm_1_1_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/a/a4/Alasaintglinglin_Adv_1_1_-_Elix.ogv/Alasaintglinglin_Adv_1_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/1/18/Ame_Nf_2_2_1_-_Elix.ogv/Ame_Nf_2_2_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/7/7e/Analogie_Nf_1_2_1_-_Elix.ogv/Analogie_Nf_1_2_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/4/4a/Appetit_Nm_1_1_1_-_Elix.ogv/Appetit_Nm_1_1_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedia.org/wikipedia/commons/transcoded/a/a6/Archipel_Nm_1_2_1_-_Elix.ogv/Archipel_Nm_1_2_1_-_Elix.ogv.480p.vp9.webm
wget --quiet --continue https://upload.wikimedi
View installer.fish
set color_success (set_color green)
set color_error (set_color --bold red)
set color_white (set_color white)
set color_normal (set_color normal)
function pure::set_fish_config_path
printf "\tSet environment variable: %s\n" "\$FISH_CONFIG_DIR"
if test (count $argv) -ge 1
set -gx FISH_CONFIG_DIR $argv[1]
else
You can’t perform that action at this time.