npm Without Sudo

Published | Read More

Recently, I have to re­in­stall npm. It’s a good time to jot down how to in­stall npm lo­cally so that no sudo is re­quired when us­ing npm.

SDL2 Renderer Error

Published | Read More

Long story short, re­mem­ber to re­boot af­ter up­dat­ing the graph­ics dri­ver, es­pe­cially be­fore do­ing de­vel­op­ment in SDL2.

Upgrading Tex Live

Published | Read More

Here is a memo for up­grad­ing Tex Live.

Icon Size in Xfce 4 Window Buttons

Published | Read More

I’ve just fig­ured out how to change the icon size for Xfce 4 win­dow but­tons in task list.