Skip to content

Instantly share code, notes, and snippets.

View atomontage's full-sized avatar

atomontage

View GitHub Profile
@atomontage
atomontage / acm.el
Last active June 1, 2020 06:48
Download PDFs from dl.acm.org
;;; acm.el --- Download PDFs from dl.acm.org -*- lexical-binding: t; -*-
;; This is free and unencumbered software released into the public domain.
;; xristos@sdf.org
;; Modified: 2020-06-01
(require 'url)
(require 'dom)
(require 'seq)
@atomontage
atomontage / set-remote.el
Last active June 1, 2020 04:38
Setting GIT remotes in Emacs Lisp
#!/usr/bin/env -S emacs --quick --script
(require 'cl-lib)
(defvar *use-color* t)
(defvar *stdout* nil)
(defvar *stderr* #'external-debugging-output)
(defvar *output-stream* *stdout*)
(defun out (fmt &rest args) (princ (apply 'format fmt args)
@atomontage
atomontage / xristos-loader.el
Last active June 1, 2020 04:39
Custom Emacs Lisp loader
;;; xristos-loader.el --- Custom loader -*- lexical-binding: t -*-
;;; TODO:
;;
;; Split `xristos/log' into its own library and add support for timestamps,
;; log entry collapse/expand with additional metadata and (maybe)
;; cross-references.
;;; Code: