Skip to content

Instantly share code, notes, and snippets.

Avatar

Santosh Kumar santosh

View GitHub Profile
@vsnthdev
vsnthdev / clean.sh
Created Oct 17, 2020
MIUI Bloatware Removal Script
View clean.sh
#!/usr/bin bash
# DEFINE THE BLOATWARE APPLICATIONS WHICH
# ARE SAFE TO BE REMOVED
declare -a bloatware=(
# Google Bloatware
"com.google.android.apps.docs" # Google Docs
"com.google.android.apps.maps" # Google Maps
"com.google.android.apps.photos" # Google Photos
"com.google.android.apps.tachyon" # Google Duo
@DawidMyslak
DawidMyslak / vue.md
Last active Oct 23, 2021
Vue.js and Vuex - best practices for managing your state
View vue.md

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.