A file to get the structure of a database. Just pass it the name of the db in question.
./inspect_db.sh dvndb
# Or to get all of them
./inspect_db.sh
A file to get the structure of a database. Just pass it the name of the db in question.
./inspect_db.sh dvndb
# Or to get all of them
./inspect_db.sh
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.
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 (
curl "https://archive.data.jhu.edu/api/datasets/:persistentId?persistentId=doi:10.7281/T1WF3NZ7" | jq '.data.latestVersion.files[] | {label: .label, id: .dataFile.id}'
WIthin Cursor click the +
character next to notepads in the left column.
Give it a name that describes to the LLM what it's for like "drupal-developer"
maintaining a clean, scalable, and secure Drupal codebase in a Composer-managed, containerized environment while following best practices for development, theming, and database interactions
Globs: codebase/*
# Use an official Python runtime as a parent image | |
FROM python:3.10-slim | |
# Set environment variables | |
ENV PYTHONUNBUFFERED=1 | |
# Install dependencies | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
tesseract-ocr \ |
#!/bin/bash | |
# Globals | |
DOMAIN="dataverse-clone.mse.jhu.edu" | |
PAYARA="/usr/local/payara" | |
CURRENT_VERSION="6.2" | |
DATAVERSE_USER="dataverse" | |
PAYARA_EXPORT_LINE="export PAYARA=\"$PAYARA\"" | |
BAGIT_NUMBER_OF_THREADS=10 |
#!/bin/bash | |
# Globals | |
DOMAIN="dataverse-clone.mse.jhu.edu" | |
PAYARA_OLD="/usr/local/payara5" | |
PAYARA_NEW="/usr/local/payara6" | |
JAVA_UPGRADE_SCRIPT_URL="https://gist.github.com/DonRichards/cb992523a5ec588f1fb978d752d0d030/raw/upgrade_java.sh" | |
PAYARA_ZIP_URL="https://nexus.payara.fish/repository/payara-community/fish/payara/distributions/payara/6.2023.8/payara-6.2023.8.zip" | |
DATAVERSE_WAR_URL="https://github.com/IQSS/dataverse/releases/download/v6.0/dataverse-6.0.war" | |
SOLR_TAR_URL="https://archive.apache.org/dist/solr/solr/9.3.0/solr-9.3.0.tgz" |
#!/bin/bash | |
# Used release to generate this: https://github.com/IQSS/dataverse/releases/tag/v6.2 | |
# Globals | |
DOMAIN="dataverse-clone.mse.jhu.edu" | |
PAYARA="/usr/local/payara" | |
SOLR_SCHEMA_URL="https://raw.githubusercontent.com/IQSS/dataverse/v6.2/conf/solr/9.3.0/schema.xml" | |
SOLR_SCHEMA_FILE=$(basename "$SOLR_SCHEMA_URL") | |
DATAVERSE_WAR_URL="https://github.com/IQSS/dataverse/releases/download/v6.2/dataverse-6.2.war" | |
DATAVERSE_WAR_FILE="/home/dataverse/dataverse-6.2.war" |
#!/bin/bash | |
# Globals | |
DOMAIN="dataverse-clone.mse.jhu.edu" | |
PAYARA="/usr/local/payara" | |
DATAVERSE_WAR_URL="https://github.com/IQSS/dataverse/releases/download/v6.1/dataverse-6.1.war" | |
DATAVERSE_WAR_FILE="/home/dataverse/dataverse-6.1.war" | |
DATAVERSE_WAR_HASH="c6e931a7498c9d560782378d62b9444699d72b9c28f82f840ec4a4ba04b72771" | |
GEOSPATIAL_URL="https://github.com/IQSS/dataverse/releases/download/v6.1/geospatial.tsv" | |
GEOSPATIAL_FILE="/tmp/geospatial.tsv" |
// npm install puppeteer | |
// node measure_video_load.js https://digital.library.jhu.edu/islandora/dumb-show | |
const puppeteer = require('puppeteer'); | |
(async () => { | |
// Get the URL from command-line arguments | |
const url = process.argv[2]; // The URL is the third argument in the command line (0 = node, 1 = script name, 2 = URL) | |
if (!url) { | |
console.error('Please provide a URL as an argument.'); |