Skip to content

Instantly share code, notes, and snippets.

View aaronaddleman's full-sized avatar

Aaron Addleman aaronaddleman

View GitHub Profile
property ScriptTitle : "UI Properties"
-- By squaline (alias partron22?), emendelson, and Nigel Garvey.
-- [url]http://macscripter.net/viewtopic.php?id=37674[/url]
on main()
try
tell application "System Events"
set appNames to name of application processes whose visible is true
set curApp to name of first application process whose frontmost is true
end tell
tell application curApp
@aaronaddleman
aaronaddleman / emacs-debug.txt
Created February 4, 2021 19:53
running spacemacs on commit ba9e0afa34c97b310456d4352ec582d73411902b
Debugger entered--Lisp error: (void-function evil-set-undo-system)
(evil-set-undo-system 'undo-tree)
(progn (evil-set-undo-system 'undo-tree))
(if (configuration-layer/package-used-p 'undo-tree) (progn (evil-set-undo-system 'undo-tree)))
spacemacs-bootstrap/init-evil()
funcall(spacemacs-bootstrap/init-evil)
(let* ((pkg-name (eieio-oref pkg ':name)) (owner (car (eieio-oref pkg ':owners)))) (spacemacs-buffer/message (format "%S -> init (%S)..." pkg-name owner)) (funcall (intern (format "%S/init-%S" owner pkg-name))))
configuration-layer//configure-package(#<cfgl-package cfgl-package-1ff3d37c9828>)
mapc(configuration-layer//configure-package (#<cfgl-package cfgl-package-1ff3d37c858c> #<cfgl-package cfgl-package-1ff3d37c935c> #<cfgl-package cfgl-package-1ff3d37c90f4> #<cfgl-package cfgl-package-1ff3d37c95c0> #<cfgl-package cfgl-package-1ff3d37c9828> #<cfgl-package cfgl-package-1ff3d37c9a9c> #<cfgl-package cfgl-package-1ff3d37d6c00> #<cfgl-package cfgl-package-1ff3d37d6e68>))
(let (packages-to-co
#!/bin/bash
AUTHOR='Akgnah <setq@radxa.com>'
VERSION='0.14'
PI_MODEL=`tr -d '\0' < /proc/device-tree/model`
RPI_DEB="https://cos.setf.me/rockpi/deb/raspi-sata-${VERSION}.deb"
SSD1306="https://cos.setf.me/rockpi/pypi/Adafruit_SSD1306-v1.6.2.zip"
PIG_ZIP="https://cos.setf.me/rockpi/tar/pigpio-v77.zip"
confirm() {
printf "%s [Y/n] " "$1"
@aaronaddleman
aaronaddleman / Makefile
Created October 20, 2020 16:11
Makefile with help
#
# Variables
#
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
# Before we start test that we have the mandatory executables available
EXECUTABLES = git docker
K := $(foreach exec,$(EXECUTABLES),\
$(if $(shell which $(exec)),some string,$(error "No $(exec) in PATH, consider installing $(exec)")))

Heading 1

Thing one

Heading 2

thing two

guestbook on  master [?] on 🐳 v18.09.2 at ☸️ minikube took 4s
➜ git remote -v
origin https://github.com/aaronaddleman/guestbook.git (fetch)
origin https://github.com/aaronaddleman/guestbook.git (push)
guestbook on  master [?] on 🐳 v18.09.2 at ☸️ minikube
➜ lein cljsbuild once
Compiling ClojureScript...
2019-04-08 22:10:39,258 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
Exception in thread "main" Syntax error macroexpanding clojure.core/ns at (cljsbuild/crossover.clj:1:1).
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.