Skip to content

Commit

Permalink
Update .functions
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-nath authored Aug 8, 2023
1 parent a76176e commit 1aec7c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev-setup/.functions
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ kscale() { k scale deployment "$1" --replicas="$2"; }
# enter into pod's bash shell
kbash() { kubectl -it exec "$1" bash; }

coinflip() {
if [ $((RANDOM % 2)) -eq 0 ]; then
echo "Heads"
else
echo "Tails"
fi
}

# Function to convert from feet to inches
f2i() {
if [ $# -lt 1 ]; then
Expand Down

0 comments on commit 1aec7c3

Please sign in to comment.