Skip to content

Instantly share code, notes, and snippets.

@tundeaoni
tundeaoni / do_until.sh
Last active February 17, 2017 11:03
tiny bash script to retry task until it returns exit code 0
# !/bin/bash
readonly TIME_OUT=1
STATUS=1
printf "Command: %s \n" $@
#pass command
while [ "$STATUS" -ne 0 ]
do
"$@"
STATUS=$?
@staltz
staltz / introrx.md
Last active September 20, 2024 10:10
The introduction to Reactive Programming you've been missing