Skip to content

Instantly share code, notes, and snippets.

View AndnixSH's full-sized avatar
💭
My notifications is disabled. I only check my repos when I have time

AndnixSH

💭
My notifications is disabled. I only check my repos when I have time
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 October 16, 2024 10:12
Start desktop environment and enable GPU acceleration without monitor connected without dummy display plugs
# By default, desktop environment won't start unless you connect your monitor
# This config is for Nvidia only. It allows you to start desktop environment and enable GPU acceleration without monitor connected. Official Nvidia driver is required.
# 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 October 27, 2025 03:47
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!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


@FabulousCupcake
FabulousCupcake / windows-bluetooth-autoconnect.md
Created August 27, 2021 18:49
Actually Disabling Bluetooth Autoconnect on Startup in Windows

Actually Disabling Bluetooth Autoconnect on Startup in Windows

Situation

I use multiple devices with my bluetooth earphone connected to my mac machine, phone, or tablet.
When I boot my windows machine, it automatically connects to and snatches my bluetooth earphone. This is very annoying.

Results from google on ways to disable this are unhelpful:

  • Unpair the device (???)
  • Disable bluetooth support system service via services.msc
  • Disable the device via Device Manager
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active December 6, 2025 22:39
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2025-11-23

@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;