Skip to content

Instantly share code, notes, and snippets.

@jamm1985
jamm1985 / .vimrc
Last active December 14, 2023 03:30
Vim configuration as Python IDE (and also C, tex/latex and Julia)
" -- global section --
" colors
syntax enable
" colorscheme vimbrains "~/.vim/colors/vimbrains.vim (fallback colors)
" modern vim
set nocompatible
set backspace=indent,eol,start
@agoldst
agoldst / contacts_query.sh
Last active November 28, 2023 01:15
Query macOS contacts for mutt
#!/bin/bash
#
# contacts_query.sh
# Andrew Goldstone, July 2017. All yours to use or modify, but no promises.
#
# The mutt e-mail client has an option to query an external address book for
# e-mail addresses. On a Mac it is nice to be able to query the Address Book
# (now known as Contacts). For a while I used a utility called contacts
# (http://gnufoo.org/contacts) but this stopped working under Sierra. There is
# an official API for querying Contacts as a unified datastore, but it is only