Skip to content

Instantly share code, notes, and snippets.

View milos-ivancevic-htec's full-sized avatar

Milos Ivancevic milos-ivancevic-htec

  • HTEC
View GitHub Profile
@milos-ivancevic-htec
milos-ivancevic-htec / 99-noto-mono-color-emoji.conf
Created October 8, 2021 13:05 — forked from IgnoredAmbience/99-noto-mono-color-emoji.conf
Noto Emoji Color fontconfig for Konsole
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Noto Mono + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Noto fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
@milos-ivancevic-htec
milos-ivancevic-htec / keybasbaseinstructions.md
Created October 5, 2021 12:06 — forked from webframp/keybase.md
Signing git commits on github using keybase.io gpg key

Probably one of the easiest things you'll ever do with gpg

Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

@milos-ivancevic-htec
milos-ivancevic-htec / keybase-git-setup.md
Last active April 16, 2022 10:12 — forked from sinewalker/keybase.md
How to import pub/sec PGP keys from keybase to your local GPG keyring.

Import Keybase PGP to GPG

After installing the keybase command-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.

Import your PUBLIC PGP key:

keybase pgp export|gpg --import -
@milos-ivancevic-htec
milos-ivancevic-htec / Demo: String Templates in Bash .md
Created August 17, 2021 10:44 — forked from Jeff-Russ/Demo: String Templates in Bash .md
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.