Skip to content

Instantly share code, notes, and snippets.

@schierlm
schierlm / Sword_Versification.md
Created March 8, 2015 15:47
Determine SWORD Versification of a Bible

#Determine SWORD Versification of a Bible, in 3 simple steps (with a maximum of 5 substeps)

(by looking at most at 3 of 5 different books (Tobit, 2 Corinthians, 3 John, Esther, Prayer of Azariah)

[Found by a hillclimbing optimization algorithm; therefore I cannot guarantee that the number of steps are really minimal. But I doubt it matters in practice.]

##Step 1: Look at book Tobit

  • not present: Go to step 2c. [after 1 substep]
  • has 14 chapters: Look at chapter 4.
  • Chapter 4 has 22 Verses: Use Luther [found after 2 substeps]
@schierlm
schierlm / keybase.md
Last active August 29, 2015 14:15
keybase.md

Keybase proof

I hereby claim:

  • I am schierlm on github.
  • I am mihi (https://keybase.io/mihi) on keybase.
  • I have a public key whose fingerprint is 9776 9E80 B1A9 1F3C F05E 5D95 5347 C3C0 A194 E9AD

To claim this, I am signing this object:

@schierlm
schierlm / NOTICE.md
Last active August 29, 2015 14:12
bootsect.sh --- create bootsector for bootable USB for Windows 7 install/recovery from Linux

Notice:

As of ms-sys 2.4.1, it can create suitable FAT32 PE boot records with the -e option, which makes this script obsolete.

For older versions of ms-sys, the script can of course still be used.

package utils;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@schierlm
schierlm / SUBSETS.txt
Last active December 16, 2025 10:15
Text document containing all characters of the Multilingual European Subsets of Unicode and some other common Unicode subsets (and a small Java program to verify the file has not been garbled)
Common Unicode Subsets
======================
ASCII
~~~~~
Not exactly known as a Unicode subset; the Unicode character set starts with
ASCII, though; therefore, ASCII is the smallest widely-used subset of
Unicode.