Skip to content

Instantly share code, notes, and snippets.


Thibault Deutsch dethi

View GitHub Profile
dethi / cloudSettings
Created Oct 28, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
dethi /
Last active Mar 15, 2021
create-react-app: find files not used in the app bundle, i.e. unused source code
# Launch inside a create-react-app project after building the production build.
# Require `jq`.
diff \
<(find src -type f \( -name '*.js' -o -name '*.jsx' -o -name '*.css' \) | sort) \
<(cat build/**/*.map | jq --raw-output '.sources | join("\n")' \
| grep -v '\.\./' | grep -E '\.(js|jsx|css)$' \
| sed "s#^#src/#" | sort | uniq) \

Keybase proof

I hereby claim:

  • I am dethi on github.
  • I am dethi ( on keybase.
  • I have a public key whose fingerprint is 2DDD 1BE9 6DB7 7FC4 A9CB D5E5 EEDA E300 3DE4 B4E3

To claim this, I am signing this object:

dethi / Vagrantfile
Created Apr 8, 2016
Vagrantfile for Elixir/Phoenix project
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/wily64"
config.vm.hostname = "ubuntu-ex"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "1024"
dethi /
Created Nov 22, 2014
Notify revision in the wiki-prog of EPITA
#!/usr/bin/env python
# The MIT License (MIT)
# Copyright (c) 2014 Thibault Deutsch <>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
View Cellular
Cellular automaton
Copyright (C) 2013 Thibault 'Dethi' Deutsch <>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,