Skip to content

Instantly share code, notes, and snippets.

@gsurrel
gsurrel / spec.json
Created May 24, 2023 11:44
Vega-Lite spec for GDPR fines across time
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"url": "https://www.enforcementtracker.com/data.json",
"format": {"type": "json", "property": "data"}
},
"params": [
{
"bind": "scales",
"select": {
@gsurrel
gsurrel / barometer.rs
Created March 10, 2020 10:07
Barometer Sheet Generation
// Exercice on Rust programming:
// Draw an SVG file to replicate this kind of barometric measurement sheet:
// https://www.naudet.com/diagrammes-6mm-c2x15057112
use svg::Document;
use svg::node::element::{Path, Text, Circle, Rectangle, Line};
use svg::node::element::path::Data;
fn main() {
println!("Génération de feuille barométrique.");
@gsurrel
gsurrel / Galaxy_S8_Debloat.sh
Last active August 8, 2024 13:25
Samsung Galaxy S8 debloat list
###########################
# Phone apps and services #
###########################
adb shell "cmd package install-existing com.android.stk" # SIM toolkit
adb shell "cmd package install-existing com.android.stk2" # SIM toolkit (maybe for dual-sim devices)
adb shell "cmd package install-existing com.sec.android.app.simsettingmgr" # SIM card manager, maybe required, contains configuration and settings for handling dual SIM (give a SIM an icon, a name, and so on)
adb shell "pm uninstall -k --user 0 com.samsung.android.smartcallprovider" # The 4th tab in the Phone app for 'local places'
adb shell "pm uninstall -k --user 0 com.sec.vsim.ericssonnsds.webapp" # NSDSWebApp. The Non Sim Device Solution (NSDS) is linked to VoLTE and VoWifi (Wifi Calling). NSDS allows connecting non sim devices to IMS core: https://uk.linkedin.com/in/hemant-kumar-dewnarain-2b779679
adb shell "pm uninstall -k --user 0 com.android.cts.ctsshim" # Part of the Android Compatibility Test Suite: https://source.android.com/compatibility/cts/setu