You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The best way to create a multiline document template (shell)
Demo: String Templates in Bash
The best way to create a multiline string template variable which has
variables within it and contains double quotes.
IMPORTANT: The variable inserts must be assigned before the string template
is declared and before it's used! EACH TIME THE INSERTS ARE MODIFIED, THE
TEMPLATE MUST BE RE-RECLARED! For this reason it's sometimes handy to put
the template def inside a function so you can call/re-call it before using it.
How to import pub/sec PGP keys from keybase to your local GPG keyring.
Import Keybase PGP to GPG
After installing the keybasecommand-line tool onto a new / fresh computer,
you may want to import your PGP key to the local keyring so that you may use the
keys with GPG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.
Installing the KDE Plasma desktop
My current DE of choice is KDE's Plasma. I find it just about perfect.
There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th
Make your Arch fonts beautiful easily!
This is what I do when I install Arch Linux to improve the fonts.
You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):
Install some fonts, for example: sudo pacman -S ttf-dejavu ttf-liberation noto-fonts
Use NodeJS to read RFID ids through the USB serial stream.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters