Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View opus-x's full-sized avatar
💭
#SlavaUkraine

⠠⠙⠑⠝⠝⠽ opus-x

💭
#SlavaUkraine
View GitHub Profile
@opus-x
opus-x / nabu_eea_debloat.cmd
Last active April 22, 2024 21:37
Debloat and speed-up Xiaomi Pad 5 by disabling apps and limiting apps starting in the background (EU model), Tested and working but to be finetuned.
@echo off
rem usb connection
echo =======================================
echo Starting Android Debug Bridge Daemon...
echo =======================================
2>nul adb kill-server
adb start-server
echo | set /p="Checking for a connected device... "
>nul adb get-state
@opus-x
opus-x / Spotify_Eliminate_Advertisements
Last active April 13, 2024 21:09
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.
@opus-x
opus-x / pymrc.py
Last active February 12, 2024 04:35
Some Python 3 scripts that might come in handy
#!/usr/bin/env python3
# Copyright (c) 2023 Opus-X
# URL: https://gist.github.com/opus-x/bd125599350b5625c17bcad539ec54c1#file-pymrc-py
import sys
import requests
from bs4 import BeautifulSoup
import re
import csv
@opus-x
opus-x / start_portable.cmd
Last active September 3, 2023 03:03
Experimental Portable Apps Launcher Batch File for (Non-)Portable Apps (excl. registry) and developers.
@echo off
REM Copyleft 2020-2023, Opus-X (Windows 7-11 - 32/64bit)
REM Check arguments (without start prompt only)
IF NOT "%~1"=="" IF NOT EXIST "%~1" EXIT /B 0
REM Clean-up Windows Temp foler
IF DEFINED TEMP (
RMDIR /S /Q %TEMP% >NUL 2>&1
MKDIR %TEMP% >NUL 2>&1
@opus-x
opus-x / ytdl.go
Last active August 23, 2023 15:50
YouTube Video Downloader for Go, NodeJS, Python and Ruby
package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)