Skip to content

Instantly share code, notes, and snippets.

@alexgtn
alexgtn / .gitlab-ci.yml
Last active Dec 6, 2020
Simple Gitlab CI config (VueJS tests and deploy to Heroku)
View .gitlab-ci.yml
image: node:15
stages:
- test
- deploy
test:
stage: test
script:
- yarn install
@alexgtn
alexgtn / gradle-kotlin-publish-s3-maven-repo.gradle
Created Mar 4, 2019 — forked from outofcoffee/gradle-kotlin-publish-s3-maven-repo.gradle
Publish a Kotlin module to an S3 Maven repository, using Gradle.
View gradle-kotlin-publish-s3-maven-repo.gradle
/*
* Publish a Kotlin module to an S3 Maven repository, using Gradle.
* This assumes that the AWS/IAM credentials have 'bucket list' as well as 'object put' and 'object get' permissions.
*/
ext.version_kotlin = '1.0.5-2'
buildscript {
repositories {
mavenCentral()
View MqttServerRouterTest.java
package io.vertx.mqtt.test.server;
import io.netty.handler.codec.mqtt.MqttQoS;
import io.vertx.core.Vertx;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import io.vertx.mqtt.MqttEndpoint;
import io.vertx.mqtt.MqttServer;