Author: LloydLeung
-
Kickstarting Your IoT Project with ESP8266 or ESP32: A Step-by-Step Guide
The ESP8266 and ESP32 are among the most popular microcontrollers for Internet of Things (IoT) projects. Their robust Wi-Fi capabilities, versatility, and affordability make them perfect for creating smart home devices that can integrate seamlessly with platforms like Home Assistant and Alexa. This post walks you through starting a project to develop a smart IR…
-
Step-by-Step Guide to Enabling IPv6 on Your Network with Cogeco ISP and UniFi
In today’s rapidly expanding digital landscape, IPv6 is becoming increasingly critical for ensuring efficient and secure internet connectivity. Whether you’re managing a small home network or administering the infrastructure for a small business, making the transition to IPv6 can significantly improve your network’s scalability and performance. For Cogeco ISP users with UniFi networking equipment, enabling…
-
Repurposing an Old Apple 1A/5V Charger for the Ratgdo 2.51i: A Reliable Power Solution
Are you looking for an efficient way to power your Ratgdo 2.51i? Well, I’ve discovered a handy trick that not only works reliably but also gives a new lease of life to an old gadget lying around in your drawer. Recently, I ventured into uncharted territory with my Ratgdo 2.51i. I was in search of…
-
Automation tasks MAC
I’m old school. I love the scheduling service crontab. 0 4 * * * /opt/homebrew/bin/brew update > /dev/null 2>&10 4 * * * /opt/homebrew/bin/brew autoremove > /dev/null 2>&1 meaning, I run $> brew update every day at 4am, as well as $> brew autoremove, to prune anything Brew feels is not needed. — Have yet…
-
Ubiquiti migration from USG Pro v4 to UDM SE
Requirements: Fresh install instructions: If you don’t forget/drop the original devices, you’re going to need to do a factory reset. Reset button for 10 seconds. On APs, wait for the LED to flash. May want to unplug and plug back in the POE ethernet. Switches, just hold down for 10 seconds. Remember your old wifi…
-
phpstorm unable to establish connection with xdebug
I recently reinstalled PHP, and noticed that xdebug would not work from within phpstorm. Getting the message “Connection was not establish”. The way to fix that, was just to ensure that we’re using the proper port. Xdebug 3.x, uses port 9003. Where as Xdebug 2.x used 9000. To fix this, change your phpStorm preferences for…
-
Ubuntu 22.04 LTS (debian) Apache2 http2 + PHP 8.2
[Updated 2023-07-21]Commands to launch and to set up my preferred environment in ubuntu. Optionally to setup ZSH and the Z plugin Setup apache. Paste below carefully… Probably want to ensure that your DNS settings are working. Run certbot, or put in your SSL certs manually. Troubleshooting: Ensure the firewall is open to ports 80/443 apache2.conf:…
-
Linux ssh troubleshooting
ensure that the home directory of the user is 0700, and all sub files. other useful commands
-
PHPStorm and xdebug links
phpStorm 2021.3 RC PHP 8.1.0 xdebug 3.1.1 I enjoy the fact that there’s was the ability to change xdebug.file_link_format parameter in php.ini to allow integration between xdebug messages, and your IDE. However, recently, that seems to have broken/changed. The phpstorm:// protocol no longer works. After much troubleshooting I have it working for projects that use…
-
Sending emails with symfony+swiftmail, so that the messages are grouped by conversation
Easy enough to send emails with Symfony + SymfonyMailer messages out. The issue was once received in a program like Outlook, how do you group them into the same conversation. Instead of flooding an inbox with a ton of emails, the emails would be grouped by conversation. To accomplish this: There you go. PHP 8.0.x,…