Skip to content

Instantly share code, notes, and snippets.

BGMcoder / GregoCompileAHK.ahk
Last active Aug 29, 2015
Gregorio Compilation Script via Autohotkey
View GregoCompileAHK.ahk
;Simple Compile Script for Gregorio.
;Tuesday, March 10, 2015
;by Brother Gabriel-Marie
;Just a simple script to compile a gabc file to pdf; easily modifiable to accomodate multiple scripts in multiple directories.
fileencoding, UTF-8
;filename variables - just set the names here - without file extensions
BGMcoder / main-lualatex.tex
Created Mar 11, 2015
Basic LuaLaTex Template for Gregorio Scores
View main-lualatex.tex
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8
% This is a simple template for a LuaLaTeX document using gregorio scores.
\documentclass[11pt]{article} % use larger type; default would be 10pt
% usual packages loading:
\usepackage{graphicx} % support the \includegraphics command and options
BGMcoder / Score.gabc
Created Mar 11, 2015
Gregorio score template
View Score.gabc
name: incipit;
gabc-copyright: copyright on this gabc file;
score-copyright: copyright on the source score;
office-part: introitus/...;
occasion: in church calendar;
meter: for metrical hymns;
commentary: source of words;
arranger: name of arranger;
gabc-version: 0.9.3;
author: if known;
BGMcoder / instantbirder.ahk
Created Mar 11, 2015
Switch between Instantbird and any other program with a hotkey
View instantbirder.ahk
#singleinstance force
coordmode, mouse, screen ;set mouse to get coords from screen
settitlematchmode 2
;variables for the Instantbird focuser
instantbird := " - Instantbird" ;the title of the typing window is something like "Name of Person - Instantbird" --I confirm that the " - " is always in the title, complete with the two spaces on either side of the hyphen.
curwin := ""
BGMcoder / freepbx.userscript
Created Mar 11, 2015
Greasemonkey userscript to provides some interface fixes for FreePBX Admin.
View freepbx.userscript
// ==UserScript==
// @name FreePBX
// @namespace @bgm-freepbx
// @description freepbx interface mods
// @include http://YOUR_SERVER_HERE/admin/*
// @require
// @version 1
// @grant GM_addStyle
// @run-at document-end
// ==/UserScript==
BGMcoder / RotatePDF.tex
Created Mar 17, 2015
Rotate Every Page in a PDF By Any Degree
View RotatePDF.tex
%Rotate a pdf file by any degree
%Works on every page of a multi-page pdf file
%You can't even buy software that will do this!
BGMcoder / compile-tex.ahk
Created Mar 17, 2015
Simple Compile Script for tex files via AutoHotkey
View compile-tex.ahk
;Simple Compile Script for tex files.
;Monday, March 16, 2015
;by Brother Gabriel-Marie
;Just a simple script to compile a tex file to pdf;
;easily modifiable to accomodate multiple scripts in multiple directories.
fileencoding, UTF-8
BGMcoder / AX.cfg
Last active Aug 29, 2015
My AX char config with customizations for Latin and Chant; You can get AX here:
View AX.cfg
;Brother Gabriel-Marie's AX char config
;March 17, 2015
;You can get AX here:
; -------------------------------------------------------------------
; -------------------------------------------------------------------
; Tells which hot key to use.
; Possible values are F1 ••• F12
; -------------------------------------------------------------------
View ahkinfo.ahk
;push win+3 to show your autohotkey information and copy it to your clipboard so you can paste it
isunicode := a_isunicode ? "Unicode" : "ANSI"
thisinfo:= "AutoHotkey " . a_ahkversion . " " . isunicode . " on Windows 7 Pro x64"
clipboard := thisinfo
BGMcoder / volume.ahk
Created Jun 5, 2015
Volume Control hotkeys via ahk
View volume.ahk
;control your system volume via hotkeys
;# is the win key
;^ is the control key
;sound controls
#[::setVolume("-5") ;lower volume by 5%
#]::setVolume("+5") ;raise volume by 5%
^#[::setVolume("10") ;set volume to minimum
^#]::setVolume("80") ;set volume to loud