Skip to content

Instantly share code, notes, and snippets.

ArchivesSpace binary distribution

The .jar file distribution requires that users type a complex java command line to start the application.

Proposal: distribute a .zip file that contains the .jar as well as some wrapper scripts to start up the server.

Assumes either java 6 or java 7 is on the $PATH or %PATH%.

This is what you would get when you unpack the file:

@bradwright
bradwright / send-mail-to-omnifocus-and-archive.scpt
Last active August 25, 2016 19:05
Take current Mail.app message, send its subject and 'message:<>' URL to OmniFocus, and then Archive the email
-- Send currently selected Mail.app message to OmniFocus 2 quick entry box, then archive it
-- Archive behaviour found at: http://vemedio.com/blog/posts/my-archive-email-apple-script
tell application "Mail"
set theSelectedMessages to selection
set the selected_message to item 1 ¬
of the theSelectedMessages
set message_id to the message id of the selected_message
set my_subject to the subject of the selected_message
set message_url to "message://%3c" & message_id & "%3e"
@jbrunner
jbrunner / decrypt_saml_response.py
Last active November 28, 2024 14:04 — forked from orimanabu/decrypt_saml_response.py
SAML Response Decrypter
#!/usr/bin/env python
# Prereq: PyCryptodome
# Validation: https://www.samltool.com/decrypt.php
# Usage: ./decrypt_saml_response.py --key PRIVATE_KEY --pretty-print RESPONSE_XML
import sys
import optparse
import base64
from lxml import etree