Skip to content

Instantly share code, notes, and snippets.

@djalexkidd
djalexkidd / scroll.md
Last active July 27, 2025 17:08
Disable hi-resolution scrolling on Linux

If your mouse wheel behaves weirdly in games, you may need to disable high resolution scrolling in modprobe or xinput/libinput settings. This is a common problem on Logitech gaming mouses.

Method 1 : Using modprobe

  1. Unload "hid_logitech_hidpp" kernel module
sudo modprobe -r hid_logitech_hidpp
@romainl
romainl / grep.md
Last active April 27, 2025 01:19
Instant grep + quickfix

FOREWORDS

I don't mean the snippet at the bottom of this gist to be a generic plug-n-play solution to your search needs. It is very likely to not work for you or even break things, and it certainly is not as extensively tested and genericised as your regular third-party plugin.

My goal, here and in most of my posts, is to show how Vim's features can be leveraged to build your own high-level, low-maintenance, workflows without systematically jumping on the plugins bandwagon or twisting Vim's arm.


Instant grep + quickfix

@sim642
sim642 / DI.m3u
Created July 5, 2015 12:52
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi