Skip to content

Instantly share code, notes, and snippets.

View mickael9's full-sized avatar

Mickaël Thomas mickael9

View GitHub Profile
@mickael9
mickael9 / factures_edf.js
Created July 19, 2026 13:45
Télécharger toutes mes factures EDF
// Aller sur l'espace client EDF, page documents (https://particulier.edf.fr/fr/accueil/espace-client/mes-documents.html#/factures)
// Cliquer sur "Factures"
// Ouvrir les outils de développement (F12 ou Ctrl-Maj-I) et coller ce script dans la console
// Valider avec Entrée
(async function () {
const AFTER = "2020-01-01"; // Télécharger uniquement les factures après cette date
const DELAY = 1000;
const zeroPad = (number, digits = 2) => number.toString().padStart(digits, "0");
@nstarke
nstarke / release-android-debuggable.md
Last active April 21, 2026 02:58
How to make a Release Android App debuggable

How to make a Release Android App debuggable

Let's say you want to access the application shared preferences in /data/data/com.mypackage.
You could try to run adb shell and then run-as com.mypackage ( or adb shell run-as com.mypackge ls /data/data/com.mypackage/shared_prefs), but on a production release app downloaded from an app store you're most likely to see:

run-as: Package 'com.mypackage' is not debuggable