Skip to content

Instantly share code, notes, and snippets.

Avatar

Ruben Verborgh RubenVerborgh

View GitHub Profile
@RubenVerborgh
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
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" https://www.w3.org/ns/activitystreams | grep "://www.w3.org/ns/activitystreams"
<!DOCTYPE html><html dir="ltr" typeof="bibo:Document " prefix="bibo: http://purl.org/ontology/bibo/ w3p: http://www.w3.org/2001/02pd/rec54# as: http://www.w3.org/ns/activitystreams#" 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: http://www.w3.org/ns/activitystreams#" about="" typeof="as:Article" property="as:content" datatype="rdf:HTML" class="h-entry"><div class="head">
<dd><code>http://www.w3.org/ns/activitystreams#</code></dd>
$ curl -s -H "Accept: application/json" https://www.w3.org/ns/activitystreams | grep "://www.w3.org/ns/activitystreams"
"as": "https://www.w3.org/ns/activitystreams#",
View solid-auth-client.html
<!doctype html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="data:text/css;base64,LyogVmVuZG9yZWQgZnJvbSBodHRwczovL2dpdGh1Yi5jb20vcm1taC93ZWJ0cmVlbWFwL2Jsb2IvOWZhMGMwNjZhMTBlYTQ0MDJkOTYwYjBjNmMxYTQzMjg0NmFjN2ZjNC93ZWJ0cmVlbWFwLmNzcyAqLwoKLndlYnRyZWVtYXAtbm9kZSB7CiAgLyogUmVxdWlyZWQgYXR0cmlidXRlcy4gKi8KICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgb3ZlcmZsb3c6IGhpZGRlbjsgICAvKiBUbyBoaWRlIG92ZXJsb25nIGNhcHRpb25zLiAqLwogIGJhY2tncm91bmQ6IHdoaXRlOyAgLyogTm9kZXMgbXVzdCBiZSBvcGFxdWUgZm9yIHpJbmRleCBsYXllcmluZy4gKi8KICBib3JkZXI6IHNvbGlkIDFweCBibGFjazsgIC8qIENhbGN1bGF0aW9ucyBhc3N1bWUgMXB4IGJvcmRlci4gKi8KCiAgLyogT3B0aW9uYWw6IENTUyBhbmltYXRpb24uICovCiAgdHJhbnNpdGlvbjogdG9wICAgIDAuM3MsCiAgICAgICAgICAgICAgbGVmdCAgIDAuM3MsCiAgICAgICAgICAgICAgd2lkdGggIDAuM3MsCiAgICAgICAgICAgICAgaGVpZ2h0IDAuM3M7Cn0KCi8qIE9wdGlvbmFsOiBoaWdobGlnaHQgbm9kZXMgb24gbW91c2VvdmVyLiAqLwoud2VidHJlZW1hcC1ub2RlOmhvdmVyIHsKICBiYWNrZ3JvdW5kOiAjZWVlOwp9CgovKiBPcHRpb25hbDogRGlmZmVyZW50IGJhY2tncm91bmQgY29sb3JzIGRlcGVuZGluZyBvbiBzeW1ib2wuICovCi53ZWJ0cmVlbWFwLXN
@RubenVerborgh
RubenVerborgh / proposal.md
Last active May 19, 2017
Discussion proposal ESWC2017 workshop on Enabling Decentralised Scholarly Communication
View proposal.md
@RubenVerborgh
RubenVerborgh / conneg.sh
Created Mar 7, 2017
Conneg over RDF serializations
View conneg.sh
curl -H "Accept: text/html" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: text/turtle" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/json" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/ld+json" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/n-triples" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/trig" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/n-quads" http://fragments.dbpedia.org/2016-04/en
@RubenVerborgh
RubenVerborgh / fragments.dbpedia.org.conf
Last active Jan 3, 2017
NGINX config for fragments.dbpedia.org
View fragments.dbpedia.org.conf
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 127.0.0.1:4000;
}
server {
server_name fragments.dbpedia.org;
@RubenVerborgh
RubenVerborgh / vacancies.md
Created Dec 12, 2016
looking for colleagues: 2 SemWeb researchers @ Ghent University – imec
View vacancies.md
View ttl-to-jsonld.js
const N3 = require('n3'),
fs = require('fs');
const stream = fs.createReadStream('file.ttl');
var first = true;
console.log('{');
const triples = new N3.Parser().parse(stream, (error, triple) => {
if (triple) {
if (first)
@RubenVerborgh
RubenVerborgh / snippet.html
Last active Oct 7, 2016
Failing fragment on Structured Data Testing Tool
View snippet.html
<div vocab="http://schema.org" typeof="BlogPosting" resource="https://ruben.verborgh.org/blog/2016/06/22/querying-history-with-linked-data/">
<!-- Try adding and removing the line below: -->
<meta property="publisher" resource="https://ruben.verborgh.org/profile/#me">
<p resource="https://ruben.verborgh.org/profile/#me" typeof="Person">
<span property="name">Ruben Verborgh</span>