This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>abc2svg test</title> | |
<style> | |
#output { | |
position: absolute; | |
top: 0; | |
right: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Rewrap lines without breaking words""" | |
import sys | |
import argparse | |
import textwrap | |
argparser = argparse.ArgumentParser(description=sys.modules[__name__].__doc__) | |
argparser.add_argument('infile', type=argparse.FileType('r', encoding='UTF-8')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
#InstallKeybdhook | |
KeyHistory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def clean_html(html): | |
""" | |
Remove HTML markup from the given string. | |
:param html: the HTML string to be cleaned | |
:type html: str | |
:rtype: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install pre-requisites (pango is needed for xheights) | |
sudo apt install build-essential libpango1.0-dev | |
# Clone gcrtraining repository | |
git clone https://ancientgreekocr.org/grctraining.git | |
# Compile LibUTF | |
cd grctraining/tools/libutf | |
make CFLAGS="-ansi -pedantic -O2 -Wall -Wextra" | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Compile qt-box-editor for win32 | |
# Set amount of MXE parallel compiling jobs | |
if [ "$JOBS" = "" ] | |
then | |
JOBS=1 | |
export JOBS | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
README.md | |
compile_qt-box-editor.sh | |
qt-box-editor-win32.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker rm $(docker ps -a -q) |