Skip to content

Instantly share code, notes, and snippets.

SummittDweller / progress-marker
Created February 25, 2024 16:06
My standard progress marker
<!-- Progress Marker !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<div style="border: 3px solid red; padding: 10px; margin: 10px; font-weight: bold; font-size: large;text-align: center;">
<span>Attention! The remainder of this document is original content from other projects.</span>
<!-- Progress Marker !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
SummittDweller / gist:1af7ecbb9051ee04d0a9dbad7f74c1e7
Created March 20, 2023 13:56
blog-eleventy-ghost Initial Setup Output
cd ~/GitHub
╭─mark@Marks-Mac-Mini ~/GitHub
╰─$ git clone blog-eleventy-ghost
Cloning into 'blog-eleventy-ghost'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 774 (delta 5), reused 3 (delta 1), pack-reused 763
Receiving objects: 100% (774/774), 914.18 KiB | 3.94 MiB/s, done.
Resolving deltas: 100% (471/471), done.
SummittDweller /
Created February 19, 2023 04:14
Part 3 of development


Resources used in the creation of this site can be found in a OneTab at In particular, I found A Deep Dive Into Eleventy Static Site Generator to be especially helpful!

Changing Smol Eleventy Starter Content to wieting-guild-pages

SummittDweller / pre-commit
Last active January 21, 2023 01:33
My 'pre-commit' git Hook
# Contents of ~/gitconfig/hooks/pre-commit
# Replace `last_modified_at` timestamp with current time in the specified TZ for .md edits only
# Note that this file should exist on your workstation as `~/gitconfig/hooks/pre-commit` and the file must be executable!
git diff --cached --name-status | egrep -i "^(A|M).*\.(md)$" | while read a b; do
cat $b | sed "/---.*/,/---.*/s/^last_modified_at:.*$/last_modified_at: $(TZ=CST6CDT date "+%Y-%m-%dT%H:%M:%S")/" > tmp
mv tmp $b
git add $b
SummittDweller /
Created January 7, 2021 20:49
CentOS7 Home Server Startup Script for Paperless-ng
echo "This is my /var/tmp/ to auto run during boot" > /var/tmp/script.out
echo "The time the script run was --> `date`" >> /var/tmp/script.out
# See ~/Desktop/ Set inotify capacity for Paperless-ng
cat /proc/sys/fs/inotify/max_user_watches # default is 8192
sudo sysctl fs.inotify.max_user_watches=1048576 # increase to 1048576
echo "Parameter for inotify increased, max_user_watches=1048576" >> /var/tmp/script.out
# Start Paperless-ng
SummittDweller / gist:5c16c99c75727f19e9da122b671ae29f
Last active January 4, 2021 22:36
Testing blog update of public gist display
This is just a test, and the results are showing me that additions or updates to this list are NOT pulled into my blog at run-time. The fetch of these gists must be a compile-time activity.
SummittDweller / Fixing IMI on summitt-services-droplet-01
Last active January 4, 2021 20:34
Fixing IMI on summitt-services-droplet-01
Last login: Tue Feb 25 16:54:13 2020 from
[centos@summitt-services-droplet-01 ~]$ docker exec -it isle-apache-dg bash
root@01d77bea4bd2:/# cd /var/www/html/sites/all/modules/islandora/islandora_multi_importer/
root@01d77bea4bd2:/var/www/html/sites/all/modules/islandora/islandora_multi_importer# git remote -v
origin (fetch)
origin (push)
root@01d77bea4bd2:/var/www/html/sites/all/modules/islandora/islandora_multi_importer# git status
HEAD detached at 78c06b7
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
SummittDweller / gist:624628ae38586d6b26024dd14de4b8d0
Last active June 10, 2020 01:11
5" Raspberry Pi Display QuickStart - Driver Installation
sudo rm -rf LCD-show
git clone
chmod -R 755 LCD-show
cd LCD-show
sudo ./LCD5-show
SummittDweller / Digital_Grinnell_MODS_Master.twig
Last active April 14, 2020 18:58
File copy of the Twig template (Rev 17) from Digital_Grinnell_MODS_Master, a Google Sheet
<?xml version="1.0" encoding="UTF-8"?>
{# Digital_Grinnell_MODS_Master.twig Revision 17
A copy of this file lives as a Gist at
This TWIG template for IMI import is intended to serve as a general-purpose
starting point for MODS import into Digital Grinnell.
The canonical copy of this Twig is part of a 4-tab Google Sheet named
SummittDweller / My Implementation of hook_islandora_multi_importer_remote_file_get
Created September 29, 2019 18:59
My dg7.module implementation of hook_islandora_multi_importer_remote_file_get to retrive content from a mounted file system when "local*" option is selected.
* Implements hook_islandora_multi_importer_remote_file_get for and
* @param $url
* Path to the file to be fetched. Default behavior strips the 'basename' from $url and looks
* for that file somewhere in $target.
* @return array
* On error or failure an empty array is returned.
* On success, a single array element LOCAL path like /mnt/storage/exmample.xml