Skip to content

Instantly share code, notes, and snippets.

View pietercolpaert's full-sized avatar
🎯
Building Linked Data Event Streams

Pieter Colpaert pietercolpaert

🎯
Building Linked Data Event Streams
View GitHub Profile
This file has been truncated, but you can view the full file.
01
01%20boulevard%20DE%20DOULON%20(Nantes)
01+rue+du+pet
01+rue+du+petit+mar
0%20Boulevard%20Gaston%20Doumergue,%2044200%20Nantes
0%20ru
0%20rue%20Baste
0%20ST-SEBASTIEN-SUR-LOIRE
022
02210
@stephanetimmermans
stephanetimmermans / ubuntu-compass-ruby
Last active May 16, 2024 03:29
Install Compass+Ruby on Ubuntu 14.04
#https://gorails.com/setup/ubuntu/14.04
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default

Accessing data through APIs

Update: my blog post The lie of the API details the issues with current APIs.

Background: I'm a researcher in semantic hypermedia, at the moment comparing different APIs for accessing metadata for human and machine consumption.

Story: I am browsing a cultural website and want to retrieve the metadata of the object I'm looking at in a machine-readable format. The steps below are the actual steps that I've undertaken on different sites.

Example: Cooper-Hewitt museum

I'm looking at the object http://collection.cooperhewitt.org/objects/35460799/.

@chrismetcalf
chrismetcalf / gist:5453013
Created April 24, 2013 15:28
#odw13 Barcamp Sessions - What is an open data business?

What is an open data business?

  • An organization that uses open data as a resource to be refined, improved, or augmented to provide additional value
  • If access to the open data is later limited or removed, the business will be adversely affected

How do we measure the the impact of open data businesses?

  • is it the value they add?
  • is it the value of the business?
  • how do you set a value on data that is free?
@stratawing
stratawing / XLSX to ES
Created February 13, 2012 21:27
Command Line Script to bulk load XLSX into ES
unzip -Uo 10k_records.xlsx xl/worksheets/sheet1.xml xl/sharedStrings.xml -d proc
cat proc/xl/sharedStrings.xml \
| sed -e 's/[^[:print:][:blank:][:space:]]/[?]/g' -e 's/|/-delim-/g' \
| mawk 'BEGIN {RS = "</t></si><si><t>|<si><t>|</t></si></sst>|</t></si><si><t xml:space=\"preserve\">"
FS = "999ABCDE"
OFS = "|"}
{ print NR - 2, $1 }' \
| LANG=C sort -f -t "|" -k1 \
| grep -v "<sst xmlns=\|<?xml version" \
@pietercolpaert
pietercolpaert / .emacs
Created January 31, 2012 00:08
My .emacs file
(load "~/elisp/autoloads" 'install)
(add-to-list 'load-path "~/elisp/")
(set-frame-height (selected-frame) 48)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(csv-separators (quote (";")))
'(cua-mode t nil (cua-base))
#
# New git repo located at https://github.com/iRail/BeTrains.Bash - please update bookmark
#