January 2021

Django
2021-01-26 08:21 (5 years ago)
I want to add custom HTML to Django Admin Inlines

Insert a custom HTML snippet or help text into a Django Admin Inline formset (TabularInline / StackedInline) — implementation patterns.

Django
2021-01-20 11:10 (5 years ago)
Create Another Admin Site in Django

If you want to create a different URL for Django's Admin while keeping /admin/ intact: Create an instance using `from django.contrib.admin import AdminSite` and `site = AdminSite(name='staff')`.

2021-01-19 00:27 (5 years ago)
If Google Japanese Input Conversion is Slow on Mac Big Sur, Check Full Disk Access

Suppress the geckodriver log file in Selenium Firefox by setting `service_log_path` (or sending it to `os.devnull`).

kubernetes
2021-01-15 14:38 (5 years ago)
What to Do When Your Kubernetes Node Shows "The node was low on resource: ephemeral-storage"

Detect that an element does not exist with Pyppeteer — catch the `waitForSelector` timeout and return `None`.

2021-01-10 07:50 (5 years ago)
Display the Number of Upgradable Packages in Ubuntu (apt)

When you log in to Ubuntu via SSH, you see the following message: "10 packages can be updated. 5 updates are security updates."

MySQL
2021-01-01 12:28 (5 years ago)
Connecting to MySQL 8.0 with SSL Mode Disabled (ERROR 2026 (HY000): SSL Connection Error: Error Handling)

When trying to connect MySQL Client 8.0 to MySQL 5.6, DataGrip displays an error message: "[08S01] Communications link failure java.io.EOFException: SSL peer shut down incorrectly," and the connection fails.

Categories

Archive