Skip to content

Instantly share code, notes, and snippets.

View jcowgar's full-sized avatar

Jeremy Cowgar jcowgar

View GitHub Profile
[
{
"backcolor": "",
"name": "MiniDox - Jeremy Colemak",
"author": "Jeremy Cowgar",
"switchMount": "cherry",
"switchBrand": "kailh",
"pcb": true
},
[
(require 'org-mime)
(defvar jc/outlook-citation-line-separator "-----------------------")
(defun jc/outlook-citation-line-function ()
(interactive)
(let* ((subject-start-point (save-excursion
(message-goto-subject)
(beginning-of-line)
(search-forward "Subject: ")
(cond
((string= system-type "windows-nt")
(setq org-directory "C:/Users/jerem/Dropbox (Personal)/orgfiles"))
(t
(setq org-directory "~/Dropbox (Personal)/orgfiles")))
(setq org-agenda-files (apply 'append
(mapcar
(lambda (directory)
(directory-files-recursively
#include "under_camel.h"
bool isUnder = false;
bool isCamel = false;
void uc_set_under(bool value) {
isUnder = value;
}
void uc_set_camel(bool value) {
@jcowgar
jcowgar / gist:cf806246f77d8061348b
Created June 21, 2015 18:19
ErrorToString for XojoScript
Function ErrorToString(Extends xs As XojoScript, error As XojoScript.Errors) As String
#Pragma Unused xs
// You can reuse this method in your projects to convert the error code
// to a string to display to the user.
Static errors As New Dictionary( _
XojoScript.Errors.Syntax: "Syntax does not make sense.", _
XojoScript.Errors.TypeMismatch: "Type mismatch.", _
XojoScript.Errors.ParserStackOverflow: "The parser's internal stack has overflowed.", _