Skip to content

Instantly share code, notes, and snippets.

@holtzermann17
holtzermann17 / pantheon-mode.el
Last active July 28, 2020 02:52
evil mode + god mode = pantheon mode
;;; General commentary:
;;; "Power tends to corrupt and absolute power corrupts absolutely."
;;; - John Dalberg-Acton, 1st Baron Acton
;;; I've decided to combine God mode and Evil mode, because God mode
;;; doesn't seem to manage the cursor color properly, and because Evil
;;; mode is more customizable. God mode is also more familiar and so
;;; useful for quickly learning my way around.
@holtzermann17
holtzermann17 / README.md
Last active July 24, 2016 12:45
flowrweb readme

flowrweb

Code for working with the Goldsmiths FloWr (Flowchart Writer) API.

Usage

To get started:

  1. Obtain a current API token from http://ccg.doc.gold.ac.uk/research/flowr/flowrweb/ -> Admin -> API.
  2. Load the project with Cider via ./src/flowrweb/core.clj -> M-x cider-jack-in.
@holtzermann17
holtzermann17 / 0-branches.md
Last active November 4, 2015 19:20
quick intro to branches

This is a quick introduction to using branches on Github.

When you go to save your work, you will be given the opportunity to save it to a branch.

At the next screen you are given the option to open a pull request. You don't need to do that right away. You can come back to it when you've made some more changes on the branch.

First, you need to find the branch to make changes. It's available from a dropdown on the repository's main screen.

See images below for an illustration of these points.

«For typical needs, we recommend starting the TeX Live installation by
downloading [...] install-tl-unx.tar.gz (3.3mb).»
[http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz]
«Once you have the software, run the install-tl script to install (on
Windows, install-tl-windows), like this:»
cd /your/download/directory
./install-tl
@holtzermann17
holtzermann17 / patterns-for-concept-invention.md
Last active September 10, 2015 09:57
patterns for concept invention

Hi all: I've typed up notes that we collaboratively produced at the recent workshop at Goldsmiths! We generated 8 patterns and 15 associated concepts. I will look forward to talking more with you all about how we can use this stuff in our ongoing design work. One meta-level "next step" will be to think about the connections between these patterns. What are some generalizations or "bridge concepts" (blends?) of the patterns that would help connect them to one another, and to our core methodology?

One thing I'd like to invite you all to consider would be to join in a not quite last-minute submission to the Pattern Languages of Programming conference (http://www.hillside.net/plop/2014/). The deadline is April 28th, and so if we're going to do this, we have to work fast!

I think that blending and patterns could be a strong match, and I think this work can be of value not only for our design of the COINVENT system, but also, ultimately, as a way to make our work useful to ma

@holtzermann17
holtzermann17 / gist:de4ee626fe951082a07d
Created July 15, 2015 19:26
/tmp/form-init7045861440494410924.clj
(.deleteOnExit (java.io.File. "/tmp/form-init7045861440494410924.clj")) (do (set! *warn-on-reflection* nil) (do nil (try (clojure.core/require (quote clojure.tools.nrepl.server)) (catch java.lang.Throwable t__10688__auto__ (clojure.core/println "Error loading" (clojure.core/str (quote clojure.tools.nrepl.server) ":") (clojure.core/or (.getMessage t__10688__auto__) (clojure.core/type t__10688__auto__))))) (try (clojure.core/require (quote complete.core)) (catch java.lang.Throwable t__10688__auto__ (clojure.core/println "Error loading" (clojure.core/str (quote complete.core) ":") (clojure.core/or (.getMessage t__10688__auto__) (clojure.core/type t__10688__auto__))))) (try (clojure.core/require (quote cider.nrepl.middleware.apropos)) (catch java.lang.Throwable t__10688__auto__ (clojure.core/println "Error loading" (clojure.core/str (quote cider.nrepl.middleware.apropos) ":") (clojure.core/or (.getMessage t__10688__auto__) (clojure.core/type t__10688__auto__))))) (try (clojure.core/require (quote cider.nrepl.midd
@holtzermann17
holtzermann17 / gist:d174aba9292335a27289
Created July 15, 2015 19:20
error message for clojuredocs #113
bin/dev
/home/joe/clojure/clojuredocs/bin
Deleting files generated by lein-cljsbuild.
Rewriting src/cljx to target/generated/clj (clj) with features #{clj} and 0 transformations.
Rewriting src/cljx to target/generated/cljs (cljs) with features #{cljs} and 1 transformations.
/home/joe/.rvm/gems/ruby-2.2.0/gems/foreman-0.78.0/lib/foreman/process.rb:54: warning: Insecure world writable dir /usr/local/texlive/2014/bin/x86_64-linux in PATH, mode 040777
20:12:38 web.1 | started with pid 6361
20:12:38 less.1 | started with pid 6362
20:12:38 cljs.1 | started with pid 6363
20:12:38 cljx.1 | started with pid 6366
@holtzermann17
holtzermann17 / texinfoextras.tex
Created June 18, 2015 22:19
break source code lines in texinfo on semicolon or period
% Expanding David Carlisle's solution from http://tex.stackexchange.com/a/249974/4357
@catcode`@\=0
\def\urefcatcodes{%
\catcode\ampChar=\active \catcode\dotChar=\active
\catcode\hashChar=\active \catcode\questChar=\active
\catcode\slashChar=\active \catcode\semiChar=\active
}
{
\urefcatcodes
%
@holtzermann17
holtzermann17 / minimal-org-tree-slide.el
Last active August 29, 2015 14:23
settings for a really minimal org tree slide
;; Some settings seem best achieved with local variables, and some with a hook.
;; Here are some settings that work for me:
;; #+TITLE: Your Title
;; #+AUTHOR: Your Name
;; #+DATE: The Date of the Talk
;; #+OPTIONS: toc:nil
;; #+OPTIONS: email:nil
;;
;; [Actual talk content goes here]
@holtzermann17
holtzermann17 / gist:14134b83f0351d825034
Created May 25, 2015 11:23
hexrgb hexcolor keywords
;;; Convenience
;; Fontify strings like #b4c342
(require 'hexrgb)
(defvar hexcolour-keywords
'(("#[abcdefABCDEF[:digit:]]\\{6\\}"
(0 (put-text-property (match-beginning 0)
(match-end 0)