Skip to content

Instantly share code, notes, and snippets.

View hardyoyo's full-sized avatar
🕺
husslin'

Hardy Pottinger hardyoyo

🕺
husslin'
View GitHub Profile
@hardyoyo
hardyoyo / omg_one_line_go_docker_go.txt
Last active August 29, 2015 14:05
OMG, a one-line user-data bootstrap
https://get.docker.io
https://gist.githubusercontent.com/hardyoyo/592da7771742d1bec25c/raw/616ee1b6d0493467d0fa0a7ecc71e8f746a1e125/docker_fcrepo4.sh
@hardyoyo
hardyoyo / setenv.sh
Created October 30, 2014 19:33
my setenv.sh script
#! /bin/sh
# ==================================================================
# ______ __ _____
# /_ __/___ ____ ___ _________ _/ /_ /__ /
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / /
# / / / /_/ / / / / / / /__/ /_/ / /_ / /
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/
# Multi-instance Apache Tomcat installation with a focus
# on best-practices as defined by Apache, SpringSource, and MuleSoft
@hardyoyo
hardyoyo / testing_pr712.txt
Created November 4, 2014 22:39
testing DSPR#712
[vagrant@dspace dspace-installer (ctu-code-testing)]$ ant update
Buildfile: /home/vagrant/dspace-src/dspace/target/dspace-installer/build.xml
prepare_configs:
[mkdir] Created dir: /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 141 files to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
copy_configs_keep:
@hardyoyo
hardyoyo / DRAFT-DSpace5-testathon-announcement.txt
Last active August 29, 2015 14:08
DRAFT: DSpace 5.0 testathon announcement
DSpace 5.0 Testathon begins Nov 10, 2014 -- Users / Feedback wanted
From Hardy Pottinger, DSpace 5.0 Release Team Member
The first Release Candidate for DSpace 5.0 will be made available for testing on November 6, 2014.
Some new features of interest include:
For all UIs:
* Batch import from Zip files uploaded via the admin interface of either UI
@hardyoyo
hardyoyo / localhost_where.txt
Created December 5, 2014 15:55
hunting localhost in vanilla dspace
[vagrant@dspace config]$ grep -ri localhost ./
./dspace.cfg:dspace.hostname = localhost
./dspace.cfg:dspace.baseUrl = http://localhost:8080
./dspace.cfg:dspace.url = http://localhost:8080/xmlui
./dspace.cfg:db.url = jdbc:postgresql://localhost:5432/dspace
./dspace.cfg:mail.allowed.referrers = localhost
./dspace.cfg:#handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:## webui.feed.logo.url = http://localhost:8080/xmlui/themes/mysite/images/mysite-logo.png
./dspace.cfg:#solr.authority.server=http://localhost:8080/solr/authority
@hardyoyo
hardyoyo / ds-2225-dspr-780-testing.txt
Created December 5, 2014 19:24
DS-2225/DSPR#780 testing
Hmm... I'm testing as suggested, without configuring ORCID at all, and running the index-authority script, and I see this error in dspace.log, after observing on the console the intended error message (*skip to the end):
2014-12-05 19:15:49,384 DEBUG org.dspace.authority.AuthoritySolrServiceImpl @ Solr authority URL: null
2014-12-05 19:15:49,389 ERROR org.dspace.authority.AuthoritySolrServiceImpl @ Authority solr is not correctly configured, check "solr.authority.server" property in the dspace.cfg
java.lang.NullPointerException
at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:150)
at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:141)
at org.dspace.authority.AuthoritySolrServiceImpl.getSolr(AuthoritySolrServiceImpl.java:49)
at org.dspace.authority.AuthoritySolrServiceImpl.isConfiguredProperly(AuthoritySolrServiceImpl.java:93)
at org.dspace.authority.indexer.AuthorityIndexClient.isConfigurationValid(AuthorityInd
@hardyoyo
hardyoyo / msg.txt
Last active August 29, 2015 14:13
DSpace 5 almost released
Hi, a careful observer of Source Forge or Maven Central may notice that DSpace 5.0 was actually
released *today*, January 16, 2015. However, with the holiday weekend in the US coming up (Martin
Luther King, Jr. Day--Monday January 19, 2015), the DSpace 5.0 Release Team has elected to delay
the announcement of the release until Tuesday January 20. The email below, which is still being
drafted at this time, will be sent early in the morning of Tuesday. However, if you're just
itching to try out the new release, it's available for you to try out now.
If you have the patience, or better things to do, by all means, just wait until we announce the
release on Tuesday. :-) But, between you and me, we're pretty much done. If this seems like a
cause for celebration, you may begin celebrating.
@hardyoyo
hardyoyo / dspace-5-release.txt
Created January 20, 2015 16:32
DSpace 5 release announcement
subject: DSpace 5 is Now Available
On behalf of the DSpace developers, we would like to formally announce
that DSpace 5.0 is now available!
DSpace 5.0 can be downloaded immediately at either of the following
locations:
* SourceForge: https://sourceforge.net/projects/dspace/files/
* GitHub: https://github.com/DSpace/DSpace/ (see the "dspace-5.0" tag)
@hardyoyo
hardyoyo / stacktrace_for_DS-2034.txt
Created February 4, 2015 19:10
newer stack trace for DS-2034
Java stacktrace: org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters' parameter is required for list items. at org.dspace.app.xmlui.wing.element.AbstractWingElement.require(AbstractWingElement.java:117) at org.dspace.app.xmlui.wing.element.List.addItem(List.java:292) at org.dspace.app.xmlui.aspect.administrative.ControlPanel.addDSpaceConfiguration(ControlPanel.java:531) at org.dspace.app.xmlui.aspect.administrative.ControlPanel.addBody(ControlPanel.java:324) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy96.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at
@hardyoyo
hardyoyo / install.pp
Created February 12, 2015 15:51
re: DS-2450, this is a WIP adjustment at the request of tdonohue
# Definition: dspace::install
#
# Each time this is called, the following happens:
# - DSpace source is pulled down from GitHub
# - DSpace Maven build process is run (if it has not yet been run)
# - DSpace Ant installation process is run (if it has not yet been run)
#
# Tested on:
# - Ubuntu 12.04
#