Skip to content

Instantly share code, notes, and snippets.

View richmahn's full-sized avatar

Richard Mahn richmahn

View GitHub Profile
@richmahn
richmahn / Test.md
Last active August 3, 2016 16:21
Test

test2

@richmahn
richmahn / asdf.txt
Created August 3, 2016 16:22
Test2.md
asdfasdf
@richmahn
richmahn / tmux_local_install.sh
Created May 9, 2017 08:25 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@richmahn
richmahn / wkhtmltopdf.tablesplit.js
Created October 24, 2018 17:00 — forked from niflostancu/wkhtmltopdf.tablesplit.js
WkHtmlToPdf Table Splitting Hack
/**
* WkHtmlToPdf table splitting hack.
*
* Script to automatically split multiple-pages-spanning HTML tables for PDF
* generation using webkit.
*
* To use, you must adjust pdfPage object's contents to reflect your PDF's
* page format.
* The tables you want to be automatically splitted when the page ends must
* have a class name of "splitForPrint" (can be changed).
@richmahn
richmahn / get_github_issues.py
Last active June 25, 2020 19:49
Github issues for tc-create-app
import csv
import requests
# Change URL with the options found at https://developer.github.com/v3/issues/
url = 'https://api.github.com/repos/unfoldingword/tc-create-app/issues?state=closed&labels=essential&sort=created&direction=asc'
def write_issues(r, csvout):
"""Parses JSON response and writes to CSV."""
if r.status_code != 200:
raise Exception(r.status_code)
declare -A ORDERED_BOOK_LIST
ORDERED_BOOKS_LIST=(
'gen'
'exo'
'lev'
'num'
'deu'
'jos'
'jdg'
'rut'

unfoldingWord® Literal Text

Copyright © 2020 by unfoldingWord

This work is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

unfoldingWord® is a registered trademark of unfoldingWord. Use of the unfoldingWord name or logo requires the written permission of unfoldingWord. Under the terms of the CC BY-SA license, you may copy and redistribute this unmodified work as long as you keep the unfoldingWord® trademark intact. If you modify a copy or translate this work, thereby creating a derivative work, you must remove the unfoldingWord® trademark.

On the derivative work, you must indicate what changes you have made and attribute the work as follows: “The original work by unfoldingWord is available from [unfoldingword.org/ult](https://www.unfoldingword.or

### Keybase proof
I hereby claim:
* I am richmahn on github.
* I am richmahn (https://keybase.io/richmahn) on keybase.
* I have a public key ASBU0HoU8QTIDpG6UlWmfODUAzjyADrhsMt6lwayAPpBQgo
To claim this, I am signing this object:
@richmahn
richmahn / keybase.md
Last active July 7, 2021 14:55
keybase

Keybase proof

I hereby claim:

  • I am richmahn on github.
  • I am richmahn (https://keybase.io/richmahn) on keybase.
  • I have a public key ASBU0HoU8QTIDpG6UlWmfODUAzjyADrhsMt6lwayAPpBQgo

To claim this, I am signing this object: