This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"github.com/urfave/cli" | |
"gopkg.in/yaml.v2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APIsStore_61 | |
: | |
{index: 51, deps: Array(2), flags: 4608, token: ƒ, value: ƒ} | |
AboutModalModule_225 | |
: | |
{index: 140, deps: Array(0), flags: 512, token: ƒ, value: ƒ} | |
AboutService_200 | |
: | |
{index: 115, deps: Array(0), flags: 4608, token: ƒ, value: ƒ} | |
AccordionConfig_193 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as _ from 'lodash'; | |
import { Broadcaster } from 'ngx-base'; | |
import { Injector } from '@angular/core'; | |
export function broadcast(event: string, properties: any): MethodDecorator { | |
return function (target: Function, methodName: string, descriptor: any) { | |
const originalMethod = descriptor.value; | |
descriptor.value = function (...args: any[]) { |