Skip to content

Instantly share code, notes, and snippets.

View therealmarv's full-sized avatar
:octocat:

therealmarv

:octocat:
View GitHub Profile
@therealmarv
therealmarv / travis submodule handling
Created November 19, 2016 19:12
travis submodule handling
git:
submodules: false
before_install:
- git submodule update --init --recursive
@therealmarv
therealmarv / init.lua
Created November 21, 2017 14:28
hammerspoon Umlaute
-- Umlaute
hs.hotkey.bind({'alt'}, 'u', function ()
hs.eventtap.keyStrokes('ü')
end)
hs.hotkey.bind({'shift', 'alt'}, 'u', function ()
hs.eventtap.keyStrokes('Ü')
end)
@therealmarv
therealmarv / input.xml
Created March 18, 2019 17:16
input.cnxml
<?xml version="1.0"?>
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml" xmlns:bib="http://bibtexml.sf.net/" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:q="http://cnx.rice.edu/qml/1.0" xmlns:data="http://www.w3.org/TR/html5/dom.html#custom-data-attribute" id="new" cnxml-version="0.7" module-id="new">
<title>Long Desc test</title>
<content>
<section id="eip-220"><media id="eip-idm1388625936" alt="An image comparing the functions of the parasympathetic nervous system to the central nervous system." longdesc="35-4-2-longdesc.txt">
<image mime-type="image/jpeg" src="Figure_35_04_02.jpg"/>
</media>
@therealmarv
therealmarv / output.html
Created March 18, 2019 17:18
output.xhtml
<body
data-cnxml-to-html-ver='v0.test'
xmlns='http://www.w3.org/1999/xhtml'
xmlns:bib='http://bibtexml.sf.net/'
xmlns:c='http://cnx.rice.edu/cnxml'
xmlns:data='http://www.w3.org/TR/html5/dom.html#custom-data-attribute'
xmlns:md='http://cnx.rice.edu/mdml'
xmlns:mod='http://cnx.rice.edu/#moduleIds'
xmlns:qml='http://cnx.rice.edu/qml/1.0'
>
@therealmarv
therealmarv / instructions.md
Created March 19, 2019 18:57
Install easybake on macOS

How to install easybake with pip

  1. Install icu4c
brew install icu4c
  1. Install easybake

For Bash shell: