September 2022

2022-09-30 00:50 (3 years ago)
Opening Slack Channel Links with Command Line, Raycast, and Alfred

Convert a Slack web URL into the slack:// scheme to open a specific channel directly from the command line, Raycast Quicklink, or Alfred.

Python
2022-09-19 07:31 (3 years ago)
Fixing the Issue of Separated Voiced Marks in Folder Names on Mac When Outputting from Python

Debug and work around `multipart/form-data` boundary issues during file upload in macOS WebKit (WKWebView / Safari).

Django
2022-09-16 10:11 (3 years ago)
After Updating Django, Migration Fails for oauth2_provider

Use `mkdir -p ... && cd $_` on macOS to chain create-and-enter reliably without race conditions.

Django
2022-09-12 12:21 (3 years ago)
Setting Up a Logger to Output Logs to the Console in Django

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)
Tips for Solving the 2027 Malformed Packet Error in MySQL

Return a common post-login redirect target in Django Allauth without specifying a SocialAccount — how `LOGIN_REDIRECT_URL` behaves and how to override it.

nginx
2022-09-09 07:37 (3 years ago)
A Simple Configuration to Host Static Files with Alpine Nginx

Things to try when a Mac HDMI display occasionally freezes — change the refresh rate with `displayplacer`, reseat the cable, etc.

2022-09-09 05:32 (3 years ago)
Migrating Redash from Version 6 or Below to Version 7 to Prevent Launch Issues (Also Necessary for Transitioning from Version 8 to 9)

Why Google Japanese Input asks for 'Full Disk Access' on macOS Big Sur, and what happens if you decline the permission.

2022-09-08 00:44 (3 years ago)
Analyzing Apache Access Logs with GoAccess Instead of Webalizer or Analog

Workaround when PyCharm Python 3.6 Run/Debug Configurations fail to load native extensions like `fibers`.

Python
2022-09-05 00:49 (3 years ago)
If "pipenv install" Results in RuntimeError: location not created nor specified

Fix `pipenv install` failing with `RuntimeError: location not created nor specified` — remove the venv with `pipenv --rm` and let pipenv recreate it.

DjangoDockerPython
2022-09-03 11:03 (3 years ago)
Changed Django's Docker Environment from Alpine + uWSGI to Debian + Daphne → Ended up with uvicorn After All

Why switch a Django Docker image from Alpine + uWSGI to Debian + Daphne (ASGI), with example Dockerfile and Kubernetes manifest changes.

Categories

Archive