Skip to content

Instantly share code, notes, and snippets.

@aronr
aronr / gist:2763357
Created May 21, 2012 17:13
person-search template
<div class="fl-container-flex fl-fix information-group info-column">
<div class="fl-container-flex fl-fix content main">
<div class="info-column">
<div class="info-column2-50 fl-force-left">
<div class="info-pair">
<div class="header">
<div class="label csc-person-termDisplayName-label"></div>
</div>
<div class="content clearfix csc-preferredPA-personTermGroup">
<input type="text" class="csc-personAuthority-termDisplayName"/>
@aronr
aronr / App layer tests in CSPACE-5183 branch
Created May 18, 2012 22:56
CollectionSpace P/NP schema change-related test failures
Failed tests:
testAllUISpecs(org.collectionspace.chain.csp.webui.main.TestUIRecords)
testMisc(org.collectionspace.chain.csp.webui.main.TestUIRecords)
Tests in error:
testAuthoritiesSearchList(org.collectionspace.chain.csp.persistence.services.vocab.TestOrgThroughWebapp)
testAuthoritiesSearch(org.collectionspace.chain.csp.persistence.services.vocab.TestNameThroughWebapp)
Tests run: 65, Failures: 2, Errors: 2, Skipped: 0
@aronr
aronr / vagrantfile-cspace-install.md
Last active August 29, 2015 14:23
Mark's Vagrantfile-based CSpace installation

An almost completely unattended way to create a VirtualBox VM running Ubuntu 14.04.x LTS, and then run the automated CollectionSpace server installer within that VM:

  • Install both VirtualBox (https://www.virtualbox.org/) and Vagrant (https://www.vagrantup.com/).
  • Create a new directory.
  • cd to that new directory.
  • In a web browser, visit https://github.com/mark-cooper/cspace_vagrantbox
  • Download the file named Vagrantfile into that new directory. (E.g. right-click or Ctrl-click the Vagrantfile link and choose "Save Link As..." or equivalent, and choose that new directory as the place to download this file.)
  • From within the directory you created, enter: vagrant up (This will initiate the automated installer and start displaying progress messages; allow at least 30 minutes for installation to complete.
  • If any serious errors occur during installation, you can also retry that process; exit from the VM, then at your host computer's shell prompt, enter vagrant halt, vagrant destroy, and then `
[aron@lips-128-32-191-42 ~/Documents/VirtualMachines/Vagrant-VMs/mark]$ vagrant up
Bringing machine 'cspace' up with 'virtualbox' provider...
==> cspace: Importing base box 'ubuntu/trusty64'...
==> cspace: Matching MAC address for NAT networking...
==> cspace: Checking if box 'ubuntu/trusty64' is up to date...
==> cspace: Setting the name of the VM: mark_cspace_1418265751397_79664
==> cspace: Clearing any previously set forwarded ports...
==> cspace: Clearing any previously set network interfaces...
==> cspace: Preparing network interfaces based on configuration...