This file contains hidden or 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/bash | |
| # run ffprobe to gather format/duration info | |
| # returns filename,dummyfield,duration,size | |
| # print the filename first no matter what, because we want to see what's in the directories | |
| printf "$1," | |
| output=$(ffprobe -v quiet -of csv -show_entries format=format_name,duration,size "$1") | |
| retVal=$? |
This file contains hidden or 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/bash | |
| for file in colloquia; do \ | |
| if ! [[ $file =~ (\.vt|sr)t$ ]] # skip the caption files | |
| then | |
| ffprobe -v quiet -of json -show_format -show_streams $file \ | |
| | jq -rc '{filename: .format.filename, codec: [.streams[] | select(.codec_type == "video")] | .[].codec_tag_string}' \ | |
| >> ~/colloquia.ndjson | |
| fi |
This file contains hidden or 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
| { | |
| "@context": { | |
| "dadocm": "https://archives.albany.edu/dadocm/", | |
| "dc": "http://purl.org/dc/elements/1.1/", | |
| "dct": "http://purl.org/dc/terms/", | |
| "edm": "http://www.europeana.eu/schemas/edm/", | |
| "ore": "http://www.openarchives.org/ore/terms/", | |
| "rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
| "wd": "https://www.wikidata.org/wiki/", | |
| "xlink": "http://www.w3.org/1999/xlink/namespace/" |
This file contains hidden or 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
| # Films starring Nicolas Cage that are not direct to video/video on demand | |
| # Intended to help making it easier to load this data into a Letterboxd list | |
| # See https://letterboxd.com/about/importing-data/ for more info | |
| SELECT ?item | |
| ?itemLabel | |
| ?LetterboxdURI | |
| (?itemLabel AS ?Title) | |
| (YEAR(MIN(?date)) AS ?Year) | |
| (GROUP_CONCAT(DISTINCT ?directorLabel; SEPARATOR = ", ") AS ?Directors) | |
| WHERE { |
This file contains hidden or 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
| li-dl-7346-0256:tmp matienzo$ resync-sync -v --capability-list https://pod.stanford.edu/.well-known/resourcesync/normalized-capabilitylist/marcxml --access-token "eyJhbGciOiJIUzI1NiJ9.foobar" -b https://pod.stanford.edu/ pod | |
| Reading capability list https://pod.stanford.edu/.well-known/resourcesync/normalized-capabilitylist/marcxml | |
| Reading resource list https://pod.stanford.edu/organizations/normalized_resourcelist/marcxml | |
| Traceback (most recent call last): | |
| File "/usr/local/lib/python3.9/site-packages/resync/client.py", line 101, in read_resource_list | |
| resource_list.read(uri=uri) | |
| File "/usr/local/lib/python3.9/site-packages/resync/list_base_with_index.py", line 99, in read | |
| self.content_length = int(fh.info()['Content-Length']) | |
| TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' | |
| During handling of the above exception, another exception occurred: |
This file contains hidden or 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
| { | |
| "links": { | |
| "self": "https://spotlight.dev.dlmenetwork.org/catalog/81055%2Fvdc_100000000831.0x000044_dlme" | |
| }, | |
| "data": { | |
| "id": "81055/vdc_100000000831.0x000044_dlme", | |
| "type": null, | |
| "attributes": { | |
| "date": { | |
| "id": "https://spotlight.dev.dlmenetwork.org/catalog/81055%2Fvdc_100000000831.0x000044_dlme#date", |
This file contains hidden or 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
| { | |
| "skill": 5, | |
| "stamina": { | |
| "max": 18, | |
| "remaining": 15 | |
| }, | |
| "name": "Tom Sawyer", | |
| "background": "River Child", | |
| "luck": { | |
| "max": 8, |
This file contains hidden or 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
| Loading data/ead/cmu-clark/hemingwayernest.xml into index... | |
| I, [2019-09-16T09:23:54.983919 #92677] INFO -- : traject (3.2.0) executing with: `-u http://127.0.0.1:8983/solr/blacklight-core/ -i xml -c /Users/matienzo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/arclight-f2ca695d9025/lib/arclight/traject/ead2_config.rb data/ead/cmu-clark/hemingwayernest.xml` | |
| I, [2019-09-16T09:23:54.984047 #92677] INFO -- : Reading from data/ead/cmu-clark/hemingwayernest.xml | |
| D, [2019-09-16T09:23:54.984181 #92677] DEBUG -- : beginning Traject::Indexer#process with settings: {"solr.url"=>"http://127.0.0.1:8983/solr/blacklight-core/", "reader_class_name"=>"Arclight::Traject::NokogiriNamespacelessReader", "solr_writer.commit_on_close"=>"true", "repository"=>nil, "logger"=>#<Logger:0x00007ff39c1587f8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007ff39c158780 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007ff39c158708 @shift_period_suffix=nil, @shift_size=nil, @shift_age=ni |
This file contains hidden or 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
| E, [2019-09-09T14:33:44.296106 #7497] ERROR -- : Unexpected error on record <record #1 (./data/ead/InU-cshm/ohrc072.xml #1)> | |
| while executing (to_field "level_ssm" at /Users/matienzo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/arclight-8117240af792/lib/arclight/traject/ead2_config.rb:80) | |
| Record: <?xml version="1.0" encoding="UTF-8"?> | |
| <ead xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd"> | |
| <eadheader relatedencoding="dublincore" audience="external" langencoding="iso639-2b" scriptencoding="iso15924" repositoryencoding="iso15511" countryencoding="iso3166-1" dateencoding="iso8601" findaidstatus="edited-full-draft"> | |
| <eadid encodinganalog="identifier" identifier="ohrc072" countrycode="US" mainagencycode="US-InU">ohrc072</eadid> | |
| <filedesc> |
This file contains hidden or 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
| { | |
| "@context": "http://iiif.io/api/presentation/2/context.json", | |
| "@id": "https://purl.stanford.edu/xt162pg0437/iiif/manifest", | |
| "@type": "sc:Manifest", | |
| "label": "Annual report of the Council of the Corporation of Foreign Bondholders. 1988", | |
| "attribution": "Copyright © Stanford University. All Rights Reserved.", | |
| "logo": { | |
| "@id": "https://stacks.stanford.edu/image/iiif/wy534zh7137%2FSULAIR_rosette/full/400,/0/default.jpg", | |
| "service": { | |
| "@context": "http://iiif.io/api/image/2/context.json", |
NewerOlder