Blog Posts

Recent posts

Simple way to generate ssh pub/private key

less than 1 minute read

Very simple way to generate ssh pub/private key in Linux. 1 $ ssh-keygen -t rsa -P "" -m PEM -f filename Copy the content of .ssh/id_rsa.pub to .ssh/autho...

Spark - Cassandra connector example

less than 1 minute read

Github https://github.com/nsclass/spark-cassandra-example 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 object SparkCassandra...

Kafka - Docker compose example for Kafka

less than 1 minute read

Kafka docker compose example. Please set value of KAFKA_ADVERTISED_HOST_NAME for local host IP address. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 version: '2...

Time - days of clock vs Monotonic clocks

less than 1 minute read

Getting days of clocks - Linux: clock_gettime(CLOCK_REALTIME) - Java: System.currentTimeMillis() Getting monotonic clocks - Linux: clock_gettime(CLOCK_MONOTO...