Skip to content

Instantly share code, notes, and snippets.

View martinsam's full-sized avatar
🎯
Focusing

Samuel Martin martinsam

🎯
Focusing
View GitHub Profile
@martinsam
martinsam / samsung_smartphone.md
Created September 16, 2026 15:28
Galaxy S / Z / A | Galaxy Tab | Galaxy Watch | Ring
Modèle Écran principal Écran externe Batterie Charge Vitre AR Caméra
GALAXY Z FLIP8 259 € 159 € 99 € 79 € 69 € 109 €
GALAXY Z FOLD 8 449 € 169 € 109 € 79 € 89 € 109 €
GALAXY Z FOLD 8 ULTRA 489 € 179 € 109 € 89 € 89 € 139 €
GALAXY S26 199 € — 89 € 79 € 89 € 109 €
GALAXY S26+ 239 € — 89 € 79 € 89 € 119 €
GALAXY S26 ULTRA 299 € — 89 € 79 € 99 € 129 €
GALAXY S25 189 € — 89 € 79 € 89 € 99 €
GALAXY S25 EDGE 219 €
@martinsam
martinsam / galaxy_watch_ring.md
Created September 16, 2026 15:26
Galaxy Watch
Modèle Écran Batterie Vitre AR
GALAXY WATCH ULTRA2 189 € 89 € 109 €
GALAXY WATCH9 40MM BT 159 € 89 € 89 €
GALAXY WATCH9 44MM BT 149 € 79 € 89 €
GALAXY WATCH9 40MM 4G 159 € 89 € 89 €
GALAXY WATCH9 44MM 4G 149 € 79 € 89 €
GALAXY WATCH8 - 44MM 4G 139 € 79 € 99 €
GALAXY WATCH8 - 44MM BT 139 € 79 € 99 €
GALAXY WATCH8 4G (40 MM) 139 € 79 € 99 €
@martinsam
martinsam / galaxy_tab.md
Created September 16, 2026 15:24
Galaxy Tab
Modèle Écran Batterie Charge Vitre AR Caméra
GALAXY TAB S9 FE 5G 189 € 89 € 79 € 109 € 79 €
GALAXY TAB S9 FE WIFI 189 € 89 € 79 € 109 € 79 €
GALAXY TAB S9 ULTRA 5G 256GO 359 € 99 € 79 € 139 € 79 €
GALAXY TAB S9 ULTRA WIFI 256GO 359 € 99 € 79 € 139 € 79 €
GALAXY TAB S9 5G 128GO 229 € 89 € 79 € 119 € 79 €
GALAXY TAB S9 WIFI 128GO 229 € 89 € 79 € 119 € 79 €
GALAXY TAB S9+ FE 5G 199 € 89 € 79 € 109 € 79 €
GALAXY TAB S9+ FE WIFI 199 € 89 € 79 € 109 € 79 €
@martinsam
martinsam / Galaxy_s_z_a.md
Created September 16, 2026 15:22
Galaxy S / Z / A
Modèle Écran principal Écran externe Batterie Charge Vitre AR Caméra
GALAXY Z FLIP8 259 € 159 € 99 € 79 € 69 € 109 €
GALAXY Z FOLD 8 449 € 169 € 109 € 79 € 89 € 109 €
GALAXY Z FOLD 8 ULTRA 489 € 179 € 109 € 89 € 89 € 139 €
GALAXY S26 199 € — 89 € 79 € 89 € 109 €
GALAXY S26+ 239 € — 89 € 79 € 89 € 119 €
GALAXY S26 ULTRA 299 € — 89 € 79 € 99 € 129 €
GALAXY S25 189 € — 89 € 79 € 89 € 99 €
GALAXY S25 EDGE 219 €
@martinsam
martinsam / apple_repair.md
Created September 15, 2026 10:56
Grille tarifaire répération hors garantie - Apple 2026
Modèle Batterie Écran Dos verre Caméra arrière Écran + dos Autres dommages
iPhone 8 79 € 185 € — — — 419 €
iPhone 8 Plus 79 € 209 € — — — 419 €
iPhone XR 99 € 239 € — — — 419 €
iPhone XS 99 € 338,99 € — — — 549 €
iPhone XS Max 99 € 405 € — — — 729 €
iPhone 11 99 € 239 € — — — 419 €
iPhone 11 Pro 99 € 338,99 € — — — 549 €
iPhone 11 Pro Max 99 € 405 € — — — 729 €
services:
db:
image: postgres:15
container_name: odoo-db
restart: unless-stopped
environment:
POSTGRES_DB: postgres
POSTGRES_USER: odoo
POSTGRES_PASSWORD: xxx
PGDATA: /var/lib/postgresql/data/pgdata
@martinsam
martinsam / gist:f976200c923e6cb532663abb67377416
Created August 12, 2026 14:27
./backup_photo_on_poco_F3.sh
#!/bin/bash
SOURCE="/storage/emulated/0/Android/data/com.miui.gallery/files/ThumbnailFile"
DEST="$HOME/Desktop/RECUP_POCO/ThumbnailFile"
LOG="$HOME/Desktop/RECUP_POCO/recup.log"
ERRORS="$HOME/Desktop/RECUP_POCO/errors.log"
mkdir -p "$DEST"
echo "=== Début récupération $(date) ===" >> "$LOG"
\documentclass[letterpaper,11pt]{article}
\usepackage{latexsym}
\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage[usenames,dvipsnames]{color}
\usepackage{verbatim}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
@martinsam
martinsam / check_dependency.py
Created March 15, 2018 08:40
Check dependency for Python packages
# In Your virtual env
pip install pipdeptree
# get all dependencies
pipdeptree
#copy / paste into SublimeText for example
# cmd + shift + F : httplib to search httplib
# python2.7/site-packages/debug_toolbar/templates/debug_toolbar/panels/templates.html:
# L18
<dd><samp><a href="file://{{ template.template.origin_name|addslashes }}">{{ template.template.origin_name|addslashes }}</a></samp></dd>`
# python2.7/site-packages/debug_toolbar/panels/request_vars.py
#L52
from django.conf import settings
personal_path = ('file:///%s/%s.py') % (
settings.HOME,
self.view_func.__module__.replace('.', '/'))