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
{ | |
"cursor_size": "small", | |
"font_face": "Fira Code Retina", | |
"font_size": "0x16", | |
"popup_colors": "dark_magenta,white", | |
"dark_gray": "#8e8e8e", | |
"screen_colors": "gray,black", | |
"dark_green": "#b4fa72", | |
"command_history_no_duplication": false, | |
"window_size": "120x50", |
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
#!/usr/bin/env bash | |
set -e | |
role="$1" | |
shift | |
if [ "x$role" = "x" -o "x$1" = "x" ] | |
then | |
echo usage: $0 ROLE_ARN AWS_COMMAND ... >&2 |
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/ksh | |
# | |
# Starts Docker Desktop on macOS on-demand. | |
# | |
# Put this in your PATH before `/usr/local/bin/desktop`. | |
# | |
set -e | |
if ! /usr/local/bin/docker system info >/dev/null 2>/dev/null |
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/sh | |
# | |
# Merges a branch from another repository into this repository, | |
# putting it under a directory. | |
# | |
# Example to bring main from widget-api into the api folder: | |
# | |
# import-branch \ | |
# git@github.com:example/widget-api.git develop \ | |
# api |
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
/** | |
* Checks if a value is undefined, serving as a type guard for narrowing. | |
* | |
* @param value value to check | |
* @returns true if value is `undefined` | |
*/ | |
export const isUndefined = (value: any): value is undefined => typeof value === 'undefined'; |