Skip to content

Instantly share code, notes, and snippets.

View garoto's full-sized avatar
💭
All I wanted was an Atari 2600

garoto

💭
All I wanted was an Atari 2600
View GitHub Profile
@garoto
garoto / Arch Secure Laptop Install.md
Created August 29, 2026 22:01 — forked from Th3Whit3Wolf/Arch Secure Laptop Install.md
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs
@garoto
garoto / Pichau-Realtek-PEQ_2026.eapo
Created August 1, 2026 03:54
Equalizer APO config
Stage: pre-mix
If: inputChannelCount <= 2
Copy: L2=L R2=R
Channel: L2 R2
Filter: ON HP Fc 200 Hz
Filter: ON LP Fc 2000 Hz
Delay: 85ms
Channel: L R
Preamp: -0.2 dB
@garoto
garoto / Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Created January 25, 2026 22:31 — forked from rstewa/Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON/ENABLED via LordOfMice/Hidusbf

Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON via LordOfMice/Hidusbf for Windows 10/11

Guide created by rstewa35

Update 12/14/24

Removed the registry steps since the drivers are now signed. This should allow you to use hidusbf without affecting secure boot. If you still want to see them, look at the previous revision of this guide.

Warning

Uninstall Microsoft Edge

Important

Working on the latest supported Windows versions. Run Windows Update before following this guide.

1. Open Powershell > RUN AS ADMIN

2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter

3. Microsoft Edge will be completely uninstalled.

@garoto
garoto / CVE-2025-50753.txt
Created October 1, 2025 21:27 — forked from geraldog/CVE-2025-50753.txt
CVE-2025-50753 - Mitrastar GPT-2741 GNAC-N2 root privilege escalation
## Correction Notice: CVE-2025-50753 Exploit Method
**Important:** The CVE description incorrectly omits
the required newline character.
The correct command argument to gain root access on
Mitrastar GPT-2741 GNAC-N2 devices is:
"\n/bin/sh"
@garoto
garoto / doskey.mac
Last active May 20, 2026 19:35
doskey macros
ip2hex=busybox.exe sh -c "bar=$1; printf 'IPv4 %s in Hex: 0x%02X%02X%02X%02X\n' $$bar $${bar//./\ }"
svc?=@rg --color=never -N -B1 -A9 ".Services and Drivers Start numbers:" C:\Users\username\windows_win10_decrap_and_notes.txt
mpv2=cmd /d /c "setlocal & set "MPV_HOME=" & C:\Apps\AV\mpv2\mpv.com $*"
lastboot=powershell.exe -command "(Get-Ciminstance -Class "Win32_operatingsystem" -Namespace "ROOT\CIMV2").lastbootuptime[0]"
ss2=C:\Apps\AV\mpv\mpv.exe --profile=sw-fast --scale=nearest --cache=no --pause --osc=no --video-osd=no --load-scripts=no --fs-screen=1 --fs --stop-screensaver=no av://lavfi:color=size=1280x720:c=black $*
nicbr=busybox echo $1 | C:\BIN\nc.openbsd\netcat.exe -v whois.registro.br 43 | busybox iconv -f CP1252 -t UTF-8
ipc=rg changed %home%/ddns.log | busybox tail
im=C:\Apps\GFX\ImageMagick-7.1.1-Q8\magick.exe $*
stdby=typeperf -si 0 -sc 1 "NUMA Node Memory(_Total)\Free & Zero Page List MBytes"
micro=busybox printf \x1b[?1049h & micro "$*" & busybox printf \x1b[?1049l
@garoto
garoto / twitter_oauth.sh
Created November 15, 2024 04:25 — forked from cmj/twitter_oauth.sh
Grab oauth token for use with Nitter (requires Twitter account)
#!/bin/bash
# Grab oauth token for use with Nitter (requires Twitter account).
# results: {"oauth_token":"xxxxxxxxxx-xxxxxxxxx","oauth_token_secret":"xxxxxxxxxxxxxxxxxxxxx"}
# verified: 2024-11-14
username=""
password=""
if [[ -z "$username" || -z "$password" ]]; then
echo "needs username and password"
@garoto
garoto / _ busybox portable how-to.md
Created July 2, 2024 16:19 — forked from d-faure/_ busybox portable how-to.md
How-to make a busybox-w32 installation more or less portable

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@garoto
garoto / disable-defender.bat
Created May 17, 2023 12:41 — forked from tranphuquy19/disable-defender.bat
Disable Windows Defender scripts
@echo off
rem A modified version of the disable defender script from: https://pastebin.com/kYCVzZPz
@echo on
rem ==========================================
rem This section will Disable Windows Defender
rem You can ignore error messages
rem 1 - Disable Real-time protection
reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f