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
# Ref: https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository | |
# note: use file not path | |
bfg --delete-files {YOUR-FILE-WITH-SENSITIVE-DATA} | |
git push --force |
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
* Trying 66.254.114.41... | |
* TCP_NODELAY set | |
* Connected to pornhub.com (66.254.114.41) port 443 (#0) | |
* ALPN, offering h2 | |
* ALPN, offering http/1.1 | |
* successfully set certificate verify locations: | |
* CAfile: /etc/ssl/cert.pem | |
CApath: none | |
* TLSv1.2 (OUT), TLS handshake, Client hello (1): | |
* TLSv1.2 (IN), TLS handshake, Server hello (2): |
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
for cmd in $(bash -c 'compgen -c | sort'); | |
do echo $cmd "=>" $(tldr $cmd); | |
done; |
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
*.class | |
*.log | |
# sbt specific | |
.bloop/ | |
.cache/ | |
.history/ | |
.lib/ | |
dist/* | |
target/ |
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
import java.util.Properties | |
import java.time.Duration | |
import scala.jdk.CollectionConverters._ | |
import org.apache.kafka.clients.consumer.{ | |
ConsumerConfig, | |
ConsumerRecords, | |
KafkaConsumer | |
} | |
import org.apache.kafka.common.serialization.StringDeserializer |