This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Neocities provides an API for uploading files from ./public_html to | |
# your site. | |
# | |
# Example Usage: | |
# $ USERNAME=username PASS=secret_pass bash upload_site.sh path_to_local_web_root | |
# or | |
# $ export USERNAME=username | |
# $ export PASS=secret_pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Neocities provides an API for deleting files from your site. | |
# | |
# Example Usage: | |
# $ USERNAME=username PASS=secret_pass bash delete_not_found_neocities.sh path_to_local_web_root | |
# or | |
# $ export USERNAME=username | |
# $ export PASS=secret_pass | |
# $ ./delete_not_found_neocities.sh path_to_local_web_root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Neocities provides an API for uploading to and deleting files from | |
# your site. | |
# | |
# Example Usage: | |
# $ USERNAME=username PASS=secret_pass bash update_neocities.sh path_to_local_web_root | |
# or | |
# $ export USERNAME=username | |
# $ export PASS=secret_pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Kevin Whitefoot <[email protected]> | |
# 2018-02-23 | |
# | |
# Record the foreground window title every 30 seconds. | |
# Used to help write time sheets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e # exit immediately on failure | |
set -u # fail if unset variable is used | |
set -o pipefail # exit with first error in a pipeline | |
set -x | |
##################### | |
# Move the specified files to the archive |