Skip to content

Instantly share code, notes, and snippets.

View McFateM's full-sized avatar

Mark McFate McFateM

View GitHub Profile
@McFateM
McFateM / server-info Script
Last active January 26, 2021 15:11
The bash script for my "server-info" command
#!/bin/bash
# Modified: Tuesday, January 26, 2021 9:10 AM
#
# This is server-into, formerly 'dynmotd'.
# This script reqiures 'figlet' and 'mdv'
#
# Park this script in /usr/local/bin and give it rwxr-xr-x (755) file protection.
# Create a symbolic link 'ln -s /usr/local/bin/server-info server' in /usr/local/bin if you like.
# Try to get the client IP address (important for debugging remotely in some cases).
@McFateM
McFateM / server-info.md
Last active May 19, 2020 19:20
Template .md file for my "server-info" bash script and command

This is /etc/server-info.md. lifted from server Digital7.

  • Edit this file to include reminders and important information.

Created: Tuesday, March 5, 2020 1:10 PM

Significant History -------------------------------------------------

@McFateM
McFateM / Digital-Grinnell-MODS-Master-Rev21.twig
Last active January 7, 2021 09:55
Canonical MODS MASTER Twig template - Rev 21
<?xml version="1.0" encoding="UTF-8"?>
{# Digital_Grinnell_MODS_Master.twig Revision 21
THE official copy of this Twig template can be found as a Gist at
https://gist.github.com/McFateM/5921942b162cfa232683754763adc4ce
This TWIG template for IMI import is intended to serve as a general-purpose
starting point for MODS import into Digital Grinnell.