Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/bash
# echo $1
# ~~b/w/x/cr~~ € < Q137641294 #pp/k/b/c/d
# an-S() {
# cpdf -list-annotations-json "$1" | jq '.[][]["/Contents"]?["U"]? | select( . != null )' | grep --color=always -P "$2"
# }
NORMAL=$(tput sgr0)
BRIGHT=$(tput bold)
POWDER_BLUE=$(tput setaf 153)
BLUE=$(tput setaf 4)
cd
#. .bashrc
mkdir -p ~/bk/an/
export COPY_FILE="true"
#. ~/Nextcloud/sh/cp/at-cp.sh
# 2025-12-31T15;39;29,01;00
# S="$1"
# E=0
IFS=$'\n'
@SuperCowProducts
SuperCowProducts / .emacs
Last active January 1, 2026 16:23
[UPDATED 2025] Keyboard shortcuts for color annotations in `pdf-tools` for `emacs`
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(blink-cursor-mode -1)
(pdf-tools-install) ;;(pdf-loader-install) ; On demand loading, leads to faster startup time