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
| \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} |
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
| #!/bin/sh | |
| sed -e 's/\t/\",\"/g' \ | |
| -e 's/^/\[\"/' \ | |
| -e 's/$/\"\],/' \ | |
| -e '1s/\(.*\)/\{\"fields\":\1\ \"data\":[/g' -e '$s/.$/\]\}/' | tr -d "\n" |
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
| $ salt '*' pillar.items|grep -A1 worked | |
| worked: | |
| True | |
| -- | |
| worked: | |
| True | |
| -- | |
| worked: | |
| True | |
| -- |
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
| #include <util/delay.h> | |
| void setup() { | |
| Serial.begin(9600); | |
| } | |
| void loop() { | |
| _delay_ms(500) | |
| Serial.println("Testing _delay_ms"); | |
| } |
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
| ### 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: |