Skip to content

Instantly share code, notes, and snippets.

View dunz0r's full-sized avatar

Gabriel Fornaeus dunz0r

View GitHub Profile
\documentclass[10pt]{article}
\usepackage{xintexpr}
\def\roundandprint #1{\xinttheiexpr #1\relax }
% This will be true as long as we don't have more than one party per year
\def\ partynumber{\xintexpr \year - 1990 \relax}
\begin{document}
\roundandprint{\partynumber}
\end{document}
#!/bin/sh
sed -e 's/\t/\",\"/g' \
-e 's/^/\[\"/' \
-e 's/$/\"\],/' \
-e '1s/\(.*\)/\{\"fields\":\1\ \"data\":[/g' -e '$s/.$/\]\}/' | tr -d "\n"
$ salt '*' pillar.items|grep -A1 worked
worked:
True
--
worked:
True
--
worked:
True
--
#include <util/delay.h>
void setup() {
Serial.begin(9600);
}
void loop() {
_delay_ms(500)
Serial.println("Testing _delay_ms");
}
### Keybase proof
I hereby claim:
* I am dunz0r on github.
* I am gf (https://keybase.io/gf) on keybase.
* I have a public key whose fingerprint is 4692 000E 4FDB 9E19 C37C D1C1 2670 8EA8 114D 3C97
To claim this, I am signing this object: