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 / 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

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 / Cargo.toml
Created May 30, 2024 09:16 — forked from ftk/Cargo.toml
http mitm proxy. Simple http proxy to modify Range: http headers. Can be used to speed up youtube in mpv
# To generate mitm cert and key:
# openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -passout pass:"third-wheel" -subj "/C=US/ST=private/L=province/O=city/CN=hostname.example.com"
# see: https://github.com/campbellC/third-wheel
[package]
name = "http-ytproxy"
version = "0.1.0"
edition = "2021"
@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
@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 / valve_delete.md
Created July 9, 2025 20:46 — forked from Kaldaien/valve_delete.md
Why I Deleted My Steam Account After 20 Years

Why I Deleted My Steam Account After 20 Years

Some may know me from over a decade worth of modding broken, under-performing or otherwise inconvenient aspects of PC ports. Dedicated users of Special K also know that I have spent as much time battling problems caused by Steam as I have defects in the games themselves.

My experience with PC gaming goes back a further two decades, to the days of shareware, dialing into a BBS to get game patches / user generated content and tedious DRM fetch-quests involving physical game manuals. I was irritated when Half-Life 2 shipped on PC and required a dedicated piece of software to satisfy DRM and patch the game, but at the time these were minor inconveniences. Valve tried to quell concerns of software preservation with the first of a long series of lies wherein they claimed to have a contingency plan for the DRM scheme reaching end-of-life.

   Steam's DRM scheme has reached end-of-life multiple times without the promised parachute.

In 2002, the cl