Skip to content

Instantly share code, notes, and snippets.

💭
A vida é dura pra quem é mole, a vida é mole pra quem é duro

Jean Louis Salbego jlouiss

Block or report user

Report or block jlouiss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cryzed
cryzed / fix-infinality.md
Last active May 9, 2019
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.
View fix-infinality.md

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:

@tacionery
tacionery / postgres_guide
Last active Jan 25, 2019
install postgresql on antergos
View postgres_guide
# uninstall postgresql if necessary
$ sudo pacman -R postgresql postgresql-libs
# remove postgres files
$ sudo rm -rfv /var/lib/postgres
# proceed with the installation
$ sudo pacman -S postgresql postgresql-libs
# setup password for postgres
$ sudo passwd postgres
@staltz
staltz / introrx.md
Last active May 25, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
@hendriklammers
hendriklammers / splitString.js
Last active Jan 8, 2019
Javascript: Split String into size based chunks
View splitString.js
/**
* Split a string into chunks of the given size
* @param {String} string is the String to split
* @param {Number} size is the size you of the cuts
* @return {Array} an Array with the strings
*/
function splitString (string, size) {
var re = new RegExp('.{1,' + size + '}', 'g');
return string.match(re);
}
You can’t perform that action at this time.