π :+1: |
π :-1: |
π― :100: |
π’ :1234: |
π₯ :1st_place_medal: |
π₯ :2nd_place_medal: |
π₯ :3rd_place_medal: |
π± :8ball: |
:a: |
π :ab: |
π€ :abc: |
π‘ :abcd: |
π :accept: |
π‘ :aerial_tramway: |
π¦π« :afghanistan: |
:airplane: |
π¦π½ :aland_islands: |
β° :alarm_clock: |
π¦π± :albania: |
βοΈ :alembic: |
π©πΏ :algeria: |
π½ :alien: |
π :ambulance: |
π¦πΈ :american_samoa: |
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
#! /user/bin/env python3 | |
""" | |
Checks how many colors are supported by the terminal. | |
Acknowledgements | |
================ | |
The logic of this script is primarily based on the implementation found in: | |
- https://github.com/nodejs/node/blob/v24.2.0/lib/internal/tty.js | |
- https://github.com/chalk/supports-color | |
""" |
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 | |
# This script is inspired by following scripts: | |
# * https://serverfault.com/a/887402 | |
# * https://github.com/dmrub/kube-utils/blob/master/kube-rsync | |
set -eo pipefail | |
if [[ -z "$KUBECTL_RSYNC_RSH" ]]; then | |
[[ -n "$KUBE_CONTEXT" ]] && echo >&2 "* Found \$KUBE_CONTEXT = $KUBE_CONTEXT" | |
[[ -n "$POD_NAMESPACE" ]] && echo >&2 "* Found \$POD_NAMESPACE = $POD_NAMESPACE" |