Skip to content

Instantly share code, notes, and snippets.

View Msadr471's full-sized avatar
😎
I'm ready...

Mamad Msadr471

😎
I'm ready...
View GitHub Profile
@jogerj
jogerj / Genshin Impact 4.x Wish URL Android.md
Last active April 24, 2024 11:25
Get Wish URL in Genshin Impact 4.6 on Android using Android Debugging Tools

Usage

These instructions are for users with Genshin Impact installed on Android. For installations on PC, see other guide.

Using Termux on Android

  1. Open and Download Termux (Do not download from Play Store as it is not up-to-date)
    • Android 11 and above: Enable Wireless Debugging on your Android phone.
    • Android 10 or below: You need a PC to enable port 5555, follow these instructions to connect then skip step 5-7.
  2. Open Termux and run pkg update && pkg install android-tools termux-api (if failed, run apt update && apt install android-tools termux-api instead)
  3. Open Settings > System > Developer Options > Wireless Debugging. Open the app switcher then tap and hold the Settings app icon. Select "Split top", then select Termux as the botto
@VirajKanse
VirajKanse / gist:1c0db872cd7685632c02f8826397f190
Last active December 28, 2023 11:44
GCC / Clang C/C++ Compiler On Android Using Termux (Linux Environment)
Install Termux App.
type "apt update"
Then We have to install a text editor to write our code so type "apt install vim" for vim text editor
or u can also use nano text editor for nano type "apt install nano"
Now Clang Installation type "apt install clang" and wait for download completes.
now to create a file simply type vim filename.c or .cpp or nano filename.c or cpp
then u will able to write ur code .
write.....to save ur code simply press esc then type ":wq"
now code is ready to compile
type "clang filename.c -o filename"