Skip to content

Instantly share code, notes, and snippets.

@mrkgnao
mrkgnao / IosevkaConfigGen.hs
Last active November 8, 2022 18:28
Render Iosevka ligatures to Private Use Area glyphs, for Emacs
{-# LANGUAGE RecordWildCards, Arrows #-}
import Numeric
import Data.Char
import Control.Monad
import Data.Monoid ((<>))
import Data.List (nub, sort, reverse)
data RepeatBounds = RB
@the-ted
the-ted / tw-org-where.el
Last active March 9, 2018 21:20
Display where you are in your org tree
(require 'cl)
(defun org-get-header-list (&optional buffer)
"Get the headers of an org buffer as a flat list of headers and levels.
Buffer will default to the current buffer.
Thanks to http://emacs.stackexchange.com/questions/17622/how-can-i-walk-an-org-mode-tree
for this function!
"
@ncordon
ncordon / TeX-for-Telegram.user.js
Last active August 31, 2017 17:47
GreaseMonkey extension to render Latex only in window of sent messages
// ==UserScript==
// @name TeX for Telegram
// @namespace https://ncordon.github.io/
// @description Allows LaTeX messages in Telegram Desktop
// @version 1
// @include https://web.telegram.org/*
// @grant none
// @license WTFPL
// ==/UserScript==
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.