{
//Metadata about this manifest file
"@context": "https://api.clir.org/grants/1/context.json",
"@id": "https://www.example.edu/grants/grant##/manifest",
"@type": "sc:Manifest",
// Descriptive metadata about the object/work
"label": "Recording 1",
"metadata": [
{"label": "Name", "value": "Object name"},
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
du -a /home | sort -n -r | head -n 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'dotenv' | |
require 'any_ascii' | |
require 'aws-sdk-translate' | |
Dotenv.load | |
class String | |
def is_western? | |
count('a-zA-Z') > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
gem 'colorize' | |
gem 'geo_names' | |
gem "geocoder" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
# Add commonly used folders to $PATH | |
export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
for bindir in $HOME/local/bin $HOME/bin; do | |
if [ -d $bindir ]; then | |
PATH=$PATH:${bindir} | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env zsh | |
if [ -z "$1" ] | |
then | |
length=18 | |
else | |
length=$1 | |
fi | |
openssl rand -base64 $length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get update | |
apt-get upgrade | |
apt-get install -y python libmail-mboxparser-perl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-06-26 21:43:28 INFO Zope Ready to handle requests | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'SOAPUtil' from module 'contextual.higherlogic.soaputil.SOAPUtil' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'VocabularyLibrary' from module 'Products.ATVocabularyManager.tools.vocabularylib' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'FormGenTool' from module 'Products.PloneFormGen.tools.formGenTool' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'SmartlinkConfig' from module 'redturtle.smartlink.utility' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'ISmartlinkConfig' from module 'redturtle.smartlink.interfaces.utility' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'IDropdownSpecific' from module 'webcouturier.dropdownmenu.browser.interfaces' | |
2018-06-26 21:43:28 WARNING OFS.Uninstalled Could not import class 'ICollectivePortletClassLayer' from module 'collective.portletclass.inte |
- Add a
.travis.yml
file (like https://github.com/clirdlf/dashboard/blob/master/.travis.yml) - Add
gem 'html-proofer'
toGemfile
- Add a
script/cibuild
script (andchmod +x
) like https://github.com/clirdlf/dashboard/blob/master/script/cibuild. Adjust baseurl as needed. - Enable the repot on https://travis-ci.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IE is still braindead so still use favicon.ico | |
convert -resize x16 -gravity center -crop 16x16+0+0 -flatten -colors 256 input.png output-16x16.ico | |
convert -resize x32 -gravity center -crop 32x32+0+0 -flatten -colors 256 input.png output-32x32.ico | |
convert output-16x16.ico output-32x32.ico favicon.ico | |
# Then, HTML needs to specify size="XxY" as largest size due to browser bugs | |
<link rel="shortcut icon" href="/favicon.ico" sizes="32x32"> |