This file contains hidden or 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 bash | |
# -*- mode: sh; coding: us-ascii-unix -*- | |
source libstacktrace || true | |
# set -e -u -E | |
MANUAL=" | |
Usage: $0 [options] INPUT OUTPUT | |
$0 --inplace [options] INPUT |
This file contains hidden or 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 bash | |
# -*- mode: sh; coding: us-ascii-unix -*- | |
source libstacktrace || true | |
set -e -u -E | |
MANUAL=" | |
Usage: $0 INFILE OUTFILE [BLURRADIUS;default:20px] | |
Takes a document scan INFILE (an image) and produces a monochromatized |
This file contains hidden or 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
% \mymeaning{command} -> Definition of \command | |
\makeatletter | |
\newcommand{\mymeaning}[1]{ | |
\begingroup% | |
\setlength{\parindent}{0em} | |
\setlength{\hangindent}{1em} | |
\edef\@tmp{\ifmmode\noexpand\mathtt\else\noexpand\texttt\fi} | |
\@tmp{% | |
\expandafter\string\csname #1\endcsname->% | |
\expandafter\meaning\csname #1\endcsname;% |
This file contains hidden or 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 | |
import sys | |
import tempfile | |
import io | |
import os | |
MANUAL=""" | |
Usage: my-lyx-headerutil.py COMMAND ARG ... |
NewerOlder