Skip to content

Instantly share code, notes, and snippets.

View vermiculus's full-sized avatar
🙃
I may be slow to respond.

Sean Allred vermiculus

🙃
I may be slow to respond.
View GitHub Profile
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass
{note-verbale}
{2015/02/10}
{1}
{Class for enbassy notes}
\LoadClass[12pt]{article}
(defun tmp:sort (a b) (string< (symbol-name a) (symbol-name b)))
(defvar tmp:test-features '(abbrev auth-source backquote base64 button byte-compile byte-opt bytecomp case-table cconv cham chinese cl-lib cl-loaddefs cl-macs code-pages cus-face custom cyrillic czech debug derived easy-mmode easymenu ediff-hook edmacro eieio eieio-core electric emacs env epa-hook epg-config ert ethiopic european ewoc facemenu faces files find-func font-core font-lock format format-spec frame georgian gnus-util greek gv hashtable-print-readable hebrew help help-fns hl-line ietf-drums indian japanese jit-lock jka-cmpr-hook json kmacro korean lao let-alist lisp-float-type lisp-mode loaddefs macroexp mail-parse mail-prsvr mail-utils mailcap make-network-process markdown-mode md5 menu-bar minibuffer misc-lang mm-util mouse mule mule-util multi-tty nadvice network-stream newcomment noutline outline overlay package page password-cache prog-mode regexp-opt register rfc2045 rfc2047 rfc2231 rfn-eshadow romanian rx select sha1 simple slov
(defconst tmp:access-token
;; Needed to post answers. Considered a secret. If you would like
;; a key, use `sx-authenticate' from sx.el (available from MELPA)
;; and look in ~/.emacs.d/.sx/auth.el
"YOUR ACCESS TOKEN HERE")
(defconst tmp:key
;; not considered a secret
"0TE6s1tveCpP9K5r5JNDNQ((")
;;; Checking for Check in Chess
;;; Author: Sean Allred
(require 'dash)
;;; (mapcar #'chess:report-game (chess:read-file "state.txt"))
;;; Reading
("abet"
"abroad"
"abstract"
"abuse"
"academic-freedom"
"academic-history"
"academic-life"
"accreditation"
"acknowledgement"
"acm"
@vermiculus
vermiculus / e.sh
Last active August 29, 2015 14:11
#! /bin/sh
SERVER_SCRIPT_FILE="/tmp/emacs-get-server.el"
cat <<EOF > $SERVER_SCRIPT_FILE
(require 'server)
(princ (expand-file-name
server-name (if server-use-tcp
server-auth-dir
server-socket-dir)))
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex 2014.12.7) 9 DEC 2014 22:03
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**\input success-6.tex
(./success-6.tex (/usr/local/texlive/2014/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
)
No file success-6.aux.
\openout1 = `success-6.aux'.
#! /bin/tcsh
cat <<EOF > "temp file"
this is a test file
it has many lines
jk
lol
noob
EOF
thing='marker:cat "temp file"'
#! /usr/bin/env sh
# filename: emacs
if [ $# -eq 0 ]; then
emacsclient -t .
else
emacsclient -t $@
fi
all: 24.1 24.2 24.3
24.1:
evm install emacs-24.1-bin || true
emacs --version
emacs --batch -L . -l ert -l test/tests.el -f ert-run-tests-batch-and-exit
24.2:
evm install emacs-24.2-bin || true
emacs --version
emacs --batch -L . -l ert -l test/tests.el -f ert-run-tests-batch-and-exit