Skip to content

Instantly share code, notes, and snippets.

View bradleybowman's full-sized avatar

Bradley Bowman bradleybowman

View GitHub Profile
WARNING! Be very careful that you do not accidentally disable all ways that you can click. If you have reassigned your left click button to another function, and then you uncheck "Enable" on one finger tapping in the GUI, you will have to plug in an external USB mouse or remote into the machine with remote desktop (or something similar) or use Windows Speech Recognition or figure out some other way to re-check the "Enable" box under one finger tapping in the GUI in order to restore click functionality. I will not be held responsible if you do not have any of these methods available and you end up (temporarily) bricking your laptop. You have been warned. (But really, just don't uncheck that box and you will be fine).
HKEY_CURRENT_USER\Software\Elantech\SmartPad:
Button_Left; Button_Right; Tap_Two_Finger; Tap_Three_Finger; ThreeFingerMoveUp_Func; ThreeFingerMoveDown_Func:
0 Click/Select
Left click default
1 Pop-up Menu
Right Click default
2 Middle Button
@tobbez
tobbez / github_white_favicon.user.js
Last active September 16, 2023 19:11
[UserScript] GitHub: White favicon
// ==UserScript==
// @name GitHub: White favicon
// @version 1.10.0
// @author tobbez
// @match https://support.github.com/*
// @match https://github.blog/*
// @match https://opensource.guide/*
// @match https://www.githubstatus.com/*
// @match https://services.github.com/*
// @match https://desktop.github.com/*
@infval
infval / qd2fds.py
Last active June 14, 2024 00:55 — forked from einstein95/qd2fds.py
Converts between QD and FDS disk images (Family Computer Disk System / Famicom)
#!/usr/bin/env python3
"""
Converts between QD and FDS disk images
"""
import struct
def create_fds_header(side_count):
return b"FDS\x1A" + bytes([side_count & 0xFF]) + bytes(11)