Skip to content

Instantly share code, notes, and snippets.

View koolara's full-sized avatar
🏠
Working from home

koolara

🏠
Working from home
View GitHub Profile
@b-Tomas
b-Tomas / lofree-fn-fix.sh
Created May 3, 2025 16:27
Lofree Flow Lite fn keys Linux permanent fix
# Fixes the fn row key for Lofree keyboards on Linux.
# Non-permanent fix: https://github.com/alexeygumirov/lofree-flow-fn-fix/blob/main/lofreemodefix
echo 'options hid_apple fnmode=2' | sudo tee /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u
// ==UserScript==
// @name arxiv论文转markdown拷贝到剪贴板
// @description 方便粘贴到 chatgpt 进行问答
// @namespace github.com/taowen
// @match https://ar5iv.labs.arxiv.org/*
// @match https://browse.arxiv.org/html/*
// @match https://arxiv.org/html/*
// @version 1.0.1
// @author taowen
// @license MIT
@bp2008
bp2008 / windows_font_rendering.md
Created May 14, 2022 05:48
How to change Windows font rendering / cleartype / subpixel antialiasing for displays with BGR, WRGB, and other subpixel layouts.

Purpose

Most computer monitors use an "RGB" subpixel layout, so most computer software (including Windows itself) optimizes its text rendering to look good on this kind of display. However this kind of optimization starts to become undesirable in many situations, where it causes color fringing to appear around text.

Changing font rendering settings in Windows

Method 1: ClearType Tuner

Use the ClearType tuner: Windows > Settings > search: Cleartype