Skip to content

Instantly share code, notes, and snippets.

View 73's full-sized avatar
🐢
I like turtles ...

73 73

🐢
I like turtles ...
View GitHub Profile
@klmr
klmr / Makefile
Last active July 8, 2024 13:15
Self-documenting makefiles
# Example makefile with some dummy rules
.PHONY: all
## Make ALL the things; this includes: building the target, testing it, and
## deploying to server.
all: test deploy
.PHONY: build
# No documentation; target will be omitted from help display
build:
@BrechtDeMan
BrechtDeMan / toggle_highlights_LaTeX
Last active October 22, 2022 21:48
LaTeX tip: easily enable/disable highlight in a file (e.g. to highlight modifications or important sections)
\usepackage{color, soul}
% allow highlighting reference
\soulregister\cite7
\soulregister\ref7
\soulregister\pageref7
% comment out one of the two:
\newcommand{\markasnew}[1]{\hl{#1}} % highlight
%\newcommand{\markasnew}[1]{{#1}} % don't highlight