Skip to content

Instantly share code, notes, and snippets.

@ruebot
ruebot / arclight_bundle_exec_rake.txt
Created October 11, 2018 21:43
Failure/Error: EngineCart.load_application!
[nruest@wombat:arclight] (git)-[master]-$ bundle exec rake
Running RuboCop...
Inspecting 92 files
............................................................................................
92 files inspected, no offenses detected
create
/home/nruest/.rbenv/versions/2.4.4/lib/ruby/2.4.0/fileutils.rb:120: warning: conflicting chdir during another chdir block
create README.md
create Rakefile
$ curl -s "https://partner.archive-it.org/api/collection/3608" | jq .
{
"tag": "",
"account": 75,
"topics": "government;government",
"oai_exported": false,
"state": "ACTIVE",
"publicly_visible": true,
"created_date": "2013-03-22T21:09:30Z",
"last_updated_date": "2017-05-25T13:30:14Z",
[nruest@gorila:1.9]$ grep -R "discoverygarden" .
./islandora_batch/islandora_batch.install: * https://github.com/discoverygarden/islandora_batch/pull/3, or
./islandora_batch/islandora_batch.install: * https://github.com/discoverygarden/islandora_batch/pull/6 (where it actually
./islandora_ocr/README.md:[Reference Implementation](https://github.com/discoverygarden/basic-solr-config/blob/modular/islandora_transforms/XML_text_nodes_to_solr.xslt)
./islandora_scholar/modules/doi/modules/doi_importer/README.md:* [discoverygarden](https://github.com/discoverygarden)
./islandora_scholar/modules/bibutils/includes/ris_map.inc: * @author Nelson Hart <nelson@discoverygarden.ca>
./islandora_scholar/modules/bibutils/includes/ris.inc: * @author Nelson Hart <nelson@discoverygarden.ca>
./islandora_scholar/islandora_scholar.install: '!url' => l(t('README'), 'https://github.com/discoverygarden/islandora_scholar/blob/7.x/README.txt', array('absolute' => TRUE)),
./islandora_scholar/islandora_scholar.install: watchdog('islan
-- convert ORE to PCDM 2.0 --
PREFIX ldp: <http://www.w3.org/ns/ldp#>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX pcdm: <http://pcdm.org/models#>
CONSTRUCT {
?obj a pcdm:Object ;
iana:first ?first ;
iana:last ?last ;
└── LExpress_de_Toronto
├── issue-01
│ ├── MODS.xml
│ ├── 001
│ │ └── OBJ.tif
| | └── MODS.xml
│ ├── 002
│ │ └── OBJ.tif
| | └── MODS.xml
│ ├── ...
JAVA_OPTS="-Djava.awt.headless=true"
JAVA_OPTS="${JAVA_OPTS} -XX:+DisableExplicitGC"
JAVA_OPTS="${JAVA_OPTS} -Xms512m"
JAVA_OPTS="${JAVA_OPTS} -Xmx6g"
JAVA_OPTS="${JAVA_OPTS} -XX:NewSize=256m"
JAVA_OPTS="${JAVA_OPTS} -XX:MaxNewSize=2g"
JAVA_OPTS="${JAVA_OPTS} -XX:MetaspaceSize=64m"
JAVA_OPTS="${JAVA_OPTS} -XX:MaxMetaspaceSize=2g"
JAVA_OPTS="${JAVA_OPTS} -Dfile.encoding=UTF-8"
JAVA_OPTS="${JAVA_OPTS} -Xloggc:/var/log/tomcat7/java-gc.log"
{
"responseHeader":{
"status":0,
"QTime":142},
"index":{
"numDocs":14490355,
"maxDoc":14954794,
"deletedDocs":464439,
"indexHeapUsageBytes":164767084,
"version":51091,
@ruebot
ruebot / config.ttl
Created April 27, 2016 21:42
Fuseki Configuration with inference
@prefix : <#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
[] rdf:type fuseki:Server ;
fuseki:services (
<#fedoraService>
apt-get -y update && apt-get -y upgrade
apt-get install openssh-server build-essential install git vim wget curl htop tree zsh
apt-get install --yes python-software-properties
add-apt-repository ppa:webupd8team/java
apt-get update -qq
echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | /usr/bin/debconf-set-selections
apt-get install --yes oracle-java8-installer
apt-get install --yes oracle-java8-set-default