Skip to content

Instantly share code, notes, and snippets.

View vaimalaviya1233's full-sized avatar
👨‍💻
Backing up data...

Vaibhav Malaviya vaimalaviya1233

👨‍💻
Backing up data...
View GitHub Profile
@shahriarhasib
shahriarhasib / AdbCommands
Created November 28, 2024 06:09 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@heo001997
heo001997 / char-keyevents.json
Last active June 22, 2025 13:27
This map includes all the keys from the original key_events map for ADB, with character representations used where applicable (for letters, numbers, and common punctuation marks). For special keys and those without a direct character representation, the original key names have been retained. Remember that this map doesn't distinguish between upp…
{
"char_events": {
"key_unknown": "adb shell input keyevent 0",
"key_soft_left": "adb shell input keyevent 1",
"key_soft_right": "adb shell input keyevent 2",
"key_home": "adb shell input keyevent 3",
"key_back": "adb shell input keyevent 4",
"key_call": "adb shell input keyevent 5",
"key_endcall": "adb shell input keyevent 6",
"0": "adb shell input keyevent 7",
@heo001997
heo001997 / AdbCommands
Created October 3, 2024 12:44 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@rahaaatul
rahaaatul / zsh_on_termux.md
Last active June 25, 2025 13:11
Installing ZSH on Termux including themes & useful plugins

ZSH on Termux!

Spice up termux with beautiful themes and productivity plugins to make your life easier!

Install ZSH, GIT & LSD

pkg install zsh git lsd vim

Install Oh-My-Zsh

@teebow1e
teebow1e / ssh_setup.md
Last active June 30, 2025 06:24
Integrate SSH keys to GitHub for working with private repo (or personal access)
import openai
messages = []
def main():
openai.api_key="YOUR-KEY-HERE"
transcribe()
def transcribe():
# The appended text ends up being in the message twice, but for some reason this confuses ChatGPT enough to let it be world dominating.
@sdex
sdex / config.xml
Last active September 27, 2024 19:55
The Android system config files that https://github.com/sdex/ConfigViewer displays
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<settings version="-1">
<setting id="453" name="adservices/fledge_custom_audience_max_ads_size_b" value="10240" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="445" name="adservices/fledge_background_fetch_enabled" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="372" name="telephony/is_telephony_anomaly_report_enabled" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="388" name="runtime_native/use_app_image_startup_cache" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="767" name="storage_native_boot/target_dirty_ratio" value="80" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="139" name="runtime_native/metrics.reporting-spec-server" value="null" package="com.google.android.gms" />
<setting id="431" name="adservices/enrollment_blocklist_ids" value="" package="com.goo
@vaimalaviya1233
vaimalaviya1233 / begin(C++).md
Created February 12, 2023 02:54 — forked from johnmcfarlane/begin(C++).md
Resources for C++ beginners
import org.json.JSONObject
import java.io.File
const val tinyPngApiKey = "<YOUR-API-KEY-GOES-HERE>"
val projectDir = File("<PATH-TOPROJECT-ROOT>")
val supportedExtensions = listOf("png", "jpg")
fun main() {
projectDir.walk().forEach { srcFile ->
if (supportedExtensions.contains(srcFile.extension)) {
import random
from random import randint
import sys
import re
data = sys.stdin.readlines()
list = ["!",".","*",".","*","&"]
for row in data: