Skip to content

Instantly share code, notes, and snippets.

View wilderjds's full-sized avatar

Jacopo De Simoi wilderjds

View GitHub Profile

Resolving blocks when updating Qt on gentoo

Occasionally, updating Qt across minor versions causes some conflicts. The solution is to uninstall all Qt ebuilds and rebuild the new ones. Here is how to do that in a semi-automated way

eix --only-names -IC dev-qt > ~/installed-qt
emerge -Ca $(cat ~/installed-qt;  emerge -av1 $(cat ~/installed-qt)
rm ~/installed-qt

Add M-{ binding to zsh

Adding this line in .zshrc will cause inserting a pair of {} and putting the cursor between the brackets when typing M-{

bindkey -s '^[{' '{}^B'

How to add an extra url to a given remote in git

Use this command to add another url to the same remote in git; pushing will update all repositories.

git remote set-url origin --add --push git@some-host.com:alfunx/foo

Source

@wilderjds
wilderjds / fix-luajitlatex.org
Last active October 1, 2019 14:46
How to enable luajitlatex on gentoo and texlive-2019
@wilderjds
wilderjds / keyboard-scene.blend
Last active September 24, 2020 15:52
Scene file for importing keyboards with kle-render