Skip to content

Instantly share code, notes, and snippets.

View Y-T-G's full-sized avatar

Mohammed Yasin Y-T-G

View GitHub Profile
@PuKoren
PuKoren / recompile-and-run.sh
Last active May 31, 2024 15:18
Recompile APK + Sign with apktool
# You must first install apktool (https://github.com/iBotPeaches/Apktool) and android SDK
# and decompile apk using it
# apktool d -rf my-app.apk
# then generate a key for sign in:
# keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
rm signed-app.apk
apktool b -f -d com.myapp
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore com.myapp/dist/com.myapp.apk alias_name
zipalign -v 4 com.myapp/dist/com.myapp.apk signed-app.apk
127.0.0.1 a.stat.xiaomi.com
127.0.0.1 abtest.mistat.intl.xiaomi.com
127.0.0.1 abtest.mistat.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 api.account.xiaomi.com
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 api.admob.xiaomi.com
@dungsaga
dungsaga / spleeter.md
Last active March 17, 2024 20:00
Voice removal AKA karaoke creator
# Requirements:
# OS: Ubuntu18.04 LTS
# Python >= 3.8
# Cuda: 10.2,
# CudaNN 8.1.1
# Download TensorRT 7.2.3 for Linux and CUDA 10.2 from https://developer.nvidia.com/nvidia-tensorrt-7x-download for ubuntu 18.04
# or from this link https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/7.2.3/local_repos/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.2.3.4-ga-20210226_1-1_amd64.deb
# OPEN terminal
@denguir
denguir / cuda_install.md
Last active July 2, 2024 13:48
Installation procedure for CUDA & cuDNN

How to install CUDA & cuDNN on Ubuntu 22.04

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation