Skip to content

Instantly share code, notes, and snippets.

View AbhiAbzs's full-sized avatar
💭
I may be slow to respond.

Abhijeet Singh AbhiAbzs

💭
I may be slow to respond.
View GitHub Profile
@AbhiAbzs
AbhiAbzs / root_mi_box_s_2nd_gen.md
Created June 18, 2025 13:47 — forked from supechicken/root_mi_box_s_2nd_gen.md
A tutorial for rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Table of contents

  • Prerequisites
  • Step 1: Download the stock ROM for Xiaomi TV Box S 2nd Gen
  • Step 2: Extract boot image from the OTA archive
  • Step 3: Update the system with downloaded OTA archive
  • Step 4: Patch boot image with Magisk
  • Step 5: Unlock bootloader with fastboot
  • Step 6: Reboot to system and complete setup
@AbhiAbzs
AbhiAbzs / KMS.md
Created June 10, 2025 12:12 — forked from a-kbv/KMS.md
Windows KMS Activate Guide

Install a product key

To install a client product key, open an administrative command prompt on the client, and run the following command and then press Enter:

slmgr /ipk <product key>

Set KMS machine address.

@AbhiAbzs
AbhiAbzs / Extend or ReArm Windows Server Trial License.txt
Created April 28, 2025 08:16
Extend/Rearm Windows Server Trial License
Extend Windows Server Trial License:-
~~~~~~~~~~~~~~~~~~~~~~~~
slmgr -dlv
slmgr -rearm
slmgr -dli

AetherSX2

NEW Updates

At this time we have completely abandoned the old devices, we will continue to try to make another emulator but only a modern emulator, and also a modern device so later we will no longer support 32 bit devices

AetherSX2 development is indefinitely suspended. Due to neverending impersonating, complaints, demands, and now death threats, I'm done.

You can still download/use the app and it will continue to work for the forseeable future.

@AbhiAbzs
AbhiAbzs / ExeMask.py
Created July 23, 2023 18:31 — forked from aaaddress1/ExeMask.py
Strip your personal compile info from Exe Files
import pefile, struct, sys
if len(sys.argv) != 2:
print(f"Strip your personal compile info from Exe Files by aaaddress1@chroot.org")
print(f"Usage: {sys.argv[0]} [path/to/exe]")
sys.exit(-1)
# Rewrite from pefile: https://github.com/erocarrera/pefile/blob/593d094e35198dad92aaf040bef17eb800c8a373/pefile.py#L3402
def mask_myRichHdr(in_pefile):
DANS = 0x536E6144 # 'DanS' as dword
@AbhiAbzs
AbhiAbzs / Automapper Configuration.md
Created March 20, 2023 07:43
Automapper configuration for Asp.Net core 3.1/ Asp.Net 6

For configuring AutoMapper:

  1. Create a MappingConfig Profile Class
  2. Then create a static Function returning MapperConfiguration
Public static MapperConfiguration RegisterMaps()
{
  var mappingConfig = new MapperConfiguration(config => {
 // Create all mapping between classes
@AbhiAbzs
AbhiAbzs / ConstVar.cs
Last active June 5, 2022 12:04
[Used for ParserUtility] Regular expression Strings used for parsing syntax related to Power Language & evaluate using CodingSeb.ExpressionEvaluator library
public static class Constvar
{
#region Regular expression Strings
public static string Ismethod => @"[a-zA-Z]+[a-zA-Z0-9]*(\((?:`[()]|[^()]|(\1))*\))"; //to detect the function call
public static string regohlc => "(h|H|o|O|l|L|c|C)\\[\\d+\\]"; // to detect if any OHLC like o[0],h[0],l[0],c[0]
public static string regVarInOHLC => @"(O|o|H|h|L|l|C|c)\[[a-zA-Z]+[a-zA-Z0-9]*([-+/*]{1}[a-zA-Z0-9]+)*\]"; // to detect if any variable in OHLC like o[con1],h[cont],l[index]
//public static string exprsn => "\\w(?:\\s[+*]\\s\\w)";
public static string exprsn => "\\w(?:\\s[-+/*]\\s\\w)"; // to detect the aithmatic operations
public static string rego => "(o|O)\\[\\d+\\]"; // to detect only Open array like o[0]
public static string regh => "(h|H)\\[\\d+\\]"; // to detect only High array like h[0]
//Uses package "microsoft.identitymodel.tokens"
var tokenStr = @"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkN0VHVoTUptRDVNN0RMZHpEMnYyeDNRS1NSWSJ9.eyJhdWQiOiI3YjFjZTFhZC1hZjE1LTRlNWYtOWFlNC1hYWYwYTY4YTdhYjQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vZThlNmQwMTgtYTgzNC00MDZiLTlmNDMtMmU5NGFlNDI1ODc2L3YyLjAiLCJpYXQiOjE1ODkyODQ2OTEsIm5iZiI6MTU4OTI4NDY5MSwiZXhwIjoxNTg5Mjg4NTkxLCJhaW8iOiJBVVFBdS84UEFBQUEyNWpRNzJBc3IyWHBYMEJlUkZRNU1lTTdSLy8zbnpIbUxDUHNYekJYRWZpSGlkQWM4Y0RPNHJoUUVEdk56OWtnRTdPK1pYbmxNTTVRNmk4RjZYY0hLZz09IiwibmFtZSI6IlZpamFpIEFuYW5kIFJhbWFsaW5nYW0iLCJub25jZSI6IjY1OWM5MjU0LTQyN2YtNDg5MC05ODQ5LTU0ZTk1Yjc0NDYyNCIsIm9pZCI6ImU2YmFkYTg2LTk4NDktNGFhNC1hZWQ0LTg5YzZlZmE5YTc0MSIsInByZWZlcnJlZF91c2VybmFtZSI6InZpamFpYW5hbmRAQzk4Ni5vbm1pY3Jvc29mdC5jb20iLCJzdWIiOiJIdjhtQ3RDVkx1NW8wYklrSDJVd2RCTnVUWTlqeC1RNUU4LTVuYU5pdkFJIiwidGlkIjoiZThlNmQwMTgtYTgzNC00MDZiLTlmNDMtMmU5NGFlNDI1ODc2IiwidXRpIjoiVml0alZEcVh5RS0yaWNLQUlRT19BQSIsInZlciI6IjIuMCJ9.UAT3FkgCBYqM7Mfux1V-yF1QTqg0Dlz4Y2G8VQqNqg3WXWdQWf8v4MHcrZVzy
@AbhiAbzs
AbhiAbzs / Nextcloud-Pi3-Setup.md
Created November 13, 2021 10:41 — forked from ronau/Nextcloud-Pi3-Setup.md
Nextcloud on Raspberry Pi 3 Setup

Nextcloud on Raspberry Pi 3 Setup

This manual describes how to setup a Raspberry Pi 3 with nginx, PHP 7.0, MariaDB and use it as a Nextcloud server. Strong TLS encryption with Let's Encrypt certificates is also used. Of course, Owncloud can be used instead of Nextcloud. As of February 2017, the installation instructions are basically the same.

Useful links and knowledge sources for this step-by-step manual

@AbhiAbzs
AbhiAbzs / docker.md
Created November 6, 2021 10:46 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary