Skip to content

Instantly share code, notes, and snippets.

View JocelynTriplett's full-sized avatar

Jocelyn Triplett JocelynTriplett

View GitHub Profile
{"@context":["http://www.w3.org/ns/anno.jsonld","http://iiif.io/api/presentation/4/context.json"],"type":"Manifest","id":"https://www.morphosource.org/manifests/929c0d84-addb-4dd3-a860-3bd485b1ae94","label":{"none":["Codex A: Mirando do Douro (South-East)"]},"metadata":[{"label":{"none":["Title"]},"value":{"none":["\u003ca href='https://www.morphosource.org/concern/media/000865093'\u003eMorphoSource Media 000865093: Codex A: Mirando do Douro (South-East)\u003c/a\u003e"]}},{"label":{"none":["Object element or part"]},"value":{"none":["Mirando do Douro"]}},{"label":{"none":["Object represented"]},"value":{"none":["Livro Das Fortalezas : Fac Simile Do Ms. 159 Da Casa Forte Do Arquivo Nacional Da Torre Do Tombo"]}},{"label":{"none":["Object organization"]},"value":{"none":["Private Collection of Edward Triplett"]}},{"label":{"none":["Media type"]},"value":{"none":["Image"]}},{"label":{"none":["Media imaging modality"]},"value":{"none":["Photography"]}},{"label":{"none":["Data uploaded by"]},"value":{"none":["Edwa
@JocelynTriplett
JocelynTriplett / gist:375952b57a6b5214b7742eb5209a3354
Last active February 28, 2018 16:26 — forked from joho/gist:3735740
PostgreSQL 9.6.5 to 10.2 upgrade steps
Steps to install and run PostgreSQL 9.6.5 using Homebrew (Mac OS X)
1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
2. mv /usr/local/var/postgres /usr/local/var/postgres96
3. brew update
4. brew upgrade postgresql
5. initdb /usr/local/var/postgres -E utf8
6. pg_upgrade -b /usr/local/Cellar/postgresql/9.6.5/bin -B /usr/local/Cellar/postgresql/10.2/bin -d /usr/local/var/postgres96 -D /usr/local/var/postgres
7. cp /usr/local/Cellar/postgresql/10.2/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
8. pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start