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
/* | |
Client wishes to emit a number of actions | |
Actions are identical RSAAs, with varying meta properties (usually the ID to request) | |
Ideal scenario | |
* Numerous actions are taken in within a timeout/debounce window | |
* After the timeout has expired, the actions are aggregated into a single API call | |
dispatch({ | |
type: "SOME_FETCH_REQUEST", |
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
from pprint import pformat | |
from typing import Any | |
from pygments import highlight | |
from pygments.formatters import Terminal256Formatter | |
from pygments.lexers import PythonLexer | |
def pprint_color(obj: Any) -> None: | |
"""Pretty-print in color.""" |
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
UTF8 := $(shell locale -c LC_CTYPE -k | grep -q charmap.*UTF-8 && echo -utf8) | |
SERIAL=0 | |
.PHONY: usage | |
.SUFFIXES: .key .csr .crt .pem | |
.PRECIOUS: %.key %.csr %.crt %.pem | |
usage: | |
@echo "This makefile allows you to create:" | |
@echo " o public/private key pairs" |