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
#!/usr/bin/env bash | |
set -euo pipefail | |
SSO_SESSION_NAME="${SSO_SESSION_NAME-sso-session}" | |
ACCESS_TOKEN_CACHE_FILE="${ACCESS_TOKEN_CACHE_FILE-}" | |
usage() { | |
cat >&2 <<EOM | |
usage: $0 AWS_PROFILE_BOOTSTRAP OUTFILE |
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
/bench |
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
<!doctype html> | |
<html> | |
<head> | |
<style type="test/css"> | |
body { | |
background: #fff; | |
} | |
</style> | |
<script type="text/javascript"> | |
const colors = ["#fff", "#aaa", "#333", "#000", "#f00", "#0f0", "#00f"]; |
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
#!/usr/bin/env python3 | |
""" | |
usage: motorola_parse_support_dates.py | |
This script prints info about Motorola phone end of life dates in the YAML | |
format expected for the endoflife.date website. | |
See https://en-us.support.motorola.com/app/software-security-update |
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/bash | |
if [ $# -eq 0 ]; then | |
cat >&2 <<EOM | |
usage: poetry-shebang FILE | |
Install this script somewhere on your \$PATH -- such as /usr/local/bin/ -- to | |
be able to seamlessly run Python scripts under \`poetry run\` without having to | |
type that out. |
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/bash | |
set -eo pipefail | |
cd "$(git rev-parse --show-toplevel)" | |
if [ -t 1 ]; then | |
opts=("--ansi") | |
else | |
opts=() | |
fi |
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/bash | |
set -x | |
cd $(git rev-parse --show-toplevel) | |
poetry install --no-root |
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
# ~/.ngrok2/ngrok.yml | |
authtoken: "<REDACTED>" | |
tunnels: | |
ecommerce_python: | |
proto: http | |
hostname: <YOUR-CUSTOM-SUBDOMAIN>.ngrok.io | |
addr: localhost:8101 | |
host_header: rewrite | |
bind_tls: 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
cola | b | c | |
---|---|---|---|
foo | omg | baz |
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
#!/usr/bin/env python3 | |
import collections | |
import logging | |
import os | |
import psutil | |
import signal | |
import sys | |
import time | |
logger = logging.getLogger(__name__) |
NewerOlder