Skip to content

Instantly share code, notes, and snippets.

# stubby - a local DNS Privacy stub resolver
#
# stubby acts as a local DNS Privacy stub resolver, using DNS-over-TLS.
# Stubby encrypts DNS queries sent from the local machine to a DNS Privacy resolver, increasing end user privacy.
#
description "stubby server"
start on runlevel [2345]
stop on runlevel [!2345]
@vapniks
vapniks / gist:5823399
Created June 20, 2013 14:50
A mapping function that allows splicing lists into the result. If fun returns a list whose first element is @ the following elements will be spliced into the list.
(defun mapcar@ (fun seq)
(let (result)
(loop for elem in (reverse seq)
for newelem = (funcall fun elem)
if (and (listp newelem)
(eq (car newelem) '@))
do (loop for newelem2 in (cdr newelem)
do (setq result (cons newelem2 result)))
else do (setq result (cons newelem result)))
result))
@vapniks
vapniks / gist:5090044
Last active December 14, 2015 12:58 — forked from dotemacs/gist:5084820

Wanna do a talk at Emacs Conf?

Add yourself to the list below and give a short blurb about the topic. Go wild!

Dave Nolan

about something interesting

Joe Bloggs