Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# upload or update a file to a folder in a remote GitHub repository
# v1.0.0
# source:
# https://gist.github.com/alifeee/d711370698f18851f1927f284fb8eaa8
# for more info see
# https://blog.alifeee.co.uk/notes/uploading-files-to-a-git-hub-repository-with-a-bash-script/
# provide environment variables when executing script or with .env file
# example:
# export org="alifeee"
@alifeee
alifeee / make_gathio_events.sh
Created April 20, 2025 15:24
gath.io batch event creator - for creating a few similar events
#!/bin/bash
# send a form submission to gath.io
if [ -z "${1}" ]; then
echo "need date and time as first argument"
echo "./send.sh XXXX-XX-XXTXX:XX"
exit 1
fi
start_date="${1}"