Undefined Title

Kafka CLI


最近仕事でkafkaに接続してoffset Nの値を調べるとか、それを複数の環境でやることが多かった。 毎回証明書とかtopic名とかを調べて実行するのがめんどくさくなったので、一つの設定ファイルにprofileとして複数環境を設定しておけるコマンドをgolangで書いた。


hclutil, small utilitiy

I wrote a small tool for HCL, https://github.com/tmtk75/hclutil. It’s now only supporting conversion from HCL to YAML/JSON.

How to use awscli on CentOS6


I always forget how to use awscli on CentOS6 which pip doesn’t support to install awscli with python2.6. I forgot how many times I installed… I have to memorize how to do it.

Check if elastic IP is associated


The sub command ec2 describe-instances doesn’t show whether it has Elastic IPs or not. Another sub command ec2 describe-addresses shows InstanceId and PublicIp.

We can join them with join command representing Name.