Skip to content

Instantly share code, notes, and snippets.

View Wwayne1's full-sized avatar
😎
码不停蹄gogogo

Wayne Wwayne1

😎
码不停蹄gogogo
View GitHub Profile
@Wwayne1
Wwayne1 / kafka-useful-commands.md
Created December 18, 2020 03:10 — forked from mjuric/kafka-useful-commands.md
Useful Kafka wrangling commands

Utilities you'll care about

All these are already installed on epyc.

  • kafkacat (conda install -c conda-forge kafkacat)

  • kt (grab it from https://github.com/fgeller/kt/releases)

  • kafka-* (come with kafka, if you yum install if from Confluent's repo, or via Docker if you're so inclined). Warning -- JVM based and dreadfully slow.

  • jq (conda install -c conda-forge jq or use your favorite package manager)

@Wwayne1
Wwayne1 / bitmap.go
Last active October 19, 2020 15:22
BitMap golang implementation
package main
import (
"fmt"
)
type BitMap struct {
words []byte
length uint
}