Skip to content

Instantly share code, notes, and snippets.

Matthias Vandermaesen netsensei

Block or report user

Report or block netsensei

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@netsensei
netsensei / dell-xps-9380.md
Last active Sep 16, 2019
Installing Fedora 30 on Dell XPS 13 9380
View dell-xps-9380.md

Installing Fedora 30 on a Dell XPS 13 9380 series in dual boot mode

This guide describes how to install Fedora 30 next to Windows 10 on a Dell XPS 13 9380 series in dual boot.

  • Keep the stock Windows 10 installation that came with the laptop.
  • Install Fedora 30 alongside Windows on the hard disk.
  • Install GRUB as the bootloader allowing you to choose which OS to boot from.

Why did I write this guide?

@netsensei
netsensei / met.sh
Last active Nov 10, 2018
Scrape the Metropolitan Museum API
View met.sh
#!/bin/bash
echo "fetching list of objects";
curl -s "https://collectionapi.metmuseum.org/public/collection/v1/objects" > list.json;
echo "[]" > objects.json;
echo "drawing list of objects";
ids=$(jq -r '.objectIDs | .[]' list.json);
rm list.json;
@netsensei
netsensei / folders.yaml
Last active May 14, 2018
Folder structuur
View folders.yaml
root:
- 00_personeel:
- veiligheid:
- naam: Jos
permissies: alleen-lezen
type: persoon
- naam: Nancy
permissies: lezen, schrijven
type: persoon
- naam: personeel
@netsensei
netsensei / loris.md
Created May 12, 2018
Installing the Loris IIIF server
View loris.md

Python 2.7.9

sudo apt-get install build-essential sudo apt-get install zlib1g-dev libssl-dev python-dev

sudo apt-get install python-pip sudo pip install --upgrade pip sudo pip install virtualenv

cd /opt

@netsensei
netsensei / manifest.json
Last active Apr 19, 2018
IIIF manifest example
View manifest.json
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://rails.box:3000/iiif/2/groeningemuseum:0000_GRO1561_I/manifest.json?locale=nl",
"@type": "sc:Manifest",
"label": "Johannes predikt tot de menigte",
"sequences": [
{
"@id": "http://groeningemuseum.be/collection/work/data/0000_GRO1561_I#sequence-1",
"@type": "sc:Sequence",
"label": "Current order",
@netsensei
netsensei / process.pl
Created Oct 16, 2017
Add raw XML data from an OAI endpoint to a JSON dump in two passes.
View process.pl
#!perl
use JSON;
use Catmandu;
use Try::Tiny::ByClass;
use Data::Dumper;
sub prepare {
my $store = Catmandu->store(
@netsensei
netsensei / arthub.md
Last active Sep 5, 2017
Installing the Datahub::Factory::Arthub modules
View arthub.md

Installing the Datahub::Factory::Arthub modules

Introduction

The Datahub::Factory is a Catmandu based toolkit which allows easy and efficient setup and management of ETL pipelines. A pipeline transforms and transports data between two systems. The set of primary use cases for which this toolkit was conceived is situated within the GLAM (Galleries, Libraries, Archives & Museums) domain.

Out of the box, the Datahub::Factory is a generic, extensible toolkit. While you can use the

@netsensei
netsensei / rma_records.json
Created Aug 5, 2017
Rijkmuseum JSON data as records
View rma_records.json
[
{
"https://www.rijksmuseum.nl/en/collection/BK-AM-33-C": {
"a": "edm_ProvidedCHO",
"dc_coverage": [
"fourth quarter 15th century@en",
"vierde kwart 15e eeuw@nl"
],
"dc_creator": [
"<urn:rijksmuseum%3Apeople%3ARM0001.PEOPLE.107435>",
@netsensei
netsensei / rma.json
Created Aug 5, 2017
Rijksmuseum JSON sample
View rma.json
[
{
"https://www.rijksmuseum.nl/en/collection/BK-AM-33-C": {
"a": "edm_ProvidedCHO"
}
},
{
"https://www.rijksmuseum.nl/en/collection/BK-AM-33-C": {
"dc_coverage": "fourth quarter 15th century@en"
}
@netsensei
netsensei / rma.ttl
Created Aug 5, 2017
Rijksmuseum Turtle sample
View rma.ttl
collection:BK-AM-33-C
a edm:ProvidedCHO ;
dc:coverage "fourth quarter 15th century"@en ,
"vierde kwart 15e eeuw"@nl ;
dc:creator <urn:rijksmuseum%3Apeople%3ARM0001.PEOPLE.107435> ,
<urn:rijksmuseum%3Apeople%3ARM0001.PEOPLE.107436> ,
<urn:rijksmuseum%3Apeople%3ARM0001.PEOPLE.98030> ,
"toegeschreven aan Borman, Jan (II)"@nl ,
"toegeschreven aan Thienen, Renier van"@nl ,
"verworpen toeschrijving Delemer, Jean"@nl ;
You can’t perform that action at this time.