Skip to content

Instantly share code, notes, and snippets.

var svgToMiniDataURI = require("mini-svg-data-uri");
var http = require('http');
var https = require('https');
const url = process.argv[2];
var client = http;
if (url.startsWith("https")){
client = https;
}
{
"runtime.name":[
{
"id":"dotnet",
"name":".NET Core",
"icon":"data:image/svg+xml;charset=utf8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 32 32' style='enable-background:new 0 0 32 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23008CDB;%7D%0A%3C/style%3E%3Cpath class='st0' d='M32,9.56h-8.72v1.28h3.59V22h1.53V10.84H32V9.56z M21.81,10.84V9.56h-6.66V22h6.66v-1.28h-5.12v-4.34h4.56 v-1.31h-4.56v-4.22H21.81z M2.16,21.41c0,0.29-0.1,0.54-0.31,0.75s-0.47,0.31-0.78,0.31c-0.29,0-0.54-0.1-0.75-0.31 C0.1,21.95,0,21.7,0,21.41c0-0.31,0.1-0.57,0.31-0.78s0.46-0.31,0.75-0.31c0.31,0,0.57,0.1,0.78,0.31S2.16,21.09,2.16,21.41 L2.16,21.41z M13.41,9.56h-1.53v9.81l-7-9.81H3.34V22h1.53v-9.81L11.91,22h1.5V9.56z'/%3E%3C/svg%3E%0A",
"description":"Create stand-alone, production-grade .NET Core Applications that you can \"just run\".",
"metadata":{
"cate
const storeys = require('minecraft-storeys');
const eventBusURL = 'http://localhost:8080/eventbus';
const code = '';
(async () => {
const minecraft = new storeys.MinecraftProvider().connect(eventBusURL);
await minecraft.login(code);
const registration = await minecraft.whenEntityRightClicked("joe");
registration.on().subscribe(async response => {
export SPONGE_VERSION=1.12.2-7.1.5
export SPONGE_URL=https://repo.spongepowered.org/maven/org/spongepowered/spongevanilla/${SPONGE_VERSION}/spongevanilla-${SPONGE_VERSION}.jar
wget -q -O "./sponge.jar" ${SPONGE_URL} && \
echo "eula=true" > "./eula.txt"
[07:49:06 ERROR] [Sponge]: Could not pass GameStartingServerEvent$Impl to Plugin{id=storeys-web, name=Vorburger.ch's Storeys with Web API, version=1.0, description=Makes entities narrate story lines so you can make your own movie in Minecraft, url=https://github.com/vorburger/minecraft-storeys-maker, authors=[Michael Vorburger.ch], source=mods/web-1.0.0-SNAPSHOT-all.jar}
java.lang.NoClassDefFoundError: io/vertx/ext/jwt/JWTOptions
at io.vertx.ext.auth.jwt.JWTAuthOptions.<clinit>(JWTAuthOptions.java:38) ~[JWTAuthOptions.class:?]
at ch.vorburger.minecraft.storeys.web.StoreysWebPlugin.start(StoreysWebPlugin.java:95) ~[StoreysWebPlugin.class:?]
at ch.vorburger.minecraft.storeys.plugin.AbstractStoreysPlugin.onGameStartingServer(AbstractStoreysPlugin.java:54) ~[AbstractStoreysPlugin.class:?]
at org.spongepowered.common.event.listener.GameStartingServerEventListener_AbstractStoreysPlugin_onGameStartingServer3.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredList
Injector injector = pluginInjector.createChildInjector(binder -> {
binder.bind(PluginInstance.class).toInstance(plugin);
binder.bind(TokenProvider.class).to(TokenProviderImpl.class);
binder.bind(Minecraft.class).to(MinecraftImpl.class);
binder.bind(EventBusSender.class).to(MinecraftVerticle.class);
binder.bind(EventService.class);
binder.bind(new TypeLiteral<Handler<Message<JsonObject>>>(){}).to(ActionsConsumer.class);
binder.bind(ConditionService.class);
binder.bind(StaticWebServerVerticle.class);
// TODO read from some configuration
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"github.com/urfave/cli"
"gopkg.in/yaml.v2"
FROM vertx/vertx3
# (1)
ENV VERTICLE_NAME org.acme.quickstart.HttpApplication
ENV VERTICLE_FILE mushy-vest-1.0.0.jar
# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
EXPOSE 8080
agroal , Manyanda Chitimbo , [email protected] , external
agroal , Sanne Grinovero , [email protected] , Red Hat
agroal , Anamarija Talijanac , [email protected] , external
agroal , Guillaume Smet , [email protected] , Red Hat
agroal , Emmanuel Bernard , [email protected] , Red Hat
agroal , Gwenneg Lepage , [email protected] , external
agroal , Max Rydahl Andersen , [email protected] , Red Hat
agroal , Andy Damevin , [email protected] , Red Hat
agroal , George Gastaldi , [email protected] , Red Hat
agroal , Luis Barreiro , [email protected] , external
{
"_index":"git",
"_type":"_doc",
"_id":"Adikq24BY3-_RA9P50FM",
"_score":1.0,
"_source":{
"hash":"05a09dbae2edf6149c38a92ae7ef4cc32032b273",
"date":"2019-02-02 14:39:43 +0100",
"message":"Declare the reactive streams dependency in the parent-build",
"refs":"",