Skip to content

Instantly share code, notes, and snippets.

View lmccalman's full-sized avatar

Lachlan McCalman lmccalman

View GitHub Profile
@cryzed
cryzed / fix-infinality.md
Last active June 12, 2024 20:50
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:

@espringe
espringe / we-need-a-better-way.md
Last active December 17, 2015 23:39
Call for a better way to share and use code

We need a way way better way of simply publishing and using simple libraries, functions, classes etc.

Or for people who prefer a convoluted example:

I wanted to add a precondition to my function that every element is unique. If there's a duplicate, a helpful assert should crash the program (in dev mode, at least).

A quick hackish solution might be to use (scala's) standard library, with: