Skip to content

Instantly share code, notes, and snippets.


尹良灿 wenLiangcan

  • China
View GitHub Profile
cryzed /
Last active Mar 2, 2021
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!


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

Arinerron / permissions.txt
Last active Mar 2, 2021
A list of all Android permissions...
View permissions.txt
toch /
Created Apr 26, 2016
a Bash script to generate docset for Zeal from a group of gems
# rubygem is required
# yard is required: gem install yard
# doc_to_dash is required: gem install doc_to_dash
TMP_DIR=$(mktemp -d)
hexchain / 51-noto-color-emoji.conf.xml
Last active Jul 7, 2020
Emoji on Linux desktop. Use with aur/cairo-coloredemoji.
View 51-noto-color-emoji.conf.xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/conf.avail/51-noto-color-emoji.conf -->
<patelt name="family"><string>Noto Color Emoji</string></patelt>
7yl4r /
Last active Jul 6, 2020
info on Java built-in exceptions from perspective of developer looking to reuse built-in exceptions

organized by estimated utility


Thrown to indicate that a method has been passed an illegal or inappropriate argument.


Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.


Thrown when the requested mathematical operation is non-sensical or impossible.

cloudRoutine /
Last active Oct 18, 2015
Build the Visual F# Compiler and Tools for .Net CoreCLR ( On Windows )

Make things easy for yourself and start by running posh as admin

If you already have dnvm installed remember to run update-self if you haven't recently

Clone and checkout the coreclr branch of Kevin Ransom's Fork of the Visual F# Compiler and Tools

Installing DNVM

You need DNVM as a starting point. DNVM enables you to acquire a (or multiple) .NET Execution Environment (DNX).

dmvaldman /
Last active Oct 30, 2020
Descartes, Berkeley and Functional Reactive Programming

Descartes, Berkeley and Functional Reactive Programming

By @dmvaldman

Functional Reactive Programming (FRP) is generating buzz as an alternative to Object Oriented Programming (OOP) for certain use cases. However, an internet search quickly leads a curious and optimistic reader into the rabbit-hole of monads, functors, and other technical jargon. I’ve since emerged from this dark and lonely place with the realization that these words are mere implementation details, and that the core concepts are far more universal. In fact, the groundwork was laid down many centuries before the first computer, and has more to do with interpretations of reality, than structuring programs. Allow me to explain.

There’s an old thought experiment that goes like this:


tevino / fix_virtualenv
Last active Jan 25, 2021
Fix python virtualenv after python update
View fix_virtualenv
#!/usr/bin/env bash
ENV_PATH="$(dirname "$(dirname "$(which pip)")")"
SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)"
echo "Ensure the root of the broken virtualenv:"
echo " $ENV_PATH"
ohanhi /
Last active Feb 22, 2021
Learning FP the hard way: Experiences on the Elm language

Learning FP the hard way: Experiences on the Elm language

by Ossi Hanhinen, @ohanhi

with the support of Futurice 💚.

Licensed under CC BY 4.0.

Editorial note

kolodny / bookmarklet.js
Last active Feb 23, 2019
Save any form to autofill for development, supports dynamic content with {{ Math.random() }} syntax
View bookmarklet.js
document.body.addEventListener('click', go);
alert('click on a form element to get a bookmarklet of the saved form');
function go(event) {
var form =;
while (form && form.tagName !== 'FORM') {
form = form.parentNode;