what I need to do

I’ve been feeling unsettled lately. I have ups and downs, my rhythm is all over the place. I feel like it’s making me tired and distracting me from what I need to do. Or maybe I’m just looking for excuses to get away from what needs to be done. I feel like I know what I need to do, but it’s getting harder and harder every year to change myself. Thoughts become actions, so I want to be conscious of my thoughts in order to bring myself closer to my ideal, even if it is only little by little.

How to set the text color and text foreground color in Emacs org-mode

Background I wanted to change the text and background colors in Org-mode. I have changed the Markdown text and background colors before. So I tried to remember how to do that, but I forgot, so I looked it up. This blog is a reminder. This is Org-mode before the change. The color of the level 1 headline is red, and the color of the level 2 headline and link is the same blue.

Install iedit

What is iedit? https://github.com/victorhge/iedit Tools for Bulk Editing Install M-x package-list-packages → Select and install iedet init.el ;;iedit (add-to-list 'load-path "~/.emacs.d/iedit") (require 'iedit) How to use Press C-; at the point where you want to edit the batch. (It’s default key bindings.) Then you will be in edit mode, and when you are done modifying, C-; again to finish editing. Note At first, I didn’t know how to use it. But I found it very useful to see what is going on in real time by looking at the *Messages*.

make a list

I have been very busy lately. Therefore, I couldn’t write my blog. Finally, now that my busyness has calmed down, I would like to spend my weekends posting blogs and catching up on technology. I updated my MindMap. I made a list of technologies I want to know about. (by Notion) I started living with a dog last month. He is a puppy, but he will be quite large.

kafka on Docker

Kafka on Docker なんだか二度目な気がするけれど気のせいです docker-compose.yml version:"3"services:zookeeper:image:confluentinc/cp-zookeeper:5.5.1hostname:zookeepercontainer_name:zookeeperports:- "32181:32181"environment:ZOOKEEPER_CLIENT_PORT:32181ZOOKEEPER_TICK_TIME:2000broker:image:confluentinc/cp-kafka:5.5.1hostname:brokercontainer_name:brokerdepends_on:- zookeeperports:- "9092:9092"- "29092:29092"environment:KAFKA_BROKER_ID:1KAFKA_ZOOKEEPER_CONNECT:"zookeeper:32181"KAFKA_LISTENER_SECURITY_PROTOCOL_MAP:PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXTKAFKA_ADVERTISED_LISTENERS:PLAINTEXT://broker:29092,PLAINTEXT_HOST://localhost:9092KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR:1CONFLUENT_SUPPORT_METRICS_ENABLE:"false"cli:image:confluentinc/cp-kafka:5.5.1hostname:clicontainer_name:clidepends_on:- brokerentrypoint:/bin/shtty:truenetworks:default:external:name:iot_networkそういえば、先日知ったのですが!docker-compose コマンドが、Docker CLI にサブコマンド compose という形で実装されて docker compose ps ができるようになったらしいです。Usage を見ると docker-compose のほうが少しだけ Options の種類が多そうに見えるのですが、docker-compose で非推奨のものはわざわざ実装しないという方針のよう? docker-composeとComposeコマンドの互換性 実際に docker compose ps で各コンテナの様子を見てみます。 suwa3@mb12 kafka-on-docker % docker compose ps WARN[0000] network default: network.external.name is deprecated in favor of network.name NAME COMMAND SERVICE STATUS PORTS broker "/etc/confluent/dock…" broker running>9092/tcp, :::9092->9092/tcp,>29092/tcp, :::29092->29092/tcp cli "/bin/sh" cli running 9092/tcp zookeeper "/etc/confluent/dock…" zookeeper running 2181/tcp, 2888/tcp, 3888/tcp, 0.
«« « 1 2 3 101 » »»