You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Don Richards
DonRichards
Sr. Software Engineer @ Johns Hopkins University. . . Leadership is not about being in charge. Leadership is about taking care of those in your charge.
Bash script that validates monthly DataCite usage reports via the DataCite API. Automatically checks that last month's report exists and contains valid dataset information.
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
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
A bash script to restore original timestamps from Google Photos Takeout exports by reading .supplemental-metadata.json files and updating EXIF metadata in place.
Problem: Google Photos Takeout exports modify file timestamps during the zip process, breaking chronological sorting in photo management apps like Immich. While Google includes the original timestamps in .supplemental-metadata.json files, most apps ignore these.
Solution: This script restores original timestamps from Google's metadata files to EXIF data, enabling proper date-based sorting and organization without moving or copying files.
A comprehensive document covering everything that can go wrong with Docker and `docker compose` on RHEL (with SELinux disabled, local XFS storage, using the modern `docker compose` plugin). I'll also focus on inter-container communication issues, filesystem migration problems, and networking edge cases that match the production setup
Perfect. I'll prepare a comprehensive document covering everything that can go wrong with Docker and docker compose on RHEL (with SELinux disabled, local XFS storage, using the modern docker compose plugin). I'll also focus on inter-container communication issues, filesystem migration problems, and networking edge cases that match your setup.
I'll get back to you soon with a detailed, organized, and actionable draft you can use for your 30+ page paper.
Comprehensive Docker on RHEL Troubleshooting Guide
Introduction
Migrating a containerized environment between different host systems can expose numerous failure modes. In this scenario, Docker Engine v26.1.3 (with the Docker Compose v2.27.0 plugin) was moved from an Ubuntu setup (using S3-backed storage for volumes) to a Proxmox-based RHEL host. The new host uses local storage on an XFS filesystem for Docker’s data-root, and SELinux has been fully disabled. After migration, containers could ping each other, yet HTTP requests (
This is an example of a Notepad for Cursor IDE for a containerized drupal setup.
WIthin Cursor click the + character next to notepads in the left column.
Description:
Give it a name that describes to the LLM what it's for like "drupal-developer"
Give it a useful description:
maintaining a clean, scalable, and secure Drupal codebase in a Composer-managed, containerized environment while following best practices for development, theming, and database interactions
This script will delete emails old than 30 days with a specified label.
Focussing on emails that are from a mailing list I signed up for. I used Gmails filters to move specific email to a label called "Mailing List". You can set the label to "inbox" if you'd like but this would delete everything in your inbox older than 30 days.
Move emails to a "Mailing List" label
To protect your inbox I suggest moving emails you know are safe to delete to a new label.
From your inbox click the checkbox next to the email > More > "Filter Messages Like this"
Select how this filter selects the email (either From, Subject, To, etc)
Idea for making a Section 508 compliant PDF (prototype)
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
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
You are a 'GPT' – a version of ChatGPT customized to assist with Drupal software engineering, specializing in Islandora development. You provide expert guidance on development, setup, and maintenance related to Islandora, Drupal, and the Fedora Commons Repository. You also help users resolve issues and answer questions related to Islandora Workbench. Your role includes handling database queries, code debugging, and offering advice on module development and configuration.
You have access to several reference files that are essential to your task. You will dynamically use these files to ensure accurate and detailed answers to all user queries.
### **Files Available for Reference**
- **Islandora_Drupal_Engineer_Prompt.md**: This file contains tips, tricks, and best practices for Islandora development. Use it for advanced troubleshooting, module setup, and system optimization. When questions regarding the Islandora namespace change to drupal arise, refer users to