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
2020-04-26 18:28:06 - [sway/main.c:152] Linux stelap 5.5.13-arch2-1 #1 SMP PREEMPT Mon, 30 Mar 2020 20:42:41 +0000 x86_64 GNU/Linux | |
2020-04-26 18:28:06 - [sway/main.c:168] Contents of /etc/os-release: | |
2020-04-26 18:28:06 - [sway/main.c:152] NAME="Arch Linux" | |
2020-04-26 18:28:06 - [sway/main.c:152] PRETTY_NAME="Arch Linux" | |
2020-04-26 18:28:06 - [sway/main.c:152] ID=arch | |
2020-04-26 18:28:06 - [sway/main.c:152] BUILD_ID=rolling | |
2020-04-26 18:28:06 - [sway/main.c:152] ANSI_COLOR="0;36" | |
2020-04-26 18:28:06 - [sway/main.c:152] HOME_URL="https://www.archlinux.org/" | |
2020-04-26 18:28:06 - [sway/main.c:152] DOCUMENTATION_URL="https://wiki.archlinux.org/" | |
2020-04-26 18:28:06 - [sway/main.c:152] SUPPORT_URL="https://bbs.archlinux.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
#!/usr/bin/env python3 | |
# Use: test_vips.py image_path iterations [parallel] | |
import sys | |
from multiprocessing import Pool | |
import pyvips as vips |
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 python3 | |
# usage: test_leak.py <image path> | |
import resource | |
import sys | |
import pyvips | |
fname = sys.argv[1] |
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
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://iiif.example.edu/static/iiif_prezi/5799e11d-2e00-439c-a824-fb006fbe7b99.json", | |
"@type": "sc:Collection", | |
"label": "Christo and Jeanne-Claude's family, unidentified location, 1963", | |
"collections": [ | |
{ | |
"@id": "http://iiif.example.edu/static/iiif_prezi/672a852a-f597-445b-82d9-0890e1b96568.json", | |
"@type": "sc:Collection", | |
"label": "07568" |
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 python3 | |
# | |
# Convert TIFF to a Pyramidal TIFF using PyVips. | |
# Usage: tiff_to_ptiff.py <input image path> <output image path> | |
import logging | |
import sys | |
from io import BytesIO | |
from os import path |
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
from combine.config.lpm import lpm as conf | |
from combine.connectors.lake_connector import LakeConnector, LPMConnector | |
from combine.connectors.ts_index_connector import TsIndexConnector | |
from combine.modules.base_module import BaseModule | |
from combine.modules.lake.namespaces import ns_pfx_sparql | |
from combine.modules.task import Task | |
class LpmSync(BaseModule): | |
'''@package combine.modules.sync |