Skip to content

Instantly share code, notes, and snippets.

View alanorth's full-sized avatar

Alan Orth alanorth

View GitHub Profile
@alanorth
alanorth / chrome-104-ips.csv
Created October 23, 2024 13:15
Chrome 104 IPs
ip org network asn country
103.221.57.100 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.101 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.102 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.105 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.106 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.107 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.113 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.115 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
103.221.57.116 DZCRD Networks Ltd 103.221.56.0/22 132817 BE
@alanorth
alanorth / curation.log
Created April 23, 2024 12:49
Log of curations during workflow submission, step 2 (editor), and step 3 (final editor)
2024-04-23 12:44:00,166 INFO e8f31038-977a-41d3-9ce3-c8f213c12691 7eca3e82-151a-421a-bda6-b2071df437b3 org.dspace.curate.Curator @ Curation task: normalizedois performed on: workflow item: 61ad243b-18a2-4691-a4e0-f90eb6b42ece with status: 0. Result: 'Normalized 1 DOI(s)'
2024-04-23 12:44:00,167 INFO e8f31038-977a-41d3-9ce3-c8f213c12691 7eca3e82-151a-421a-bda6-b2071df437b3 org.dspace.curate.XmlWorkflowCuratorServiceImpl @ Curation tasks over item 61ad243b-18a2-4691-a4e0-f90eb6b42ece for step editstep report:%nNormalized 1 DOI(s)All DOIs already normalizedAll DOIs already normalizedAll DOIs already normalizednull: added 2 alpha2 country code(s)Normalized 1 DOI(s)
2024-04-23 12:46:28,096 INFO e8f31038-977a-41d3-9ce3-c8f213c12691 8b975b71-6f76-4ac3-b5c7-52aa4cdd1e3f org.dspace.curate.Curator @ Curation task: normalizedois performed on: workflow item: 61ad243b-18a2-4691-a4e0-f90eb6b42ece with status: 0. Result: 'All DOIs already normalized'
2024-04-23 12:46:28,096 INFO e8f31038-977a-41d3-9ce3-c8f213c12691 8b97
#!/usr/bin/env bash
# run in batch CPU priority, with low-priority IO
rsync_command="chrt -b 0 ionice -c2 -n7 /usr/bin/rsync -av --delete"
rsync_output="start"
until [[ "$rsync_output" == "done" ]]
do
# notice the trailing slash on the rsync source argument
results_rsync=$($rsync_command /home/dspace/solr/ /home/backup/solr)
@alanorth
alanorth / solr.service
Created November 24, 2023 09:05
systemd unit for solr
[Unit]
Description=Solr 8.11.2
After=network.target
[Service]
Type=simple
WorkingDirectory=/var/solr
PIDFile=/var/solr/solr-8983.pid
Environment=SOLR_PID_DIR=/var/solr
@alanorth
alanorth / authentication-ldap.cfg
Created September 28, 2023 05:49
DSpace 7 authentication-ldap.cfg
#---------------------------------------------------------------#
#------------LDAP AUTHENTICATION CONFIGURATIONS-----------------#
#---------------------------------------------------------------#
# Configuration properties used by the LDAP Authentication #
# plugin, when it is enabled. #
#---------------------------------------------------------------#
#
# If LDAP is enabled, then new users will be able to register
# by entering their username and password without being sent the
@alanorth
alanorth / dspace7_harvest_test.py
Created August 22, 2023 06:58
Test harvesting 106,000 items from the DSpace 7 REST API
#!/usr/bin/env python3
import signal
import requests
def signal_handler(signal, frame):
sys.exit(1)
@alanorth
alanorth / dspaces.csv
Last active July 11, 2024 13:08
List of DSpace 7 instances to serve as inspiration for those of us who have not yet managed to take the plunge
version url
7.0 https://repository.museumsiam.org
7.0 https://minerva-access.unimelb.edu.au
7.0 https://unsworks.unsw.edu.au
7.4 https://corpus.ulaval.ca
7.5-SNAPSHOT https://dspace.alquds.edu
7.5 https://openaccess.marmara.edu.tr
7.2.1 https://oasis.col.org
7.2.1 https://open.fsc.org
7.4 https://openaccess.bezmialem.edu.tr
@alanorth
alanorth / error.log
Created May 17, 2023 10:30
Error during `test_database` step of `ant update` with DSpace 7.6-SNAPSHOT.
$ ant update clean_backups -Doverwrite=true
Buildfile: /home/aorth/src/git/DSpace-7/dspace/target/dspace-installer/build.xml
prepare_configs:
[mkdir] Created dir: /home/aorth/src/git/DSpace-7/dspace/target/dspace-installer/config-temp
[copy] Copying 232 files to /home/aorth/src/git/DSpace-7/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to /home/aorth/src/git/DSpace-7/dspace/target/dspace-installer/config-temp
[copy] Copying 14 files to /home/aorth/src/git/DSpace-7/dspace/target/dspace-installer/config-temp
copy_configs_keep:
@alanorth
alanorth / PKGBUILD
Created May 11, 2023 12:13
Arch Linux PKGBUILD for system76-scheduler 2.0.1
# Maintainer: Donald Carr <d _at_ chaos-reins.com>
_pkgname=system76-scheduler
pkgname=${_pkgname}
pkgver=2.0.1
pkgrel=1
pkgdesc='system76 userspace scheduler'
arch=(x86_64)
url='https://github.com/pop-os/system76-scheduler'
license=('MPL-2')
@alanorth
alanorth / PKGBUILD
Created March 30, 2023 18:46
Updated PKGBUILD for imagemagick-git
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Limao Luo <[email protected]>
# Contributor: Stefan Husmann <[email protected]>
# From core package
# Maintainer: Antonio Rojas <[email protected]>
# Contributor: Eric Bélanger <[email protected]>
_pkgname='imagemagick'
pkgbase="${_pkgname}-git"
_srcdir='ImageMagick'