Skip to content

Instantly share code, notes, and snippets.

View jtuz's full-sized avatar

Jacob Tuz Poot jtuz

View GitHub Profile
@jtuz
jtuz / fix-infinality.md
Created January 3, 2023 06:46 — forked from cryzed/fix-infinality.md
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Screenshots

Results after following the guide as of 11.01.2017 13:08:

@jtuz
jtuz / launch.json
Last active March 6, 2024 04:21
Launch DAP / Remote Template
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to CS Backend",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
@jtuz
jtuz / local_settings.py
Last active September 16, 2022 17:32
Enable Json format on develop environment
# install python-json-logger==0.1.11
from .defaults import *
ENVIRONMENT = "local"
LOGGING["formatters"]["json"] = {
"class": "pythonjsonlogger.jsonlogger.JsonFormatter",
}
LOGGING["handlers"]["json"] = {
{
"include": [ //optional
"function",
"/home/jtuzp/.pyenv/versions/cv-eto"
],
"exclude": [
"cassetes",
"data",
"docs",
"infraestructure",
@jtuz
jtuz / keychron_linux.md
Created October 21, 2021 03:17 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux (+ Bluetooth fixes)

Here is the best setup (I think so :D) for Keychron + Linux

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

In order to change this, you need to change the fnmode parameter for the hid_apple kernel module. Here's some documentation on it, but a quick summary can be found below:

Keybase proof

I hereby claim:

  • I am jtuz on github.
  • I am jtuzp (https://keybase.io/jtuzp) on keybase.
  • I have a public key ASBMuVGO85GdurGfu8dyfJSdu94o6072z9Sp8GZiCVh4Tgo

To claim this, I am signing this object: