Windows change UEFI settings
To change UEFI settings in Windows, go to Settings > System > Recovery > Advanced startup and click Restart now. Upon reboot, select Troubleshoot > Advanced options > UEFI Firmware…
enum class for bit flags
enum class as Bit Flags Enable Bitwise Operators Returning Combined Problems
Changing server domain name
Today I find myself having to change the domain name of my server. Here are the steps, though the order can be shuffled. File names on the server In case…
>>> What is in my M5?
Another useful thing. (May be useful to prevent a situation where we can handle control C characters in our own code and get stuck with no way back to REPL.…
M5Stack AtomS3U without UiFlow
After downloading a micro-python file from here https://micropython.org/download/ESP32_GENERIC_S3 and renaming it and placing it on the Desktop as In a BAT file or using CMD Now open in PuTTY and…
AtomS3U with IO commands
import sys import time # ---------------------- # Line polling function # ---------------------- def poll_line(buffer, handler, ignore_next_terminator_flag): """ Poll a single byte from USB and handle line input. Args: buffer (bytearray):…
Using UIFlow2 to program an AtomS3U
Go to the UIFlow2 website https://uiflow2.m5stack.com I called this program … OutputTest main.py I downloaded the program into the AtomS3U and connected to it with Putty to test it.
Adding a New Website to Apache on Ubuntu
sudo mkdir -p /var/www/site sudo chown -R $USER:$USER /var/www/site sudo chmod -R 755 /var/www/site sudo nano /etc/apache2/sites-available/site.conf <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/site <Directory /var/www/site> Options Indexes FollowSymLinks…