gplugin/gplugin

remove our scripts as they have better replacements already
feature/random-cleanups
2019-07-17, Gary Kramlich
ad6de87ea9be
Parents 88ced24629f1
Children bbe97be878b7
remove our scripts as they have better replacements already
--- a/scripts/bitbucket_upload Wed Jul 17 07:54:37 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-CURL=$(which curl)
-GREP=$(which grep)
-AWK=$(which awk)
-
-OUTPUT=.bitbucket.cookies
-
-rm -f ${OUTPUT}
-
-PATH=${1}
-FILES=${@}
-
-if [ -z ${PATH} ] ; then
- echo "You must provide a repository path"
- exit 1
-fi
-
-if [ -z "${FILES}" ] ; then
- echo "You must provide at least one file to upload"
- exit 1
-fi
-
-BASE_URI=https://bitbucket.org
-LOGIN_URI=${BASE_URI}/account/signin/
-UPLOAD_URI=${BASE_URI}/${PATH}/downloads
-
-read -e -p "bitbucket username: " BB_USERNAME
-read -e -s -p "bitbucket password: " BB_PASSWORD
-echo
-echo
-
-# get the csrf token
-echo -n "getting login token ... "
-${CURL} -s -k -c ${OUTPUT} -o /dev/null ${LOGIN_URI}
-CSRF_TOKEN=$(${GREP} csrftoken ${OUTPUT} | ${AWK} '{print $7}')
-if [ -z ${CSRF_TOKEN} ] ; then
- echo "failed."
- rm -f ${OUTPUT}
- exit 1
-else
- echo "done"
-fi
-
-
-echo -n "logging in ... "
-${CURL} -s -k -c ${OUTPUT} -b ${OUTPUT} -o /dev/null -d "username=${BB_USERNAME}&password=${BB_PASSWORD}&csrfmiddlewaretoken=${CSRF_TOKEN}" --referer ${LOGIN_URI} -L ${LOGIN_URI}
-${GREP} -q bb_session ${OUTPUT}
-if [ $? -ne 0 ] ; then
- echo "failed"
- rm -f ${OUTPUT}
- exit 1
-else
- echo "done"
-fi
-
-for FILE in ${FILES} ; do
- echo -n "uploading ${FILE} ... "
- ${CURL} -s -k -c ${OUTPUT} -b ${OUTPUT} --referer ${UPLOAD_URI} -L --form csrfmiddlewaretoken=${CSRF_TOKEN} --form token= --form file=@"${FILE}" ${UPLOAD_URI}
- if [ $? -ne 0 ] ; then
- echo "failed"
- rm -f ${OUTPUT}
- exit 1
- else
- echo "done"
- fi
-done
-
-exit 0
-
--- a/scripts/makeviz.sh Wed Jul 17 07:54:37 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-gource \
- --seconds-per-day .1 \
- --auto-skip-seconds .1 \
- --file-idle-time 0 \
- --multi-sampling \
- --highlight-users \
- --stop-at-end \
- --key \
- --title "History of GPlugin" \
- --font-size 26 \
- -1280x720 \
- --max-files 0 \
- --hide filenames,mouse,progress \
- --output-framerate 30 \
- -o - \
-| ffmpeg \
- -y \
- -r 30 \
- -f image2pipe \
- -vcodec ppm \
- -i - \
- -vcodec libx264 \
- -preset ultrafast \
- -pix_fmt yuv420p \
- -crf 1 \
- -threads 0 \
- -bf 0 \
- gplugin.mp4
-