Recent Posts

Swift REPLでiOS SDKを使う

ときには Xcode や Playground で Swift コードを実行するのではなく、Swift REPL で実行したい場合がある。

Get waiting tasks count in Celery

If you’re using Redis as broker, you can simply run the following command to get the number of waiting tasks in a queue:

Send Python logs to Teams

When any error occurs in your application, by sending error notifications to Teams (or Slack, etc.), you can know what happened and deal with the problem imm...

Bundler warning

When I run the jekyll build command, I keep getting the following warning:

Apache FQDN warning

Docker コンテナーで Apache を起動すると、以下の警告が表示されました。

Using GPU in Docker container

I need to access GPU within my docker container, so I followed the Docker documentation, added the following lines to the docker-compose.yml file:

Celeryのロガーをカスタマイズする

Celery は after_setup_logger シグナルを提供している。このシグナルにカスタムログハンドラーを渡せば、Celery がグローバルロガーを設定した後にトリガーされる。