Skip to content

Instantly share code, notes, and snippets.

@kairusds
kairusds / pimp-yt-player.css
Created December 25, 2023 22:03 — forked from cesalazar/pimp-yt-player.css
Hides some YouTube annoyances, and add some visual tweaking.
/* Rules for Stylus
* https://addons.mozilla.org/en-US/firefox/addon/styl-us/
*/
/* Hide the annoying (i) button on the top-right corner */
.ytp-chrome-top-buttons {
display: none;
}
/* Display the controls and title only on hover */
@kairusds
kairusds / remove-aqw-rpc.md
Created January 19, 2024 04:52
Remove Discord Rich Presence from Salsicha / Private AQW servers on PC
  1. Close the private server you're playing on first.
  2. Install the latest release of ffdec for your operating system.
  3. Download the portable launcher (the No Install Required button) for the private AQW of your choice (RedHero, RedAQ, etc.).
  4. Extract the portable launcher's files somewhere.
  5. Open ffdec.
  6. Ignore all the dialogs that will appear at first, then click Open at the top left of the ffdec window.
  7. Find the location of where you extracted the files from step 3 and choose the Desktop.swf file.
  8. Click the + icon on the left of the scripts folder icon from the left side of the screen, and once it's expanded, click the + icon from the left of Device again, and finally click AIRDesktop from the expanded menu.
  9. Click Edit ActionScript on the bottom middle of the screen and press OK.
  10. Replace the code inside of the editor with this code:
@kairusds
kairusds / cs1.6-xash3d-linux-server.md
Last active June 5, 2025 15:25
Setup a dedicated server for Xash3D CS1.6 on Linux

Setup a Dedicated Server for Xash3D-FWGS CS1.6 on Linux

If you need metamod, compile Metamod-R

cd ~

# Install build dependencies on Ubuntu/Debian
sudo dpkg --add-architecture i386
sudo apt-get update
@kairusds
kairusds / cs_source_server_2017compat.md
Last active June 7, 2025 21:06
Counter Strike: Source Dedicated Server compatible with the leaked Source Engine 2017 branch

Build leaked Source Engine

# Ubuntu and Debian
sudo apt update
sudo apt upgrade
sudo dpkg --add-architecture i386
sudo apt update 
sudo apt install build-essential gcc-multilib g++-multilib libedit-dev lib32z1-dev lib64z1-dev git libsdl2-dev:i386 libfreetype6-dev:i386 libfontconfig1-dev:i386 libopenal-dev:i386 libjpeg-dev:i386 libpng-dev:i386 libcurl4-gnutls-dev:i386 libbz2-dev:i386 libedit-dev:i386 libopus-dev python3 python-is-python3 python3-venv