Skip to content

Instantly share code, notes, and snippets.

View AndnixSH's full-sized avatar
💭
Busy

AndnixSH

💭
Busy
View GitHub Profile
@AndnixSH
AndnixSH / disk-speed-test-read-write-hdd-ssd-perfomance-linux.md
Created December 16, 2023 10:54 — forked from ntamvl/disk-speed-test-read-write-hdd-ssd-perfomance-linux.md
Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

From this article you’ll learn how to measure an input/output performance of a file system on such devices as HDD, SSD, USB Flash Drive etc.

I’ll show how to test the read/write speed of a disk from the Linux command line using dd command.

I’ll also show how to install and use hdparm utility for measuring read speed of a disk on Linux Mint, Ubuntu, Debian, CentOS, RHEL.

Take the average result: To get the accurate read/write speed, you should repeat the below tests several times (usually 3-5) and take the average result.

@AndnixSH
AndnixSH / windows-keys.md
Created December 5, 2023 18:04
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

[armeabi-v7a] Compile++ arm : ab <= SymbolFinder.cpp
fatal error: error in backend: Do not know how to promote this operator's operand!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: D:/AndroidSDK/ndk/26.1.10909125/build/../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF F:\\Mobile-Modding\\AMain-Android-Hooking-Project\\/obj/local/armeabi-v7a/objs/ab/Substrate/SymbolFinder.o.d -target armv7-none-linux-androideabi22 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot D:/AndroidSDK/ndk/26.1.10909125/build/../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -O2 -DNDEBUG -IF:/Mobile-Modding/AMain-Android-Hooking-Project//jni/JNI -IF:/Mobile-Modding/AMain-Android-Hooki
@AndnixSH
AndnixSH / FlatTextBoxDesigner.vb
Created May 8, 2023 17:06 — forked from ahmedosama007/FlatTextBoxDesigner.vb
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
#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
@AndnixSH
AndnixSH / Real Racing.cpp
Created April 8, 2023 15:10 — forked from Razzile/Real Racing.cpp
Real Racing Cheats. see code for description. By Razzile
/**************************************************************
**************************************************************
* Real Racing Mods
* Includes: Lots of money, lots of coins, high rank
* All tracks unlocked, All tiers unlocked
* Just comment out any hacks you don't want to compile
* *********************Created by razzile*********************
**************************************************************/
#include <substrate.h>
@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 / xorg.xonf
Last active March 24, 2023 21:17
A generated xorg.conf for xrdp
# Location: /etc/X11/xrdp/xorg.conf
Section "ServerLayout"
Identifier "X11 Server"
Screen "Screen (xrdpdev)"
InputDevice "xrdpMouse" "CorePointer"
InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection
Section "ServerFlags"
@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