Skip to content

Instantly share code, notes, and snippets.

View jgraham909's full-sized avatar

Jeff Graham jgraham909

View GitHub Profile
@jgraham909
jgraham909 / 57-add-emoji-support.conf
Created May 29, 2024 18:57 — forked from kylewlacy/57-add-emoji-support.conf
Add Emoji to Linux Fontconfig (edited to fix broken fonts for Zoom video conference)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Author: Santiago Saavedra <[email protected]>, Kyle Lacy
License: CC0
Year: 2016-2017
Install:
Copy to $XDG_CONFIG_DIR/fontconfig/conf.d/57-add-emoji-support.conf
Run fc-cache -f
@jgraham909
jgraham909 / fileLines2Array.sh
Created January 6, 2016 23:36 — forked from akwala/fileLines2Array.sh
Bash function to read the lines of a file into an array using the builtin, mapfile.
#!/bin/bash
### Pretty-print dedicated (array) var, MAPFILE.
prettyPrintMAPFILE() {
let i=0
echo "[MAPFILE]"
for l in "${MAPFILE[@]}"
do
echo "$i. |$l|"
let i++
done