Skip to content

Instantly share code, notes, and snippets.

@holtzermann17
holtzermann17 / kinesis.xkb
Created September 8, 2022 10:55
kinesis keyboard config
xkb_keymap {
xkb_keycodes "evdev+aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;
@holtzermann17
holtzermann17 / mbp.xkb
Created August 24, 2022 13:37
macbook pro keyboard tweaks
xkb_keymap {
xkb_keycodes "evdev+aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;
@holtzermann17
holtzermann17 / voices.txt
Created July 12, 2021 21:19
speech synthesis voices
Array(109) [ SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, SpeechSynthesisVoice, … ]
[0…99]
​​
0: SpeechSynthesisVoice { voiceURI: "urn:moz-tts:speechd:Catalan?ca", name: "Catalan", lang: "ca", … }
​​
1: SpeechSynthesisVoice { voiceURI: "urn:moz-tts:speechd:Oriya?or", name: "Oriya", lang: "or", … }
​​
2: SpeechSynthesisVoice { voiceURI: "urn:moz-tts:speechd:Bishnupriya%20Manipuri?bpy", name: "Bishnupriya Manipuri", lang: "bpy", … }
​​
@holtzermann17
holtzermann17 / mwe.el
Last active April 19, 2021 23:04
Rendering Org files to HTML on post-receive hook
;; This doesn't do anything fancy, and right now it just prints
;; everything at the same level.
(load "/home/git/emacs-htmlize/htmlize.el")
(setenv "PATH" "/usr/local/texlive/2021/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games")
(setq exec-path (append '("/usr/local/texlive/2021/bin/x86_64-linux") exec-path))
(org-babel-do-load-languages
'org-babel-load-languages
@holtzermann17
holtzermann17 / nnexus-revolutions.org
Last active April 6, 2021 14:55
Public summary of NNexus Revolutions proposal

NNexus Revolutions: Neural Named Entity Recognition and Linking for Technical Topics

#1. Review the intention: what do we expect to learn or make together?

The mathematical sciences have progressed to the point where mathematics communication itself can be fruitfully treated as “big data”.

The scale and diversity of the field presently poses many difficulties for researchers who choose to enter a new area of research.

For instance, a physicist moving into mathematical biology will need to learn new concepts, and disentangle techniques from their original intuitions.

Students learning technical topics for the first time can face an even bigger challenge.

The obstacles compound into a well-documented ‘skills gap’.

Technical jobs remain unfilled, while employers are reluctant to hire candidates who have yet to give concrete evidence that they can do the job.

In this six-month project, we use contemporary artificial intelligence (AI) methods to help make technical topi

@holtzermann17
holtzermann17 / .emacs
Last active November 29, 2022 16:05
Joe's Emacs Config
;;; .emacs --- -*- lexical-binding: t; -*-
;;; Commentary:
;; ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;;
;; ___ ___ ___ ___ ___ ___ ___
;; / /\ /__/\ / /\ /__/\ / /\ / /\ / /\
;; / /:/ \ \:\ / /:/_ | |::\ / /::\ / /:/ / /:/_
;; / /:/ \__\:\ / /:/ /\ | |:|:\ / /:/\:\ / /:/ / /:/ /\
;; / /:/ ___ ___ / /::\ / /:/ /:/_ __|__|:|\:\ / /:/~/::\ / /:/ ___ / /:/ /::\
;; /__/:/ / /\ /__/\ /:/\:\ /__/:/ /:/ /\ /__/::::| \:\ /__/:/ /:/\:\ /__/:/ / /\ /__/:/ /:/\:\
@holtzermann17
holtzermann17 / org-mode-dalt.el
Created March 23, 2021 12:39
Org Mode configuration to support usage like I've been doing in my DALT 7003 presentations
;; ~/.emacs.d/init.el
;;; Commentary:
;; This code does two things
;; - Shows a basic emacs configuration
;; - Sets up Org Mode and friends
;; It makes some assumptions about operating environment:
@holtzermann17
holtzermann17 / helm-fd.patch
Created February 22, 2021 22:21
Make helm-fd work with generic fd executable
diff --git a/helm-fd.el b/helm-fd.el
index 405e9270..6f8c7140 100644
--- a/helm-fd.el
+++ b/helm-fd.el
@@ -77,11 +77,11 @@
"Initialize fd process in an helm async source."
(let* (process-connection-type
(cmd (append helm-fd-switches (split-string helm-pattern " ")))
- (proc (apply #'start-process "fd" nil "fd" cmd))
+ (proc (apply #'start-process "fd" nil helm-fd-executable cmd))
@holtzermann17
holtzermann17 / firn-tufte.css
Created February 7, 2021 19:01
Add Tufte margin+side pars to the default Firn layout
@charset "UTF-8";
/*
* Firn's default style sheet uses a modified version of:
* MVP.css v1.6.2 - https://github.com/andybrewer/mvp
* Change the default variables below to find a styling you like.
*/
/* Reset / Overrides */
*,
@holtzermann17
holtzermann17 / A.org
Last active February 7, 2021 19:10
Tufte + Firn

README

This shows the result of mixing the usual firn_base.css with elements of tufte.css from https://github.com/edwardtufte/tufte-css

I tried to display one of my marginal notes as a div rather than a span but that didn’t work.