Skip to content

Instantly share code, notes, and snippets.

@SohamG
SohamG / fonts.conf
Last active March 13, 2024 13:09
Fix emoji in Linux and get color emoji in Discord! Place this fontconfig file in ~/.config/fontconfig/fonts.conf
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- REQUIRES Noto fonts (along with Noto Color Emoji)
run `fc-list | grep -i -e "noto sans" -e "noto serif" -e "noto color emoji"` to confirm
-->
<!-- Change the string in the family tag to whatever font -->
<family>serif</family>
<prefer><family>Noto Serif</family></prefer>
</alias>
@obrodinho
obrodinho / README.md
Created February 12, 2019 14:56
[Arch] Install TTF Fonts from Windows 10

Micro Intro

Arch is great and its wiki covers most use cases. This is just a reminder that what works and which newbie tricks are required to get and install these fonts.

Read https://wiki.archlinux.org/index.php/Microsoft_fonts.

Fastest way, but NOT VERIFIED

https://github.com/fphoenix88888/ttf-mswin10-arch This package holds all files nedded to install win10 ms fonts. These are just the pacman-cache-install-ready-sort-of-a-files. They are in the form of: ttf-ms-win10-10.0.17763.1-1-any.pkg.tar.xz, and they are the result of a succesful makepkg

@briandominick
briandominick / asciidoc-static.adoc
Last active June 25, 2024 14:26
Static Site Generators with AsciiDoc Support

There are 28 static site generators that support AsciiDoc sourcing.

@sjrogers
sjrogers / calibre_last_accessed.md
Last active April 25, 2024 01:08
How To Add "Last Accessed" Column In Calibre

How To Add "Last Accessed" Column In Calibre

Calibre does not keep track of the last time you opened a book, but your filesystem does. Or at least, it kinda does. Thankfully you can use Calibre template functions and custom columns to make use of this information.

Step 1: Create Template Function

  1. Go to Preferences -> Advanced -> Template Functions
  2. Select the Function field at the bottom left of the window