# Usage Example: $ ddl-gist 'https://gist.github.com/4137843' ~/Downloads/gists # save the gist files at that URL in ~/Downloads/gists ## ddl_gist(){ if [ $# -ne 2 ]; then echo 'Failed. Syntax: $> ddl-gist GITHUB_GIST_URL DOWNLOAD_PATH' return fi gist_url=$1 download_path=$2 echo '[*] Getting all GIST File URLs from '$gist_url gists=`curl -ksL -H 'User-Agent: Mozilla/5.0' $gist_url | grep '