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/sh | |
serverpath="/path/to/Cantaloupe-Ordner" | |
passA="[Passwort A]" | |
passB="[Passwort B]" | |
pempath="/etc/letsencrypt/live/[Domain-Name]" | |
pkcsname="fullchain_and_key.p12" | |
keyalias="[Aliasname]" | |
jksname="MyKeyStore.jks" |
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/sh | |
path="/path/to/Cantaloupe-ordner" | |
path2='dirname $0' | |
cd $path2 | |
/usr/bin/certbot-auto renew --force-renewal --standalone | |
$path/create_keystore.sh |
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/sh | |
path="path/to/Cantaloupe-ordner" | |
path2='dirname $0' | |
cd $path2 | |
/usr/bin/certbot-auto renew --standalone --quiet | |
$path/create_keystore.sh |
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/bash | |
# für stoppen | |
path="/path/to/Cantaloupe-Ordner" | |
targetpath="$path/cantaloupe-4.0.2.war" | |
cd $path | |
echo "Stop $targetpath server." |
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": "https://j-images.ch/iiif-manifests/manifest_map4_on1page.json", | |
"@type": "sc:Manifest", | |
"label": "Dai Nihon dôchû kôtei saikenki", | |
"metadata": [ | |
{ | |
"label": "Title", | |
"value": { | |
"@value": "大日本道中行程細見記", |
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
import json | |
def main(): | |
f = open("/path/to/your.geojson", 'r') | |
json_data = json.load(f) | |
for i in range(len(json_data["features"])): | |
lat2 = json_data["features"][i]["properties"]["lat2"] | |
lon2 = json_data["features"][i]["properties"]["lon2"] |
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
function getBibliografy() { | |
//最後のスライドを取得し、そのテキストボックスも取得 | |
var presentationID = "your presentation-id"; | |
var presentation = SlidesApp.openById(presentationID); | |
var slide = presentation.getSlides()[x]; //スライドx枚目 | |
var shape = slide.getShapes(); | |
var textBox = shape[0]; // 1番目のShape | |
var textRange = textBox.getText(); | |
textRange.clear(); |
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://93198e01-31fa-4953-a809-7cce9c2aa606", | |
"@type": "sc:Manifest", | |
"label": "test", | |
"metadata": [], | |
"description": [ | |
{ | |
"@value": "test", | |
"@language": "en" |
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
import pandas as pd | |
import requests | |
df = pd.read_csv('snf_person.csv', sep=',') | |
df['viaf'] = 'NaN' | |
df['orcid_gnd'] = 'NaN' | |
df['gnd'] = 'NaN' | |
df['ambiguity'] = 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
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://91d111ec-49ff-40c5-bd1e-fd3bdecee82d", | |
"@type": "sc:Manifest", | |
"label": "my favorit things", | |
"metadata": [], | |
"description": [ | |
{ | |
"@value": "... my favorit images", | |
"@language": "en" |
OlderNewer