ytyng.com

Latest Articles

Page 8
Dockermac
2021-02-10 00:25 (5 years ago)

When building a Docker image on a Mac, you might encounter the "no space left on device" error. This can happen even when there seems to be enough storage space available, leaving you puzzled about the cause.

2021-02-09 12:09 (5 years ago)

When attempting to install the library grpcio version 1.35.0, which is a dependency for firebase-admin, you might encounter the error distutils.errors.CompileError: command 'gcc' failed with exit status 1. As a quick solution, you might be able to install grpcio version 1.30.0 instead.

Python
2021-02-08 14:34 (5 years ago)

Pipenv installation fails in Alpine's Dockerfile. The installation of cryptography 3.4.1 fails with the error: "ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly."

Linux
2021-02-01 02:17 (5 years ago)

After building a PC and installing Ubuntu, I noticed that the logical partition in LVM was not utilizing the entire storage capacity, so I decided to extend it.

Django
2021-01-26 08:21 (5 years ago)

### How to Add Custom HTML to Django Admin Inlines If you want to add custom HTML to Django Admin inlines, simply defining custom properties in the Admin or model class and trying to handle them with `fields` or `fieldsets` in the Inline class won't work smoothly. It's better to straightforwardly extend the inline templates.

Django
2021-01-20 11:10 (5 years ago)

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 the conversion speed of Google Japanese Input is slow on Mac Big Sur, check if the "GoogleJapaneseInput" option is checked under Security & Privacy → Privacy tab → Full Disk Access. If it is not checked, enable it. A Mac restart might be necessary.

kubernetes
2021-01-15 14:38 (5 years ago)

Pod exits with the error: "The node was low on resource: ephemeral-storage." Storage usage of the node is at 85% There is an unusually heavy process running in Kubernetes, causing the load average to be abnormally high (like 100) In this case, it is a storage shortage.

2021-01-10 07:50 (5 years ago)

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)

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.

mac
2020-11-30 05:37 (5 years ago)

When changing your Mac model or transferring your Apple Developer certificate from the old machine in p12 format to the new Mac, make sure to import it into the "Login" keychain instead of the "System" keychain.

Raspberry-Pikubernetes
2020-11-23 07:58 (5 years ago)

Here's a summary of the Japanese blog article in English: --- The article discusses installing k3s Kubernetes on a Raspberry Pi running Raspbian. It mentions that k3s will be installed in Docker mode. According to the Docker website, it is recommended to use the convenience script for Raspbian, so the article follows this recommendation.

DjangoMySQL
2020-11-08 10:53 (5 years ago)

If you encounter the django.db.utils.InterfaceError: "(0, '')" error When this error occurs intermittently during get operations depending on the table or record, it might be due to a mismatch in the connection character encoding.

DjangoMySQLPython
2020-10-11 02:52 (5 years ago)

If a Django project that has been working until now fails to start after a long time with the following error: ``` version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined ```

Javascriptnuxt
2020-10-07 12:49 (5 years ago)

This article introduces a TypeScript decorator code that displays a toast notification when the $axios.$get method fails within an async method in a Nuxt.js application.

Django
2020-09-13 06:57 (5 years ago)

When running `python3 ./manage.py runserver 8080`, I encountered the error `django.db.utils.OperationalError: (2000, 'Unknown MySQL error')`. This error occurs when the `OPTIONS` setting includes `'charset': 'utf8mb4'`.

mac
2020-08-21 08:19 (5 years ago)

i2cssh is a tool that allows you to log into multiple servers simultaneously in iTerm2 and automatically arrange SSH panes for simultaneous operations. To log into multiple target servers via the same bastion host, you would use the following command: i2cssh -Xt=user@bastion.example.com "ssh user@server1.example.com" "ssh user@server2.example.com".

mac
2020-07-24 05:36 (5 years ago)

Here is an English translation of the summary for the Japanese blog post: "Solution for the Error: 'ERROR: Error installing i2cssh: ERROR: Failed to build gem native extension.'" This summary provides a brief description of what the blog post is about, which is a guide on how to resolve the specified error encountered when trying to install the i2cssh gem.

2020-07-13 11:39 (5 years ago)

Introduction to Python Script Code

2020-07-13 07:07 (5 years ago)

How about this? zsh bash