Skip to content

Instantly share code, notes, and snippets.

View systemsoverload's full-sized avatar

TJ Kells systemsoverload

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

@keeth
keeth / gist:a58afe01b31f431aa878
Last active April 6, 2016 02:05
Install pygit2 0.22.0 on a minimal Ubuntu Trusty
apt-get install -y pkg-config python-pip git libssl-dev zlib1g-dev cmake python-dev libffi-dev libssh2-1-dev
git clone https://github.com/libgit2/libgit2 \
&& cd libgit2 \
&& git checkout tags/v0.22.0 \
&& mkdir build \
&& cd build \
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
&& cmake --build . --target install \
&& cd ../..
@martinseener
martinseener / postgresql_9.1_to_9.3_on_ubuntu_debian
Last active March 14, 2017 10:17 — forked from mdpatrick/postgresql_9.1_to_9.3_on_ubuntu_12.04
Small pg_upgrade HowTo for Debian and Ubuntu for PG 9.1 to 9.3 (also works for other versions as well)
# Probably excessive, but it makes these instructions simpler
sudo -i
# Add postgresql repo and update apt listing
echo "deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main" > /etc/apt/sources.list.d/pgdg.
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
apt-get update
# For some reason this is necessary with PostgreSQL on Ubuntu 12.04
update-alternatives --remove postmaster.1.gz /usr/share/postgresql/9.1/man/man1/postmaster.1.gz