Skip to content

Instantly share code, notes, and snippets.

View YuvrajRaghuvanshiS's full-sized avatar
🕐
Unavailable

Yuvraj Raghuvanshi YuvrajRaghuvanshiS

🕐
Unavailable
View GitHub Profile
@wulrahman
wulrahman / Remove_MIUI_Bloatware.CMD
Last active June 11, 2021 15:53 — forked from Biswa96/Remove_MIUI_Bloatware.CMD
Remove bloatware applications from MIUI ROM in Xiaomi phones
cd “adb file location”
./adb kill-shell;
./adb devices;
./adb shell;
pause
set -A command amazon.appmanager android.browser android.chrome android.email android.thememanager android.wallpaper.livepicker facebook.services facebook.system facebook.appmanager google.android.apps.docs google.android.apps.maps google.android.apps.photos google.android.apps.tachyon google.android.feedback google.android.gm google.android.googlequicksearchbox google.android.marvin.talkback google.android.music google.android.syncadapters.calendar google.android.syncadapters.contacts google.android.talk google.android.tts google.android.videos google.android.youtube mfashiongallery.emag mi.android.globalpersonalassistant mi.dlabs.vr mi.globalTrendNews mi.global.bbs mi.global.shop mi.webkit.core micredit.in milink.service mipay.wallet.id mipay.wallet.in miui.analytics miui.android.fashiongallery miui.bugreport miui.cloudbackup miui.cloudservice miui.cloudservice.sysbase miui.micloudsync miui.hybrid miui.hybrid.accessory miui.klo.bu
@Biswa96
Biswa96 / Remove_MIUI_Bloatware.CMD
Last active June 26, 2024 17:22
Remove bloatware applications from MIUI ROM in Xiaomi phones
@echo off
set /p Y=Enter adb.exe folder path:
cd /d %Y%
adb devices
pause
for %%X in (
"com.amazon.appmanager"
"com.android.browser"
"com.android.chrome"
"com.android.email"
@syafiqfaiz
syafiqfaiz / how-to-copy-aws-rds-to-local.md
Last active June 22, 2024 20:31
How to copy production database on AWS RDS(postgresql) to local development database.
  1. Change your database RDS instance security group to allow your machine to access it.
    • Add your ip to the security group to acces the instance via Postgres.
  2. Make a copy of the database using pg_dump
    • $ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>
    • you will be asked for postgressql password.
    • a dump file(.sql) will be created
  3. Restore that dump file to your local database.
    • but you might need to drop the database and create it first
    • $ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>
  • the database is restored