Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View vorburger's full-sized avatar

Michael Vorburger vorburger

View GitHub Profile
@vorburger
vorburger / karaf.log
Created July 5, 2018 16:28
Weird ODL Karaf restart
https://bugzilla.redhat.com/show_bug.cgi?id=1597304
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
vorburger / gist:64f3e7f8695dad530a4c587c2b40a150
Created July 3, 2018 17:28
ODL netvirt/aclservice/impl help:effective-pom with org.eclipse.jdt.core 3.14.0
Re. https://github.com/eclipse/xtext-xtend/issues/493
in ODL/git/netvirt/aclservice/impl
with this changed locally:
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<dependencies>
@vorburger
vorburger / oomph.log
Created May 8, 2018 09:04
opendaylight-eclipse-setup-issue-6
Executing bootstrap tasks
OpenJDK Runtime Environment 1.8.0_171-b10
Product org.eclipse.products.epp.package.java.latest
Workspace /home/vorburger/eclipse-test/ws
Project org.opendaylight.empty.master
Bundle org.eclipse.oomph.setup 1.9.0.v20180421-1024, build=3502, branch=a3ffd1307564e51e3c406c3e2744bc282019b050
Bundle org.eclipse.oomph.setup.core 1.9.0.v20180425-0647, build=3502, branch=a3ffd1307564e51e3c406c3e2744bc282019b050
Bundle org.eclipse.oomph.setup.installer 1.9.0.v20180426-1142, build=3502, branch=a3ffd1307564e51e3c406c3e2744bc282019b050
Bundle org.eclipse.oomph.setup.p2 1.9.0.v20180419-0636, build=3502, branch=a3ffd1307564e51e3c406c3e2744bc282019b050
Performing Workspace /home/vorburger/eclipse-test/ws
@vorburger
vorburger / proposal.md
Last active January 12, 2018 22:27 — forked from edewit/proposal.md

Teaching programming to children using Minecraft on OpenShift/Kubernetes

When we were younger, getting enthusiastic about programming and computers in general was a lot easier than it is now. They where these "magical" machines that would do whatever you wanted them to do. Today, computers are in everybody's day to day lives and have lost that "magical" feeling. The challenge is to get children excited about programming by reducing the time to setup and learning concepts, but get started right away with something they love - like Minecraft! We'll show you how with Kubernetes, OpenShift and Minecraft we can progressively do just - at first using our ScratchX extension to get started with graphical programming, and then with a push on a button you can have a full Java development environment set up to start learning and teaching programming. We set up an Eclipse Che IDE with continuous builds of the modifications, and a Minecraft server with our OSGi extension that can hot reload changes, so that we can ha

@Test
public void testBasicWait() throws InterruptedException, ExecutionException {
long millis = 500;
final AtomicReference<Future<?>> futureRef = new AtomicReference<>();
testAndVerifyTimeBounds(executorService ->
futureRef.set(executorService.submit(() -> {
try {
Thread.sleep(millis);
} catch (InterruptedException e) {
// Ignored
@vorburger
vorburger / ThreadExplosion.java
Created November 2, 2017 23:39
Java class which creates A LOT of threads
/*
* Copyright (c) 2017 Red Hat, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package test;
/**
@vorburger
vorburger / gist:0479be76f9cd3d10aa5ef86d4034a090
Created October 2, 2017 17:37
eclipse.jdt.core/org.eclipse.jdt.annotation Release Notes
From 2.0.0 to 2.1.0
054b03ab2c Bug 511310: API Analysis Builder broken for multi-version bundles (2)
8202fec6b6 Bug 511310: API Analysis Builder broken for multi-version bundles (2)
eafed8504a update require bundle versions and remove outdated API filters
5d48893dd6 Bug 496465 - Updating parent pom version
ed815ac91a Bug 490012 - Remove the "strictly compatible JRE" per-project override from all projects in the Eclipse SDK
741a692ac3 [Bug 489718] Compile warning in official build in org.eclipse.jdt.annotation_2.1.0<U+200B>
7ae02327b3 [Bug 489718] Compile warning in official build in org.eclipse.jdt.annotation_2.1.0<U+200B>
aad74c786a Bug 489684: API Analysis Builder broken for multi-version bundles
@vorburger
vorburger / OpenDaylight-bumpCheckstyle-carbon.txt
Last active April 19, 2017 17:54
List of new Checkstyle violations appearing on projects when bumping Checkstyle from 6.16 to 7.6.1
==> https://wiki.opendaylight.org/view/EvolvingCheckstyle/6.16-to-7.6.1
@vorburger
vorburger / InetAddressLocalHostUtil.java
Last active April 7, 2017 16:35
Improve the JDK's somewhat broken InetAddress#getLocalHost()
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@vorburger
vorburger / latest.log
Created February 1, 2017 01:51
SpongePowered/LaunchWrapperTestSuite NPEs
This file has been truncated, but you can view the full file.
[02:44:00 INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.6 Source=file:/home/vorburger/.gradle/caches/modules-2/files-2.1/org.spongepowered/spongevanilla/1.10.2-5.1.0-BETA-369/81c9e5493f4c3af8a6bdec69f2208f3d40b0048c/spongevanilla-1.10.2-5.1.0-BETA-369.jar Env=UNKNOWN
[02:44:00 INFO] [mixin]: Compatibility level set to JAVA_8
[02:44:00 WARN] [mixin]: Failed to select mixin config: mixins.common.refmap.json
java.lang.NullPointerException
at org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:371) ~[spongevanilla-1.10.2-5.1.0-BETA-369.jar:1.10.2-5.1.0-BETA-369]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.selectConfigs(MixinTransformer.java:593) [spongevanilla-1.10.2-5.1.0-BETA-369.jar:1.10.2-5.1.0-BETA-369]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.select(MixinTransformer.java:567) [spongevanilla-1.10.2-5.1.0-BETA-369.jar:1.10.2-5.1.0-BETA-369]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:478)