ytyng.com

Latest Articles

Page 10
2018-12-04 12:21 (7 years ago)

After updating Ubuntu 18, while trying to update domain information for a previously functioning Samba Active Directory Domain Controller (samba-ad-dc) used with a Synology NAS, an error occurred stating "No trusted domain controller found."

Python
2018-10-11 12:31 (7 years ago)

Here is the translated text of the Japanese blog article into English: ```python cookies = { cookie['name']: cookie['value'] for cookie in driver.get_cookies() } response = requests.get( url, headers={'User-Agent': self.user_agent}, cookies=cookies ) ``` Additional Note: Extracting zip

2018-09-27 03:26 (7 years ago)

After updating to Ubuntu 18, the default Python version on my machine became Python 3.6, but I needed to perform some validation with Python 3.5.

Django
2018-09-27 02:37 (7 years ago)

During testing of Django Mezzanine Cartridge, I encountered an issue when cancelling a migration. I had configured the settings in a certain way, but due to problems involving the ManyToMany field's `through=`, the process halted with a "table already exists" error, preventing the creation of the table and thus stopping the tests.

Django
2018-09-25 10:10 (7 years ago)

Django: Best way to unit-test an abstract model - Stack Overflowhttps://stackoverflow.com/questions/4281670/django-best-way-to-unit-test-an-abstract-model

2018-09-21 03:37 (7 years ago)

When you have a file containing a line like `version_number = "19"`, and you want to replace this line using a regular expression but only target the version number, while avoiding the use of pattern symbols for the rest of the line. Additionally, you want to obtain a string that includes `version_number` after replacement.

2018-09-19 06:33 (7 years ago)

MultiViews is enabled

2018-09-04 01:53 (7 years ago)

When you start samba-ad-dc using the command `$ sudo systemctl start samba-ad-dc`, and check either /var/log/samba/log.smbd or /var/log/samba/%m, it appears that port 53 is unavailable.

2018-09-03 11:11 (7 years ago)

Apache suddenly crashes, and upon checking the logs, I found the following messages: "AH00050: Child 7815 returned a Fatal error... Apache is exiting!" and "AH02818: MPM run failed, exiting."

2018-09-03 08:36 (7 years ago)

Here's an English summary of the blog post: "Handling When 'sudo do-release-upgrade' Freezes at 'Setting up libnih1:amd64 (1.0.3-6ubuntu2) ...' This blog post provides a solution for situations where the command 'sudo do-release-upgrade' becomes unresponsive during the setup of libnih1:amd64. The post offers troubleshooting steps and tips to successfully complete the upgrade process without freezing."

2018-08-16 06:07 (7 years ago)

Ubuntu 16.04Reference Running Google Chrome in headless mode on EC2 Ubuntu and taking screenshots - Qiitapython 2.7 - Unknown error: Chrome failed to start: exited abnormally - Stack Overflow

2018-08-14 06:45 (7 years ago)

```plaintext

Django
2018-07-12 11:24 (7 years ago)

Django Social Auth's Django module and AllAuth's redirection protocol scheme becoming HTTP instead of HTTPS (callback_uri, redirect_uri, destination) was troublesome.

2018-07-11 02:42 (7 years ago)

If the volume mounted with Goofys is not visible to other users

Python
2018-07-04 06:08 (7 years ago)

When you download a CSV from Amazon, it might sometimes be a TSV with a BOM.

2018-06-29 12:58 (7 years ago)

Notes on installing OpenVPN on an Ubuntu server and setting up a site-to-site VPN.

Python
2018-06-21 02:34 (7 years ago)

1. If the certificate is in DER format, convert it to PEM

Django
2018-05-15 03:24 (7 years ago)

※ This does not mean creating constraints in an RDB. It simply means creating a ForeignKey field that works for now.

2018-05-11 02:30 (7 years ago)

sudo bash -c "curl -kL https://bootstrap.pypa.io/get-pip.py | python"

2018-05-02 08:16 (7 years ago)

How to Create a Shared Folder That Can Be Accessed by Anyone Without Authentication.