made with esnextbin
This file contains 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/bash | |
set -euf -o pipefail | |
# Usage | |
usage() { | |
cat <<EOF | |
usage: $0 [ -d ] [ -c RCFILE ] [ -t GITREF ] [ -h | -k | -r | -s | -x ] |
This file contains 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 tonious on github. | |
* I am tonious (https://keybase.io/tonious) on keybase. | |
* I have a public key whose fingerprint is 6536 E461 601F B0B6 7A89 43D2 D928 8AF1 5F6B ACCA | |
To claim this, I am signing this object: |
This file contains 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
/* Diyode CodeShield Pinout Constants */ | |
#define ENCODER_A 14 | |
#define ENCODER_B 15 | |
#define ENCODER_PORT PINC | |
#define SWITCH 13 | |
#define BUTTON 12 | |
#define RGB_RED 11 | |
#define RGB_GREEN 10 | |
#define RGB_BLUE 9 | |
#define LED 6 |
This file contains 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/bash | |
whoisfile="/tmp/namecheck.whois.$$.txt" | |
listfile="/tmp/namecheck.list.$$.txt" | |
trap "cleanup; exit 1" SIGINT SIGTERM | |
# Clean up temporary files. | |
function cleanup { | |
rm -f $whoisfile $listfile |
This file contains 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
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
#include <time.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <limits.h> | |
#include <string.h> | |
#include <assert.h> | |
struct avl_node_s { |
This file contains 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
/* Read this comment first: https://gist.github.com/tonious/1377667#gistcomment-2277101 | |
* 2017-12-05 | |
* | |
* -- T. | |
*/ | |
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
#include <stdlib.h> | |
#include <stdio.h> |
This file contains 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
Meta-Information ============================================================= | |
Site Name: | |
Site URL: | |
Client: | |
Client Point of Contact: | |
Client Services Point of Contact: | |
Design Phase ================================================================= |