I've been working with Apache Kafka for over 7 years. I inevitably find myself doing the same set of activities while I'm developing or working with someone else's system. Here's a set of Kafka productivity hacks for doing a few things way faster than you're probably doing them now. 🔥
This file contains 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
#!perl6 | |
# | |
use v6; | |
my class HelloWorldFactory { | |
subset NonEmpty of Str where .chars > 0; | |
has NonEmpty $.greeting; | |
has NonEmpty $.target; | |
sub infix:<👋> { |
This file contains 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
<script type="text/javascript"> | |
var gesturesSetUp = false; | |
var ua = navigator.userAgent.toLowerCase(); | |
var isAndroid = ua.indexOf("android") > -1; | |
document.addEventListener('textlayerrendered', function (e) { | |
if (gesturesSetUp || e.detail.pageNumber !== PDFViewerApplication.page) { | |
return; | |
} |