Skip to content

Instantly share code, notes, and snippets.


Ruben Verborgh RubenVerborgh

View GitHub Profile
RubenVerborgh / reply.txt
Created Mar 18, 2019
Reply to no-open review invitation
View reply.txt
Dear editor,
Thanks for inviting me as a reviewer.
While the topic is relevant to my expertise,
I only review for journals with an open review process.
As such, I have to decline your invitation.
I believe that, as scientists working for the public,
we should make the output of our scientific processes
publicly and immediately accessible.
RubenVerborgh / reply.txt
Created Feb 15, 2019
Facebook scamming their way out of a GDPR Subject Access Request
View reply.txt
Hi Ruben,
We refer to your request in accordance with Article 15 of the Data Protection Regulation 2016/679 ("GDPR") which we received on 1/14/2019.
1. How can I access my personal data on Facebook?
As a Facebook user, you can access your Facebook user information, including photos, posts, reactions and comments, using the Access Your Information tool which allows you to view your account data at any time and in a single place. We've categorised this information by type so you can find what you're looking for.
The Access Your Information tool is available in the “Your Facebook Information” section of the settings.
To view Your Facebook Information from a computer:
View activitystreams-http-https.txt
$ curl -s -H "Accept: text/html" | grep "://"
<!DOCTYPE html><html dir="ltr" typeof="bibo:Document " prefix="bibo: w3p: as:" lang="en"><head><meta charset="utf-8"><meta name="generator" content="ReSpec 20.7.1"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta property="dc:language" content="en" lang="">
<body prefix="as:" about="" typeof="as:Article" property="as:content" datatype="rdf:HTML" class="h-entry"><div class="head">
$ curl -s -H "Accept: application/json" | grep "://"
"as": "",
View solid-auth-client.html
<!doctype html>
<meta charset="UTF-8">
<link rel="stylesheet" href="data:text/css;base64,LyogVmVuZG9yZWQgZnJvbSBodHRwczovL2dpdGh1Yi5jb20vcm1taC93ZWJ0cmVlbWFwL2Jsb2IvOWZhMGMwNjZhMTBlYTQ0MDJkOTYwYjBjNmMxYTQzMjg0NmFjN2ZjNC93ZWJ0cmVlbWFwLmNzcyAqLwoKLndlYnRyZWVtYXAtbm9kZSB7CiAgLyogUmVxdWlyZWQgYXR0cmlidXRlcy4gKi8KICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgb3ZlcmZsb3c6IGhpZGRlbjsgICAvKiBUbyBoaWRlIG92ZXJsb25nIGNhcHRpb25zLiAqLwogIGJhY2tncm91bmQ6IHdoaXRlOyAgLyogTm9kZXMgbXVzdCBiZSBvcGFxdWUgZm9yIHpJbmRleCBsYXllcmluZy4gKi8KICBib3JkZXI6IHNvbGlkIDFweCBibGFjazsgIC8qIENhbGN1bGF0aW9ucyBhc3N1bWUgMXB4IGJvcmRlci4gKi8KCiAgLyogT3B0aW9uYWw6IENTUyBhbmltYXRpb24uICovCiAgdHJhbnNpdGlvbjogdG9wICAgIDAuM3MsCiAgICAgICAgICAgICAgbGVmdCAgIDAuM3MsCiAgICAgICAgICAgICAgd2lkdGggIDAuM3MsCiAgICAgICAgICAgICAgaGVpZ2h0IDAuM3M7Cn0KCi8qIE9wdGlvbmFsOiBoaWdobGlnaHQgbm9kZXMgb24gbW91c2VvdmVyLiAqLwoud2VidHJlZW1hcC1ub2RlOmhvdmVyIHsKICBiYWNrZ3JvdW5kOiAjZWVlOwp9CgovKiBPcHRpb25hbDogRGlmZmVyZW50IGJhY2tncm91bmQgY29sb3JzIGRlcGVuZGluZyBvbiBzeW1ib2wuICovCi53ZWJ0cmVlbWFwLXN
RubenVerborgh /
Last active May 19, 2017
Discussion proposal ESWC2017 workshop on Enabling Decentralised Scholarly Communication
RubenVerborgh /
Created Mar 7, 2017
Conneg over RDF serializations
curl -H "Accept: text/html"
curl -H "Accept: text/turtle"
curl -H "Accept: application/json"
curl -H "Accept: application/ld+json"
curl -H "Accept: application/n-triples"
curl -H "Accept: application/trig"
curl -H "Accept: application/n-quads"
RubenVerborgh /
Last active Jan 3, 2017
NGINX config for
proxy_cache_path /mnt/tmp/cache/nginx levels=1:2 keys_zone=fragments-cache:100m max_size=20g inactive=600m;
proxy_temp_path /mnt/tmp/nginx;
upstream fragments-node {
server {
RubenVerborgh /
Created Dec 12, 2016
looking for colleagues: 2 SemWeb researchers @ Ghent University – imec
View ttl-to-jsonld.js
const N3 = require('n3'),
fs = require('fs');
const stream = fs.createReadStream('file.ttl');
var first = true;
const triples = new N3.Parser().parse(stream, (error, triple) => {
if (triple) {
if (first)
RubenVerborgh / snippet.html
Last active Oct 7, 2016
Failing fragment on Structured Data Testing Tool
View snippet.html
<div vocab="" typeof="BlogPosting" resource="">
<!-- Try adding and removing the line below: -->
<meta property="publisher" resource="">
<p resource="" typeof="Person">
<span property="name">Ruben Verborgh</span>