I hereby claim:
- I am jonathangreen on github.
- I am jonawesomegreen (https://keybase.io/jonawesomegreen) on keybase.
- I have a public key ASAZRXoYOAZQFOQ0j09ffKYj8L24utyimmRtvKtwDWp8qAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) | |
# - test_idempotence: whether to test playbook's idempotence (default = true) |
<?php | |
// Some docs here: | |
// https://github.com/Islandora/islandora/wiki/Working-With-Fedora-Objects-Programmatically-Via-Tuque | |
// https://github.com/Islandora/islandora/wiki/Build,-Access,-Modify-and-Delete-Fedora-objects-with-the-Tuque-interface | |
$object = islandora_object_load('my:pid'); | |
$dsid = $object['DSID']; | |
$number_of_versions = count($dsid); | |
foreach ($dsid as $version) { | |
print $version->createdDate->format('Y-m-d H:i:s'); |
require 'yaml' | |
require 'java' | |
require 'monitor' | |
class CustomDelegate < Monitor | |
attr_accessor :context | |
def shared_context | |
synchronize do |