Skip to content

Instantly share code, notes, and snippets.

View santosh's full-sized avatar
:octocat:

Santosh Kumar santosh

:octocat:
View GitHub Profile
@vsnthdev
vsnthdev / clean.sh
Created October 17, 2020 06:09
MIUI Bloatware Removal Script
#!/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 April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

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.