Skip to content

Instantly share code, notes, and snippets.

View ktk's full-sized avatar

Adrian Gschwend ktk

View GitHub Profile

Continuous Integration & Delivery (CI/CD) Unconference

Tuesday, February 5th, Berner Fachhochschule

We are happy to announce an unconference about the topic of Continuous Integration & Delivery (CI/CD). The event is organized by Swiss Alliance for Data-Intensive Services members Zazuko and Berner Fachhochschule. It will take place on Tuesday afternoon, February 5th 2019. We will start at 13:30 and stop latest at 18:00

What is an unconference?

An Unconference is an event where there is no fix schedule defined upfront, the event will be completely participant-driven. The final agenda is created collaboratively by the attendees at the beginning of the unconference. Anyone who wants to initiate a discussion on a topic can claim a time and a space. Some unconference sessions are led by the participant who suggested its topic; other unconference sessions (for example Open Space meetings) are basically open

@ktk
ktk / SPARQL-tests.md
Last active May 6, 2016 17:36
SPARQL performance tests

SPARQL CONSTRUCT comparison

I had some days left on a physical machine we used for an EU FP7 research project so I took the chance to compare 3 triplestores (update: added some more based on comments here) I or my colleagues worked with in the past months. I do not want to imply anything with this test, it's just me playing around and having fun with RDF. If you have any comments, add it here.

Hardware

The test platform comprises a dedicated server, not a virtual machine, with the following specification:

  • 2 x Intel Xeon E5 2620V2, 2 x (6 x 2.10 GHz) (appears as 24 cores in htop)
  • 128 GB buffered ECC RAM
@ktk
ktk / fuseki-docker.sh
Created December 22, 2015 10:56
From zero to Fuseki Docker hero
#!/bin/sh
docker run -p 3030:3030 -e ADMIN_PASSWORD=MyFancyPassword -d stain/jena-fuseki
sleep 20
curl -u admin:MyFancyPassword --data "dbType=tdb&dbName=mydbname" http://localhost:3030/$/datasets
curl -X PUT -u admin:MyFancyPassword -d @my-data-as-ntriples.nt -H "Content-Type: application/n-triples" http://admin:MyFancyPassword@localhost:3030/mydbname/data
@ktk
ktk / gist:eb414e671484bbaae610
Created December 20, 2015 20:03 — forked from mikepea/gist:07b1cede92c119e4f297
Grafana Scripted Dashboard example for collectd with SeparateInstances and StoreRates enabled
/* global _ */
/*
* Complex scripted dashboard
* This script generates a dashboard object that Grafana can load. It also takes a number of user
* supplied URL parameters (int ARGS variable)
*
* Global accessable variables
* window, document, $, jQuery, ARGS, moment
*
* Return a dashboard object, or a function
@ktk
ktk / Content-location.md
Last active August 23, 2016 15:43
Content-Location instead of 303

Ceci n'est pas une pipe

I got asked on Twitter on how I would use Content-Location with Linked Data, see https://twitter.com/elfpavlik/status/605693139119153153.

I'm referring to my remark from the Trifid-LD Readme:

Trifid-LD does not care about HTTPRange-14 and neither should you. We consider the extra 303 redirect round-trip a waste of precious response time. You get back what you asked for in content-negotiation.

As you can see later in the text we did think about the Content-Location header but didn't implement it so far. The reason is pretty simple: While I understand the problem (up to some point at least) from a meta-level I fail to see where this is an issue in the real world. I'm just an engineer and maybe I'm oversimplifying things here but as long as no one gives me a clear explanation on why this will lead to real world problems, I will continue to ignore HTTPR

This file has been truncated, but you can view the full file.
2001 silly gunzTarPerm modified mode [ 'HISTORY.md', 438, 420 ]
2002 silly gunzTarPerm extractEntry test/dummy_rails/app/helpers/application_helper.rb
2003 silly gunzTarPerm modified mode [ 'test/dummy_rails/app/helpers/application_helper.rb',
2003 silly gunzTarPerm 416,
2003 silly gunzTarPerm 420 ]
2004 silly gunzTarPerm extractEntry test/dummy_rails/app/views/layouts/application.html.erb
2005 silly gunzTarPerm modified mode [ 'test/dummy_rails/app/views/layouts/application.html.erb',
2005 silly gunzTarPerm 416,
2005 silly gunzTarPerm 420 ]
2006 silly gunzTarPerm extractEntry demo/spanaffectswrapping_shim.html
@prefix rr: <http://www.w3.org/ns/r2rml#>.
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
@prefix ql: <http://semweb.mmlab.be/ns/ql#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix oslo: <http://purl.org/oslo/ns/localgov#>.
@prefix adms: <http://www.w3.org/ns/adms#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix adms: <http://www.w3.org/ns/adms#>.
@ktk
ktk / ech_sample.xml
Created February 22, 2015 21:16
ech_sample.xml
<?xml version="1.0" encoding="UTF-8"?>
<eCH-0071:nomenclature xmlns:eCH-0071="http://www.ech.ch/xmlns/eCH-0071/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ech.ch/xmlns/eCH-0071/1 http://www.ech.ch/xmlns/eCH-0071/1/eCH-0071-1-1.xsd">
<validFrom>2015-01-01</validFrom>
<cantons>
<canton>
<cantonId>1</cantonId>
<cantonAbbreviation>ZH</cantonAbbreviation>
<cantonLongName>Zürich</cantonLongName>
<cantonDateOfChange>1960-01-01</cantonDateOfChange>
</canton>
@ktk
ktk / keybase.md
Created June 6, 2014 08:08
Keybase

Keybase proof

I hereby claim:

  • I am ktk on github.
  • I am ktk (https://keybase.io/ktk) on keybase.
  • I have a public key whose fingerprint is 7402 391F 6D81 ED47 A0E8 8758 5EAD 6AF9 8CA2 5D92

To claim this, I am signing this object: