September 2022

2022-09-30 00:50 (3 years ago)

When you open Slack on the web, the URL becomes:

Python
2022-09-19 07:31 (3 years ago)

When trying to output directory names on a Mac, there are instances where diacritic marks (like dakuten) appear as separate characters. This issue arises due to differences between Unicode normalization forms NFC and NFD. It can be fixed using unicodedata.normalize.

Django
2022-09-16 10:11 (3 years ago)

The migration for the `oauth2_provider` app included in Django's `django-oauth-toolkit` failed at migration 0004. The issue was resolved by manually removing the foreign key, changing the integer field to a bigint, and then reapplying the foreign key.

Django
2022-09-12 12:21 (3 years ago)

Summary of the blog post in English: "Django Logging Configuration: Output to Console Instead of File"

DjangoMySQL
2022-09-11 09:58 (3 years ago)

Here is a summary of the blog article in English: "When issuing raw SQL in Django, an error '2027 Malformed packet' may occur with certain SQL statements. A helpful solution is to avoid using double quotations."

nginx
2022-09-09 07:37 (3 years ago)

A simple setup to launch Nginx using Docker to host basic static files.

2022-09-09 05:32 (3 years ago)

When running Re:dash with Docker, a migration is necessary when upgrading from version 6 to version 7. This article outlines the migration process.

2022-09-08 00:44 (3 years ago)

Here's an overview in English: Introducing a method to analyze Apache access logs using GoAccess on Docker as an alternative to tools like Analog and Webalizer.

Python
2022-09-05 00:49 (3 years ago)

When attempting to create a Python 3.10 environment using `pipenv install` and encountering the error "RuntimeError: location not created nor specified," it may be due to using the pipenv installed in a Python 3.9 environment. To resolve this issue, you should install pipenv in the Python 3.10 environment.

DjangoDockerPython
2022-09-03 11:03 (3 years ago)

Until now, I often created Django images using Alpine Linux and uWSGI, but there is a performance issue when running Python on Alpine Linux. This is a note on changing the Docker image configuration from Alpine to Debian and the HTTP server from uWSGI to Daphne + WhiteNoise.

Categories

Archive