Skip to content

Instantly share code, notes, and snippets.

Olivier Berger olberger

Block or report user

Report or block olberger

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
View minikube-kata.md

Running Kata Containers in Minikube

minikube is an easy way to try out a kubernetes (k8s) cluster locally. It utilises running a single node k8s stack in a local VM.

Kata Containers is an OCI compatible container runtime that runs container workloads inside VMs.

Wouldn't it be nice if you could use kata under minikube to get an easy out of the box experience to try out Kata? Well, turns out with a little bit of config and setup that is already supported, you can!

@olberger
olberger / shibb-cas-get.sh
Created Dec 4, 2014
Connection to a web app protected via Shibboleth with curl
View shibb-cas-get.sh
#!/bin/sh
#set -x
# Usage: shibb-cas-get.sh {username} {password} # If you have any errors try removing the redirects to get more information
# The service to be called, and a url-encoded version (the url encoding isn't perfect, if you're encoding complex stuff you may wish to replace with a different method)
DEST=https://myapp.example.com/
SP=https://myapp.example.com/index.php
IDP="https://myidp.example.com/idp/shibboleth&btn_sso=SSOok"
View keybase.md

Keybase proof

I hereby claim:

  • I am olberger on github.
  • I am olberger (https://keybase.io/olberger) on keybase.
  • I have a public key whose fingerprint is ACE4 6EBD 89F6 656D 6642 660B E941 DEDA 7C5B B6A5

To claim this, I am signing this object:

@olberger
olberger / sparql.py
Created May 14, 2014
Using RDFAlchemy together with RDFLib's SPARQLStore to query DBPedia and process resources in OO way
View sparql.py
import urllib2
import os
#import sys
from itertools import islice
from rdflib import Namespace, Graph, ConjunctiveGraph, URIRef, RDFS, RDF
from rdflib.plugins.stores.sparqlstore import SPARQLStore
from rdfalchemy.rdfSubject import rdfSubject
from rdfalchemy import rdfSingle, rdfMultiple
from rdfalchemy.descriptors import rdfAbstract, rdfLocale
from rdfalchemy.orm import mapper
@olberger
olberger / gen-webid-cert.sh
Last active Jan 14, 2018 — forked from njh/_README.md
Fix syntax problem for PKCS12 generation prompt
View gen-webid-cert.sh
#!/bin/sh
#
# gen-webid-cert.sh: WebID Self-signed Certificate Generator
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
View NumPy-Algebre_lineaire.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olberger
olberger / Tutoriel - Introduction informelle.ipynb
Last active Dec 16, 2015
Chapitre "3. Introduction informelle à Python" du Tutoriel Python officiel (traduit en français), repris de http://www.afpy.org/doc/python/2.7/tutorial/introduction.html
View Tutoriel - Introduction informelle.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View x.js
var noun_type_debian_release = new CmdUtils.NounType("release",
["any", "experimental", "stable",
"testing", "unstable", "oldstable",
"sid", "lenny", "etch", "squeeze"]);
var noun_type_texttile = new CmdUtils.NounType("text or title", ["Title", "Text"]);
var bugno_re = new RegExp("^#([0-9]+)");
// http://github.com/garyhodgson/ubiquity-rtm-api/blob/7299e60eab828fa89d76ce3c927faa1ad4064a23/ubiquity-rtm-api.js
You can’t perform that action at this time.