Skip to content

Instantly share code, notes, and snippets.


Michael Vorburger ⛑️ vorburger

View GitHub Profile
vorburger /
Created Mar 14, 2021 proof

Keybase proof

I hereby claim:

  • I am vorburger on github.
  • I am vorburger ( on keybase.
  • I have a public key ASDg52VKKYQC_drfNUt19lgt2FO6ZF32GJoJHL25ylv7iQo

To claim this, I am signing this object:

vorburger /
Created Oct 21, 2020
OkHttp okhttp3.MultipartBody.Part transcribed from Kotlin to Java
// Turns out I didn't need this after all... ;-)
Headers headers = new Headers.Builder().addUnsafeNonAscii("Content-Disposition", buildContentDispositionHeader("file", file.getName())).add("Content-Type", rb.contentType().toString()).build();
return Part.create(headers, rb);
// As in okhttp3.MultipartBody.Part.createFormData(String, String, RequestBody), transcribed from Scala (?)
private static String buildContentDispositionHeader(String name, String fileName) {
StringBuilder sb = new StringBuilder("form-data; name=");
appendQuotedString(sb, name);
if (fileName != null) {
vorburger /
Last active Feb 4, 2019
OpenDaylight GitHub PR to Gerrit
This is the documentation for how during 2018 I used to go from
the Version Bump Pull Requests proposed by Dependabot on
cd /home/vorburger/dev/ODL/git/odlparent
$ git remote -v
gerrit ssh:// (fetch)
View irc.txt
(09:59:45 CET) vorburger: hello people of CentOS. I'm observing a VERY strange thing possibly related to the CentOS 7.6 container image release earlier today, full story is, the gist of it is:
(10:01:20 CET) vorburger: it looks to me like old stable 7.5.1804 on got replaced with 7.6.1810 a few hours ago today, despite 7.5.1804 saying (on the UI) it hasn't changed in 2 months
(10:02:06 CET) billings: vorburger: Step 7/37 : RUN yum install -y unzip java-1.8.0-openjdk-
(10:02:27 CET) billings: why is it installing a specific version of openjdk? That's why it doesn't work. That version isn't in 7.6.
(10:03:03 CET) billings: this needs to be fixed, hopefully by someone who understands how to use
vorburger / gist:662d8b5f44c41edae2e22ca6f90ab04a
Created Sep 5, 2018
odl-etcd-demo-restconf missing org.apache.commons.text
View gist:662d8b5f44c41edae2e22ca6f90ab04a
2018-09-05T15:20:10,380 | ERROR | Time-limited test | SingleFeatureTest | 78 - PAXEXAM-PROBE-1476aac8-86ea-4d97-9ec2-62e234288c3f - 0.0.0 | installFeature() failed
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-etcd-demo-restconf; type=karaf.feature; version="[0.0.1.SNAPSHOT,0.0.1.SNAPSHOT]"; filter:="(&(osgi.identity=odl-etcd-demo-restconf)(type=karaf.feature)(version>=0.0.1.SNAPSHOT)(version<=0.0.1.SNAPSHOT))" [caused by: Unable to resolve odl-etcd-demo-restconf/0.0.1.SNAPSHOT: missing requirement [odl-etcd-demo-restconf/0.0.1.SNAPSHOT] osgi.identity; osgi.identity=odl-restconf; type=karaf.feature; version="[1.9.0.SNAPSHOT,1.9.0.SNAPSHOT]" [caused by: Unable to resolve odl-restconf/1.9.0.SNAPSHOT: missing requirement [odl-restconf/1.9.0.SNAPSHOT] osgi.identity; osgi.identity=org.opendaylight.netconf.restconf-nb-bierman02-auth; type=osgi.bundle; version="[1.9.0.SNAPSHOT,1.9.0.SNAPSHOT]"; resolution:=mandatory
vorburger / latency.markdown
Last active Aug 22, 2018 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know
View latency.markdown

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 1K bytes over 1 Gbps network ....... 10,000 ns  =  10 µs
SSD random read ........................ 150,000 ns  = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns  = 250 µs
vorburger / gist:37506778d44ff657357547c8860ae6d1
Created Aug 13, 2018
git config -l --show-origin | grep vorburger
View gist:37506778d44ff657357547c8860ae6d1
$ git config -l --show-origin | grep vorburger
file:/home/vorburger/.gitconfig Vorburger
file:/home/vorburger/.gitconfig credential.helper=store
file:/home/vorburger/.gitconfig core.autocrlf=input
file:/home/vorburger/.gitconfig core.eol=native
file:/home/vorburger/.gitconfig core.excludesfile=/home/vorburger/.gitignore_global
vorburger / gist:0467aefc1757d2cc319adf4727e9230e
Created Aug 9, 2018
minishift wget minishift-centos7.iso struggle
View gist:0467aefc1757d2cc319adf4727e9230e
wget --continue
--2018-08-09 18:34:23--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: [followin
vorburger / karaf.log
Created Jul 5, 2018
Weird ODL Karaf restart
View karaf.log
Jun 27, 2018 10:00:15 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Jun 27, 2018 10:00:15 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Jun 27, 2018 10:00:16 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/opendaylight/lock
Jun 27, 2018 10:00:16 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
vorburger / gist:64f3e7f8695dad530a4c587c2b40a150
Created Jul 3, 2018
ODL netvirt/aclservice/impl help:effective-pom with org.eclipse.jdt.core 3.14.0
View gist:64f3e7f8695dad530a4c587c2b40a150
in ODL/git/netvirt/aclservice/impl
with this changed locally: