Skip to content

Instantly share code, notes, and snippets.

(require 'citar)
(defvar bibtex-note-org-property "Key"
"The org-mode property which BibTeX keys are attached to")
(defun get-first-citar-notes-path ()
"Return 'citar-notes-paths' if it is a string, or its car
if it is a list (as 'citar' normally expects)"
(cond ((stringp citar-notes-paths) citar-notes-paths)
((listp citar-notes-paths) (car citar-notes-paths))
#!/usr/bin/env python3
import argparse, os.path, string, sys
def parseArgs():
parser = argparse.ArgumentParser(
description='A small, simple encrypter and decrypter.')
parser.add_argument('keys', nargs='+',
help='variable number of keys to encrypt with')
parser.add_argument('-i', '--infile',