Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Wicks patricker

View GitHub Profile
@patricker
patricker / .block
Last active Feb 21, 2018
Pan/Zoom Force Directed Graph
View .block
license: mit
View .block
license: mit
@patricker
patricker / .block
Last active Feb 22, 2018 — forked from mbostock/.block
Zoomable Circle Packing
View .block
license: gpl-3.0
height: 960
View .block
license: mit
@patricker
patricker / DACDaemonModule.java
Created Dec 14, 2019
Dremio Pluggable Helper
View DACDaemonModule.java
protected <IFACE, IMPL extends IFACE> Class<? extends IFACE> setupPluggableService(
final Class<IFACE> bind,
final Class<IMPL> defaultBind,
final SingletonRegistry registry,
final DremioConfig config,
final ScanResult scanResult,
final String configKey) {
//If we want to make it pluggable in the future, but haven't setup a key for it, just use the default implementation
final String keyValue = StringUtils.isEmpty(configKey) ? null : config.getString(configKey);
You can’t perform that action at this time.