Latest Articles
I attempted to retrieve the source global IP address from HTTP requests through Kubernetes Ingress, but I ended up obtaining the IP address of Kubernetes' local network, which did not work as intended. After switching Kubernetes to MicroK8s and using its built-in Ingress controller, I was able to successfully retrieve the global remote IP address. This is a note on that experience.
In the latest version of Kubernetes (around 1.25?), "apiVersion: extensions/v1beta1" is no longer supported. If you have written Ingress configurations using "extensions/v1beta1", applying them with "kubectl apply" will result in the error: error: unable to recognize "ingress.yml": no matches for kind "Ingress" in version "extensions/v1beta1" To resolve this issue, you need to update the "apiVersion" to "networking.k8s.io/v1".
Here's an overview of a blog post in Japanese about constructing XML using SimpleXML in PHP and making a request with Zend Framework's HTTP Client, translated into English: --- In this blog post, the author explains how to build XML using SimpleXML in PHP and send a request with the HTTP Client from the Zend Framework. The article provides detailed steps and code examples to demonstrate the process. It covers the following key points: 1. Introduction to SimpleXML: A brief introduction to SimpleXML and its advantages for creating and parsing XML documents in PHP. 2. Constructing XML: Step-by-step instructions on how to build an XML structure using SimpleXML, including adding elements, attributes, and content. 3. Setting up Zend Framework's HTTP Client: An overview of installing and configuring the Zend Framework's HTTP Client to prepare it for making HTTP requests. 4. Sending the Request: Code examples showing how to use the HTTP Client to send the constructed XML as part of an HTTP request, including setting headers and handling responses. 5. Conclusion: A summary of the key points covered and additional tips for working with XML and HTTP requests in PHP. The post aims to provide a comprehensive guide for PHP developers looking to integrate XML handling and HTTP requests using these tools.
Although creating a lock file with `pipenv lock` on an Intel Mac works without issues, attempting the same on an M1 (Apple Silicon) (ARM) Mac results in an error and the lock file cannot be created. However, by running `arch -x86_64 zsh` to emulate an x86_64 environment using Rosetta, `pipenv lock` executes successfully.
AppLinks on Android is a feature that allows an app to be launched when navigating to a URL with "https://" in Android Chrome, provided the URL matches a specific pattern. Unlike traditional Deep Links, AppLinks identify the app through its signature, enabling secure information transfer to specific apps controlled within the domain. This article will detail the steps to enable this feature.
In Android development, there was an issue where the SHA256 fingerprint was not displayed when trying to generate a keystore and display the fingerprint using keytool. This issue can be resolved by specifying the correct options with keytool. If this problem occurs, it seems that the SHA256 fingerprint is being displayed in the place of the SHA1 fingerprint.
When you want to use multiple external displays with an M1 Mac and are outputting the screen through a display adapter with a Display Link chip, notifications may not appear on your Mac. In such cases, go to "Notifications" in the settings and ensure that the checkbox for "Allow notifications: When mirroring or sharing display" is checked. If this checkbox is unchecked, notifications will not appear while using Display Link. Make sure to turn this checkbox ON.
This blog post introduces the installation process of nodebrew on an M1 Mac. It mentions that node-sass does not work on M1 Macs. Instead, if you use dart sass (sass package), note that it may not function properly with node versions 16 and above, so version 15 is recommended for stable performance.