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
\DeclareObjectType { name }
{
first : tokenlist ,
middle : tokenlist ,
last : tokenlist ,
first : .required ,
last : .required ,
}
@vermiculus
vermiculus / feature-request.md
Last active August 29, 2015 14:05
Good Ideas™

Emacs

  • Exporting Org files as DocTeX

    • org-latex-export-as-doctex2e
    • org-latex-export-as-doctex3

    Probably would be much easier to work with for large codebases.

  • ctan-upload.el

\documentclass{mla}
\title{My Title}
\author{Lily Wolford}
\date{2 September 2014}
\class{Speech 103-03}
\professor{Dr. Melinda May}
% hyphenate right margin
\RaggedRight
#!/usr/bin/env bash
# Usage:
#
# git-unite "User Name" "new@email.com" \
# "old1@email.com" \
# "old2@email.com" \
# ...
name="$1"
test
test
test
// -*- compile-command: "g++ -std=c++0x main.cpp;./a.out" -*-
#include <iostream>
#include <thread>
#include <map>
#include <unistd.h>
typedef char status_t;
/**
* I know I'm not supposed to be using system, but I don't know what
\documentclass{article}
\usepackage{xcolor,ifthen}
\newcounter{tmpcounter}
\newlength\cumlength
\newlength\critlength
\newlength\tmplength
\newcount\mynum
\newcount\myden
\makeatletter
\newcommand\FadeAfter[2]{\critlength=#1\relax\cumlength=0pt\relax%
*~
\#*\#
.\#*
; (defface font-lock-warning-face
; '((t :inherit error))
; "Font Lock mode face used to highlight warnings."
; :group 'font-lock-faces)
(defface my-code-section-face
'((t :inherit error))
"Face used for comment guards")
(defun add-c-syntax-highlighting ()
(font-lock-add-keywords nil '(
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ag-arguments (quote ("--skip-vcs-ignores" "--path-to-agignore=\"~/tcs/.agignore\"" "--line-number" "--smart-case" "--nogroup" "--column" "--")))
'(ag-highlight-search t)
'(c-basic-offset (quote set-from-style))
'(c-default-style (quote ((c-mode . "gd-ais") (c++-mode . "gd-ais") (java-mode . "java") (awk-mode . "awk") (other . "gnu"))))
'(c-mode-common-hook (quote (doxymacs-mode add-c-syntax-highlighting)))