Skip to content

Instantly share code, notes, and snippets.

@gsurrel
gsurrel / barometer.rs
Created Mar 10, 2020
Barometer Sheet Generation
View barometer.rs
// 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 Nov 18, 2020
Samsung Galaxy S8 debloat list
View Galaxy_S8_Debloat.sh
###########################
# 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" # Probably linked to accessibility feature "Captioned Telephone Service. No internet access requi
You can’t perform that action at this time.