Skip to content

Instantly share code, notes, and snippets.

@AndisGrossteins
AndisGrossteins / iptables-multiport.conf
Last active May 22, 2021 19:53
*DEPRECATED CODE! Please read the replies before using this code or commenting* Updated correct fail2ban for permanent and persistent bans from https://wp.me/p5Ub2q-7w because WordPress.com comments suck for code snippets.
DEPRECATED CODE!!!!1!one!!1
Please read the replies before using this code or commenting!
For a better solution, use the fail2ban's persistence SQLite database with long purge time.
See this answer on Server Fault StackExchange: https://serverfault.com/a/810798/72732
[Definition]
# Option: actionstart
# Notes.: command executed once at the start of Fail2Ban.
@kslimani
kslimani / ixgbe_debian.md
Last active April 15, 2025 08:27
Debian ixgbe module compilation
@pubkey
pubkey / corsair_headset_linux.bash
Last active October 31, 2024 00:06
Corsair Gaming VOID Headset on Linux
# Corsair headsets will stuck the apps on your linux system. This is due to wrong usb-mapping.
# thx to http://www.c0urier.net/2016/corsair-gaming-void-usb-rgb-linux-fun
# 1. open terminal
# 2. type this and search the line with your headset
lsusb
# Get the USB ID of the headset and add it to xorg.conf:
@ciarand
ciarand / README.md
Created January 24, 2014 04:43
Making xrandr modifications permanent with lightdm

Overview

xrandr is the easiest way to make a multiple display configuration work in Linux. Lightdm is my current display manager. This file explains how to make lightdm run an arbritrary script (in this case an xrandr script) on startup.

Here's the command we need: