Skip to content

Instantly share code, notes, and snippets.

View AndnixSH's full-sized avatar
💭
Busy

AndnixSH

💭
Busy
  • Android Modding
View GitHub Profile
@AndnixSH
AndnixSH / build-all-android.sh
Created March 31, 2023 11:29
Improved Android cryptopp script for building multiple architectures
#!/usr/bin/env bash
# Improved Android cryptopp script for building multiple architectures
for arch in armeabi-v7a arm64-v8a x86 x86_64
do
source /media/dell/1FC25DDD39B5C168/Project/cryptopp/TestScripts/setenv-android.sh 22 $arch
if [ "$?" -eq "0" ]; then
make -f GNUmakefile-cross distclean
make -f GNUmakefile-cross static dynamic
@AndnixSH
AndnixSH / qnap_standby_debug.sh
Last active November 16, 2023 00:57
QNAP standby debug fix
# https://www.qnap.com/en/how-to/faq/article/how-do-i-find-out-which-process-prevents-the-hard-drives-from-standby-mode
# wget https://eu1.qnap.com/Storage/tsd/utility/standby_debug.sh;sh standby_debug.sh
binary=""
case "$(uname -m)" in
*x86_64*)
echo "Arch: x86_64"
binary=https://download.qnap.com/Storage/tsd/utility/Disk_Standby_Debug_x86_64/Disk_Standby_Debug
;;
@AndnixSH
AndnixSH / xorg.conf
Last active May 3, 2024 18:54
This config allows you to start desktop environment and enable GPU acceleration without monitor connected. Official Nvidia driver is required if you use Nvidia card. NO DUMMY DISPLAY PLUGS REQUIRED
# By default, desktop environment won't start unless you connect your monitor
# This config allows you to start desktop environment and enable GPU acceleration without monitor connected. Official Nvidia driver is required if you use Nvidia card.
# NO DUMMY DISPLAY PLUGS REQUIRED
# Save the file to /etc/X11/xorg.conf
# Disable "Allow Flipping" in Nvidia settings to fix desktop flickering
# Tested on Linux Mint 21 with AnyDesk remote desktop
# GPU: NVIDIA GeForce GT 710
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
@ahmedosama007
ahmedosama007 / FlatTextBoxDesigner.vb
Created October 18, 2022 04:48
Flat TextBox control based on the System.Windows.Forms.TextBox that supports themes including custom border colors in normal and focused states
'Copyright (c) Smart PC Utilities, Ltd.
'All rights reserved.
#Region "References"
Imports System.Windows.Forms.Design
#End Region
Friend Class FlatTextBoxDesigner
@AndnixSH
AndnixSH / main.cpp
Created August 24, 2022 17:08 — forked from codenulls/main.cpp
A simple GTA:SA ASI mod to restore health of local player by pressing the R key on keyboard.
#include "plugin.h"
#include "common.h"
#include "CHud.h"
#include "CTimer.h"
using namespace plugin;
class RestoreHealthGTASA {
public:
RestoreHealthGTASA() {
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active August 25, 2024 13:54
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@jamesy0ung
jamesy0ung / Windows CE Product Keys
Created September 26, 2020 22:39
Windows CE Product Keys
Windows CE 4:
XVQBX-JJGYD-YJXGH-4TCMB-G6VVQ
Windows CE 5:
XVQBX-JJGYD-YJXGH-4TCMB-G6VVQ
Windows Embedded CE 6:
PYHYP-WXB3B-B2CCM-V9DX9-VDY8T
Windows Embedded Compact 7:
@xHeaven
xHeaven / CloudflareHttpHandler.cs
Created August 27, 2020 09:41
Cloudflare http handler in C# allows scraping cloudflare protected websites
using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ClearScript.V8;
@heri16
heri16 / 0-README.md
Last active August 4, 2023 16:31
Patch chrome-remote-desktop to use DISPLAY 0

Usage

curl -o- https://gist.githubusercontent.com/heri16/c64ec7a20334cc4037ab879083bed5a4/raw/chrome-remote-desktop.patch | sudo patch /opt/google/chrome-remote-desktop/chrome-remote-desktop
crd --restart
#include <iostream>
const char *vehicleNames[] = {"Landstalker", "Bravura", "Buffalo", "Linerunner", "Perennial", "Sentinel", "Dumper", "Fire Truck", "Trashmaster", "Stretch", "Manana",
"Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam", "Esperanto", "Taxi", "Washington", "Bobcat",
"Mr. Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife",
"Trailer 1", "Previon", "Coach", "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo",
"Seasparrow", "Pizzaboy", "Tram", "Trailer 2", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair",
"Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic", "Sanchez", "Sparrow", "Patriot",
"Quadbike", "Coastg