Skip to content

Instantly share code, notes, and snippets.

@RyanGreenup
RyanGreenup / agenda-bindings.org
Created August 30, 2020 04:23
Org Agenda Bindings

Org Agenda Bindings

C-k
org-agenda-kill
C-n
org-agenda-next-line

Using TikZ in Markup Languages

Introduction

So consider the tikz code at listing tikz-eg1 and figure Tikz-out1:

@RyanGreenup
RyanGreenup / test.org
Created June 23, 2020 00:10
Example of Markup

Browsing Yaml Tags

In order to browse YAML tags just search for the verbatim structure with ripgrep, in this context YAML tags are only used to set up notebook directories, so they will always be nested with / characters, hence the number of false positives will be small enough to justify this simplicity:

  cat 00tags.csv  | rg '[a-zA-Z0-9]+/[a-zA-Z0-9/]+'  | fzf | xargs rg -l > /tmp/kdkdjaksd;
  cat /tmp/kdkdjaksd
# I couldn't get a pipe to work so I had to save to /tmp
@RyanGreenup
RyanGreenup / Fix-MD-Links-Script.sh
Last active June 20, 2020 05:09
Fix Markdown Links if they have a unique name
@RyanGreenup
RyanGreenup / EmacsEmail.org
Created May 3, 2020 01:29
Export Email from Emacs with Formatting

Export Email from Emacs

How to export email from Emacs:

Define a function to export email:

(defun export-email ()
  (interactive)
  (message "Beginning Email Export")
  (yank-visible-org-buffer)
  (call-eml)
@RyanGreenup
RyanGreenup / NotableCustomCss.md
Last active February 7, 2022 16:17
Implementing Custom and Persistent CSS for Notable

Custom CSS in Notable

Tue 21 Jan 2020 08:20:34 PM

Custom CSS can be used in Notable by using the ! important specification in the CSS.

First download and extract the .AppImage with: [^1]

wget https://github.com/notable/notable/releases/download/v1.8.3/Notable-1.8.3.AppImage
chmod +x ./Notable-1.8.3.AppImage