Skip to content

Instantly share code, notes, and snippets.

Florian Feldhaus ffeldhaus

Block or report user

Report or block ffeldhaus

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
ffeldhaus / Grafana-Dashboard-StorageGRID.json
Created Nov 24, 2017
Graphana Dashboard for NetApp StorageGRID
View Grafana-Dashboard-StorageGRID.json
"__inputs": [
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
ffeldhaus /
Last active Sep 10, 2019
Bootstrap Synology ds215j using optware-ng

Bootstrap the Synology DS215j with optware-ng

I tried the instructions described in the Blogpost Bootstrap DS215j to install optware for ds215j but was unsatisfied with the long outdated packages it provided. Luckily, there now is optware-ng which is a fork of optware and provides recent packages.

This is how I managed to install optware-ng on my Synology ds215j inspired by the instructions in the Gist Boostrap the Synology DS215j with optware, ipkg, and sudo:

Download & Install ipkg in a persistent manner

# become root
sudo -i
ffeldhaus / gist:5013193
Created Feb 22, 2013
rOCCI adding a user defined mixin
View gist:5013193
scheme = 'http://myscheme#'
term = 'myterm'
title = 'mytitle'
attributes =
related = []
my_mixin = scheme, term, title, attributes, related
# POST /-/
# Body: Rendering of the mixin
ffeldhaus / gist:4197449
Created Dec 3, 2012
Script for measuring the duration of nova get-vnc-console
View gist:4197449
# first parameter is the ID of a nova instance
# second parameter may be the amount of runs
# mv out file to old
ffeldhaus / gist:4018052
Created Nov 5, 2012
rOCCI parse text plain message
View gist:4018052
1.9.3p286 :001 > body=%Q|Category: storage;scheme="";class="kind"
1.9.3p286 :002"> Category: storage;scheme="";class="mixin"
1.9.3p286 :003"> X-OCCI-Attribute:"e7db6669-d819-5e20-a7ee-90be46591490"
1.9.3p286 :004"> X-OCCI-Attribute: occi.core.title="debian6"
1.9.3p286 :005"> X-OCCI-Attribute: occi.core.summary="Debian6 sample image"
1.9.3p286 :006"> X-OCCI-Attribute:"online"
1.9.3p286 :007"> X-OCCI-Attribute:"31"
1.9.3p286 :008"> X-OCCI-Attribute:"OS"
1.9.3p286 :009"> X-OCCI-Attribute:"xvd"
1.9.3p286 :010"> X-OCCI-Attribute:"ide"
ffeldhaus / gist:3861740
Created Oct 9, 2012
rOCCI awesomeness
View gist:3861740
irb -I lib/
1.9.3p194 :001 > require 'occi'
=> true
1.9.3p194 :002 > ''
=> {
"kind": ""
1.9.3p194 :003 > network.class
=> Occi::Infrastructure::Network
1.9.3p194 :004 > network.class.superclass
ffeldhaus / gist:3821245
Created Oct 2, 2012
rOCCI 3.0 alpha example
View gist:3821245
1.9.3p194 :001 > require 'occi'
=> true
1.9.3p194 :002 > ''
=> {
"kind": ""
1.9.3p194 :003 > compute.cores=5
=> 5
1.9.3p194 :004 > compute
ffeldhaus / gist:3748656
Created Sep 19, 2012
Error in OpenStack OCCI when rendering discovery interface in text/occi
View gist:3748656
Florians-MacBook-Pro-3:rOCCI ffeldhaus$ curl -v --cert /Users/ffeldhaus/.cert/florianfeldhaus.pem --capath /Users/ffeldhaus/.cert/grid-security/ -X GET -H 'Accept: text/occi'
* About to connect() to port 5000 (#0)
* Trying
* connected
* Connected to ( port 5000 (#0)
Enter PEM pass phrase:
* successfully set certificate verify locations:
* CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: /Users/ffeldhaus/.cert/grid-security/
* SSLv3, TLS handshake, Client hello (1):
ffeldhaus / README
Created Sep 13, 2012
OCCI Test Scenarios
The Cloud Standards Interoperability Plugfest Series (or "Cloud Plugfests"
for short) was originated by the OGF and SNIA in 2011 as a method to exchange
information and to encourage interoperability on implementations of cloud
standards. It has since expanded to include a variety of tools provided by
these organizations and by ETSI to support the community, and is open to
participation by other organizations.
This tool set hosted on the site supports those community activities
and features that are in public view according to the terms of the Open Grid
Forum IPR. The community is welcome to make use of the tools and features
View gist:3619933
diff --git a/lib/occi/api/client.rb b/lib/occi/api/client.rb
index 13875ff..59ca9af 100644
--- a/lib/occi/api/client.rb
+++ b/lib/occi/api/client.rb
@@ -7,6 +7,7 @@ module OCCI
# HTTParty for raw HTTP requests
include HTTParty
+ debug_output $stderr
headers 'Accept' => 'application/occi+json,text/plain;q=0.5'
You can’t perform that action at this time.