Skip to content

Instantly share code, notes, and snippets.

View mross-ua's full-sized avatar

Mark Ross mross-ua

View GitHub Profile
@BillRaymond
BillRaymond / GitHub Pages Jekyll Dockerfile
Last active March 23, 2025 01:04
GitHub Pages and Jekyll Dockerfile
# "#################################################"
# Dockerfile to build a GitHub Pages Jekyll site
# - Ubuntu 22.04
# - Ruby 3.1.2
# - Jekyll 3.9.3
# - GitHub Pages 288
#
# This code is from the following Gist:
# https://gist.github.com/BillRaymond/db761d6b53dc4a237b095819d33c7332#file-post-run-txt
#
@macbookandrew
macbookandrew / backup-to-Glacier.sh
Last active May 4, 2025 23:02
Ubuntu incremental encrypted backups to S3/Glacier
#!/bin/bash
#
# Note, to pull a file from s3 use "s3cmd get s://bucket/file destinationfile"
# You must have the proper .s3cfg file in place to decrypt the file.
# You may also use "gpg encryptedfile" and supply the encryption code if you download
# from the web interface. Good luck.
# The bucket should be set to transfer to Glacier. To retreive, you need to initiate a