Skip to content

Instantly share code, notes, and snippets.

View gvenzl's full-sized avatar
🚀

Gerald Venzl gvenzl

🚀
View GitHub Profile
@krisrice
krisrice / sqlcl.sh
Last active September 1, 2023 12:59
sql() {
# REMOTE source this script
#
# . <(curl -s https://gist.githubusercontent.com/krisrice/fec43fd9f53e4286e5cc360b554e3c0f/raw/62ec382d7511c7cc44703a9a2f75a4a7f233efe2/sqlcl.sh)
# Set the stage directory
STAGE_DIR=/tmp
# Check whether internet connection exists
if ping -c 1 -t 3 download.oracle.com > /dev/null; then