Skip to content

Instantly share code, notes, and snippets.

@quist00
quist00 / sushiCleanStepsOpenRefine.json
Created August 14, 2020 19:35
Clean SUSHI analytics imported into OpenRefine to make the counts by title usable
[
{
"op": "core/column-removal",
"columnName": "_ - Item_ID - _ - Type",
"description": "Remove column _ - Item_ID - _ - Type"
},
{
"op": "core/column-removal",
"columnName": "_ - Item_ID - _ - Value",
"description": "Remove column _ - Item_ID - _ - Value"

Piping Records from ArchivesSpace into OneSearch (primo)

Embrace, extend: https://www.orbiscascade.org/blog/9/?bid=153. Many of the step by steps are directory from the article but may have slight adjustments or notes added.

The solution presumes no ALMA involvement. The outcome is compact full displays with a link out to the record in ArchivesSpace where they can see additional detail and request the item. Several Facets are also enabled to help with surfacing results.

Find your OAI endpoint.

By default an up to date instance of ArchivesSpace will have one on http://yourServerUrl:8082. Since the primo back office will need talk to this endpoint from off campus you will likley have to work with your campus firewall administrator to open this port. There are ways to refine the URL with querystring values to get subsets of data, but the url plus port will allow ingesting all by default.

Creating your scope

@quist00
quist00 / hashEduroamPassword.txt
Last active March 27, 2018 16:15
Hashing Network Password for Eduroam
echo -n password_here | iconv -t utf16le | openssl md4
@quist00
quist00 / wp_mail_smtp.php
Created November 8, 2016 17:28 — forked from butlerblog/wp_config.php
Configure WordPress wp_mail function to send through SMTP server http://b.utler.co/Y3
/**
* This function will connect wp_mail to your authenticated
* SMTP server. This improves reliability of wp_mail, and
* avoids many potential problems.
*
* Author: Chad Butler
* Author URI: http://butlerblog.com
*
* For more information and instructions, see:
* http://b.utler.co/Y3