Skip to content

Instantly share code, notes, and snippets.

rm -rf amend+log
hg init amend+log
cd amend+log
echo "First line of foo" >> foo
hg add foo; hg ci -m "Add foo"
hg topics mytopic
echo "First line of bar" >> bar
hg add bar; hg ci -m "Add bar"
echo "Second line of bar" >> bar
hg amend -m "Second line of bar"
% 12pt default for scrlttr2
\documentclass{scrlttr2}
% \NewDocumentCommand{\foo}{m +m}
% {
% \IfFileExists{./#1}
% {#2}
% {\PackageError{formletterbug}{CONFIG FILE '#1' DOES NOT EXIST - NOT CREATING FORMLETTER}{Check that the config filename (first argument) has been correctly passed to \formletter}}
% %{\PackageError{formletterbug}{CONFIG FILE '#1' DOES NOT EXIST - NOT CREATING FORMLETTER}{Check that the config filename (first argument) has been correctly passed to \foo}}
% }
rm -rf test-shelve2
hg init test-shelve2
cd test-shelve2
echo "First line of foo.txt" >> foo.txt
hg add foo.txt
hg ci -m "Add foo.txt"
echo "Second line of foo.txt" >> foo.txt
hg ci -m "foo.txt second line"
hg topic bar
echo "First line of bar.txt" >> bar.txt
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package mercurial
dpkg-buildpackage: info: source version 6.2-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by Julien Cristau <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --with python3,bash-completion
debian/rules override_dh_auto_clean
rm -rf topics1
hg init topics1
cd topics1
hg topics taxfm.2019-2020
touch foo
hg add foo
hg ci -m "add foo" foo
hg up null
touch bar
hg add bar
\documentclass{article}
\begin{document}
\newcommand{\somearg}{xx}
\newcommand{\someotherarg}{yy}
\newcommand{\yetsomeotherarg}{zz}
\foo{\somearg}{\someotherarg}
\bar{\somearg}{\someotherarg}{\yetsomeotherarg}
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\begin{document}
\newcommand{\pdfconfigfilename}{FOO}
%\newcommand{\Pdfconfigfilename}{FOO}
\pgfkeys
{
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\begin{document}
\newcommand\pdfconfig
\pgfkeys
{
/includepdffiles/.is family, /includepdffiles,
% Calling the keys so that the macros are defined.
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\newcommand\colnames
\pgfkeys
{
/foo/.is family, /foo,
default/.style =
{
%https://tex.stackexchange.com/a/16253/3406
\documentclass[12pt]{scrartcl}
\usepackage{longtable}
%\usepackage{threeparttable}
\usepackage{threeparttablex}
\usepackage{booktabs}
\begin{document}
\begin{ThreePartTable}