Skip to content

Instantly share code, notes, and snippets.

View Kraymer's full-sized avatar

Fabrice Kraymer

View GitHub Profile
{
"meta": {
"theme": "flat"
},
"basics": {
"name": "Fabrice Laporte",
"label": "Back-end Engineering Manager",
"image": "https://avatars.githubusercontent.com/u/84227?v=4",
"summary": "Python developer with 15+ years spent in start-ups which turned into successful businesses. Along my career I moved from Back-end developer roles to Head of Back-end where I help a team of 10 engineers (and counting) grow their skills and experience.",
@Kraymer
Kraymer / introduction.md
Last active January 17, 2021 08:18
Introduction

Below are my active github repos ordered by year and category :

  • [media] Replica, From Replica to Icarus Vol. 1: the id3 cloner (2012)
  • [media] flinck: sort your movies on filesystem using symlinks (2016 Mar)
  • [unixy] F-dotfiles: opiniated dotfiles organization scheme based on stow (2016 Apr)
  • [web..] Excommito: back-oriented jekyll template (2017)
  • [image] imgimg: stitch two images side by side with captions (2019 Jul)
  • [web..] alphameme: Must-have emojis pack for the corporate world (2020 Avr)
  • [git..] ublame: git blame with some depth (2020 Nov)
  • [git..] treeage: expose aging code in repository (2020 Nov)
@Kraymer
Kraymer / blame_highlight.sh
Created February 15, 2018 23:44
Highlight lines in git blame output based on dates
git blame FILE |ack --nogroup --passthru '.*(?:DATE_1|...|DATE_N).*?\)'
@Kraymer
Kraymer / faviconaday.py
Last active January 21, 2018 08:46
PIL generation of timestamped favicons
import os
from PIL import Image, ImageDraw, ImageFont
# Generates timestamped favicon images for every day of the year, store images in 12 folders (one per month).
FONT = ImageFont.truetype(os.path.abspath(os.path.join('static', 'fonts', 'Avenir Next Condensed.ttc')), 60)
for month in [str(x).zfill(2) for x in range(1, 13)]:
os.makedirs(month)
for day in [str(x).zfill(2) for x in range(1, 32)]:
@Kraymer
Kraymer / genres-tree.yaml
Created September 5, 2014 14:52
genres-tree.yaml alpha sorted and no duplicated node
- african:
- african heavy metal
- african hip hop
- afrobeat
- apala
- benga
- bikutsi
- bongo flava
- cape jazz
- chimurenga
@Kraymer
Kraymer / gitparse.tex
Created November 9, 2012 10:21 — forked from SamWhited/gitparse.tex
Make LaTeX git-aware
% A few example commands for a more git-aware LaTeX.
% Note that this requires you to run pdflatex/xelatex/etc. with the
% `--shell-escape' option which is extremely unsafe. Use with care
% and *never* use with plain TeX.
% Print the short-hash of the current commit
\newcommand*{\gitrev}{%
\immediate\write18{%
rm gitrev.tex 2> /dev/null; git rev-parse --short HEAD > gitrev.tex
}%