This is sample code for using Selenium Remote Grid in headful mode with `browser_use`. The sample also includes specifying the browser window’s viewport size.
Python 3.13 enabled VERIFY_X509_STRICT by default, triggering "SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: Basic Constraints of CA cert not marked critical" against self-signed CA certs. Workaround: disable VERIFY_X509_STRICT in SSLContext.
When looking at the assertEqual method in Django's unit tests, the first argument is named 'first' and the second argument is named 'second'. It appears that there is no difference in the usage of these variables.
pipenv install throws "AttributeError: module 'pkgutil' has no attribute 'ImpImporter'" on Python 3.12. Run `python3 -m ensurepip --upgrade` in both the global and virtualenv, or rebuild the pipenv environment.
A memo about purchasing a development board featuring the ESP-WROOM-32 module, which appears when searching for "ESP32" on AliExpress, and has "HW-394" written on the board.
Here is the solution for resolving Input/output errors or Error code -36 that may occur when trying to copy files to an RP2040 microcontroller board or Raspberry Pi Pico while developing on Mac OS Sonoma.
Fix `symbol not found in flat namespace '_mysql_affected_rows'` when importing MySQLdb in Python — rebuild mysqlclient against the right MySQL client library.
Fix `npm install fibers` (node-fibers) failing with `ValueError: invalid mode: 'rU'` — its `setup.py` uses a deprecated flag, so install with Python 3.10 or older.
When connecting to an SSH server using Python libraries like Fabric or Paramiko, if the versions are outdated, you may encounter the error "Authentication (publickey) failed."
Building cryptography with Rust on Alpine is slow and can fail on Apple Silicon. Workarounds: build with Rust, use apk py3-cryptography, or skip Pipfile.lock.