Skip to content

Instantly share code, notes, and snippets.

# courtest of colescott
with import <nixos> {};
let
liblapack = pkgs.liblapack.override { shared = true; };
mkl = pkgs.mkl.override { enableStatic = true; };
libraries = [
libffi
openssl
# mkl
(defun my/slime-read-ql-system (prompt &optional system-name)
(let ((completion-ignore-case t))
(completing-read prompt (slime-bogus-completion-alist
(slime-eval
`(cl:remove-duplicates
(cl:append (ql:list-local-systems)
(cl:mapcar (cl:symbol-function 'ql-dist:name)
(ql:system-list)))
:test 'cl:string=)))
nil t system-name)))
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import glob
import time
from PIL import Image
fnames = glob.glob('vis8/nine/*.jpg')
shape = (3712, 3712)
@notmgsk
notmgsk / mu4e-jump-to-thing.el
Last active December 12, 2017 19:02 — forked from ziprandom/mu4e-jump-to-thing.el
`M-.` style jumping from mu4e-message-view buffers
;;
;; jump to thing on M-.
;;
(defun mu4e-jump-to-thing (u)
"jump to thing under point (should work with addresses, dates, tags)"
(interactive "P")
(let*
((type (string-remove-suffix ":" (first (split-string (thing-at-point 'line)))))
(query (pcase type
("From" (concat "contact:" (get-text-property (point) 'email)))