This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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)) |