POST /callbacks/{aname}
This work is licensed under a Creative Commons Attribution 4.0 International License.
POST /callbacks/{aname}
This work is licensed under a Creative Commons Attribution 4.0 International License.
class Document: def init(self, name): self.name = name
def show(self):
raise NotImplementedError("Subclass must implement abstract method")
class Pdf(Document): def show(self): return 'Show pdf contents!'
class Document: | |
def __init__(self, name): | |
self.name = name | |
def show(self): | |
raise NotImplementedError("Subclass must implement abstract method") | |
class Pdf(Document): | |
def show(self): | |
return 'Show pdf contents!' |
Here's the book after doing this: | |
curl -L https://git.io/JJ5yS | bash -- /dev/stdin "--toc --toc-depth=2" |
package com.example.starter; | |
import io.vertx.core.Launcher; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.VertxOptions; | |
public class CustomLauncher extends Launcher { | |
@Override | |
public void beforeStartingVertx(VertxOptions options) { |
#!/bin/bash | |
# https://gist.github.com/cdennison/cba009cf297aa2a92759278b5c578ae4 | |
# This script tests multiple packages and creates a consolidated cover profile that's almost identical to coveralls/goveralls | |
# https://github.com/mattn/goveralls | |
# | |
# Inspired by | |
# https://github.com/getlantern/flashlight-build/blob/devel/testandcover.bash | |
function die() { |
#I'm suprised this isn't mentioned anywhere | |
Here's what I had to do to run the Netty Examples | |
1. Import the entire Netty project | |
2. Disable the option Use '--release' option for cross-compilation' (Java 9 and later) in IDEA's Preferences, section Compiler... https://stackoverflow.com/questions/46477989/intellij-doesnt-see-some-non-public-jdk-9-classes-during-compilation | |
3. First compile common subproject https://groups.google.com/g/netty/c/lELvv7aylQs | |