I put IPFS on a Raspberry Pi and so should you!
- Raspberry Pi 3 B: $43
- Micro SD card: $11
- [Raspberry Pi charger](ht
<?xml version='1.0' encoding='UTF-8'?> | |
<mets:mets xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version1121/mets.xsd"> | |
<mets:metsHdr CREATEDATE="2020-06-11T23:05:01"/> | |
<mets:dmdSec ID="dmdSec_1"> | |
<mets:mdWrap MDTYPE="PREMIS:OBJECT"> | |
<mets:xmlData> | |
<premis:object xmlns:premis="http://www.loc.gov/premis/v3" xsi:type="premis:intellectualEntity" xsi:schemaLocation="http://www.loc.gov/premis/v3 http://www.loc.gov/standards/premis/v3/premis.xsd" version="3.0"> | |
<premis:objectIdentifier> | |
<premis:objectIdentifierType>UUID</premis:objectIdentifierType> | |
<premis:objectIdentifierValue>248772ca-9f53-4972-bcd7-f77afb1fae4f</premis:objectIdentifierValue> |
import base64 | |
sample_string_bytes = base64.b64decode("KFukvivpCM5QXl5SqKe41g==") | |
print(f"Bytes: {sample_string_bytes}") | |
try: | |
sample_string = sample_string_bytes.decode("utf-8") | |
print(f"Decoded string: {sample_string}") | |
except Exception as e: |
import pymysql.cursors | |
import sqlite3 | |
mysqlConnection = pymysql.connect( | |
host="localhost", | |
user="grafana", | |
password="grafana", | |
db="grafana", | |
charset="utf8mb4", | |
cursorclass=pymysql.cursors.DictCursor, |
# pip install pymysql | |
import pymysql.cursors | |
import sqlite3 | |
import datetime | |
sqliteDbName = "am_es_cdd02460-c432-4bdc-bca3-34ae3fb006a6.db" | |
atomSiteURL = "http://10.10.10.10/" | |
# Connect to the am-2-atom-metadata-migrator Sqlite database | |
sqliteDb = sqlite3.connect(sqliteDbName) |
import datetime | |
import sys | |
import json | |
import os.path | |
import sqlite3 | |
from elasticsearch import Elasticsearch | |
from elasticsearch.exceptions import RequestError, NotFoundError | |
# Connect to Elasticsearch |
curl -H 'Content-Type: application/json' -X GET 'http://localhost:9200/_search' -d' | |
{ | |
"query": { | |
"match_all": {} | |
} | |
}' > es.json | |
curl -s -XGET http://localhost:9200/aipfiles/_doc/_count?q=fileExtension:jpg | jq '.count' |
Verifying that +vangarderen is my blockchain ID. https://onename.com/vangarderen
I hereby claim:
To claim this, I am signing this object: