Skip to content

Instantly share code, notes, and snippets.

@samchoi69
samchoi69 / Remove BlueStacks Ads
Last active July 5, 2025 21:02 — forked from CHEF-KOCH/Remove BlueStacks Ads
Remove BlueStacks Ads
# Windows
1. Open Windows Command Prompt
2. Run command
"C:\Program Files (x86)\BlueStacks\HD-Adb.exe" shell
# Within BlueStacks shell
/system/xbin/bstk/su
pm disable-user com.bluestacks.s2p
@OpenGG
OpenGG / uninstall-mibox-bloatware.sh
Last active December 18, 2023 21:31
Uninstall mibox bloatware
adb shell pm uninstall --user 0 -k com.xiaomi.tv.mitvuser
adb shell pm uninstall --user 0 -k com.duokan.airkan.tvbox
adb shell pm uninstall --user 0 -k com.xiaomi.account
adb shell pm uninstall --user 0 -k com.mitv.tvhome
adb shell pm uninstall --user 0 -k com.xiaomi.tv.gallery
adb shell pm uninstall --user 0 -k com.jiajia.yundonghui.mitv
adb shell pm uninstall --user 0 -k com.xiaomi.gamecenter.sdk.service.mibox
adb shell pm uninstall --user 0 -k com.miui.systemAdSolution
adb shell pm uninstall --user 0 -k com.xiaomi.mitv.appstore
adb shell pm uninstall --user 0 -k com.xiaomi.mitv.osstatistic
@sebastiansommer
sebastiansommer / adbToggleAirplane.sh
Created May 1, 2018 09:50
Toggle airplane mode with adb and restart personal hotspot.
adb shell settings put global airplane_mode_on 1 && adb shell am broadcast -a android.intent.action.AIRPLANE_MODE
sleep 15
adb shell settings put global airplane_mode_on 0 && adb shell am broadcast -a android.intent.action.AIRPLANE_MODE
adb shell am start -n com.android.settings/.TetherSettings
adb shell input keyevent 20
adb shell input keyevent 66
@theprivileges
theprivileges / Microsoft Edge Testing on VirtualBox.md
Created May 23, 2018 15:15
A simple guide on how to use VirtualBox and Virtual Machine images from modern.ie so you can test your project on MSEdge.

The following are the steps for downloading and running MSEdge on VirtualBox.

Step 1 — Download Virtual Box

Head to https://www.virtualbox.org/wiki/Downloads, and download the appropriate platform package.

Step 2 — Download Virtual Machine

Microsoft's modern.ie has kindly provided us with images from IE8 to MSEdge. You can download these images at https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/.

  • Select the MSEdge option under Virtual Machine.
  • Select VirtualBox under Platform.
@opus-x
opus-x / Spotify_Eliminate_Advertisements
Last active July 15, 2025 23:01
Eliminate Spotify Advertisements + Complete Server List
##################################################################################
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW #
##################################################################################
#
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x.
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT
# OCCUR USING CHROMECAST / GOOGLE HOME.
#
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP.
# SUGGESTIONS? WRITE A COMMENT BELOW.
@swest
swest / yoast-disable-automatic-redirects.php
Created July 13, 2018 11:34
The Yoast SEO Premium's redirects manager includes automatic redirect creation and redirect request notifications. In rare cases, you may prefer to turn off some of these features.
<?php
/*
* from https://kb.yoast.com/kb/how-to-disable-automatic-redirects/
*
* Yoast SEO Disable Automatic Redirects for
* Posts And Pages
* Credit: Yoast Development Team
* Last Tested: May 09 2017 using Yoast SEO Premium 4.7.1 on WordPress 4.7.4
*/
add_filter('wpseo_premium_post_redirect_slug_change', '__return_true' );
@Luro02
Luro02 / hosts.txt
Last active April 15, 2024 05:37
A blocklist for the Amazon Fire devices, that should block (some) telemetry...
# Amazon Fire (HD 8) Blocklist (V.1.0)
#
# Constribute:
# please make a comment under this gist and I'll add it after checking to this list.
#
# Constributions by:
# Luro02
#
# Credits:
# https://forum.xda-developers.com/amazon-fire/general/how-to-block-updates-via-router-t3640267
@JamoCA
JamoCA / NordVPN-Server-IP-List.txt
Last active July 8, 2025 16:17
NordVPN Server IP List; 7,888 IPs; 2025-03-30T19:12:32Z
103.1.212.107
103.1.212.115
103.1.212.123
103.1.212.131
103.1.212.139
103.1.212.147
103.1.212.155
103.1.212.163
103.1.212.187
103.1.212.19
#!/bin/bash
# Clone all github.com repositories for a specified user.
if [ $# -eq 0 ]
then
echo "Usage: $0 <user_name> "
exit;
fi
@erdincay
erdincay / sugh.sh
Last active March 28, 2025 16:44
su GitHub (downloading all repositories from a given user)
#!/bin/bash
if [ -z "$1" ]; then
echo "waiting for the following arguments: username + max-page-number"
exit 1
else
name=$1
fi
if [ -z "$2" ]; then