I had created this website hosting on the custom domain (note.hommalab.io) and separated the main domain (hommalab.io) from this page. I liked to redirect access to the main domain to the custom domain automatically (the main reason for it is to pass the validation process of Google Adsense).
1. S3 : Redirect configuration on Website endpoint Amazon S3 > Buckets > Properties > Static Website Hosting > Edit
Static website hosting: Enable Hosting type: Redirect request for an object Host name: (your bucket address or personal domain) Protocol: https After “save” configuration, the pagenshows bucket website endppoint at static website hosting section.
When CPU or memory usage on your mac are increased by Core Audio daemon, restarting it may work.
Environment macOS Catalina 10.15.7 Problem Sometime, your Mac (especially with intel CPU) slows down and a fan is noisy. You can check it by activity monitor or top command; you may found coreaudiod runs with the high usage of CPU and memory resources by 5% or more CPU occupation.
Core Audio is the digital audio infrastructure of iOS and OS X.
For adding a column to existing table created by sqlchemy, I used the Alembic migration tool.
Environment MacOS Catalina 10.15.7 Python 3.9.7 SQLte3 3.28.0 sqlalchemy 1.4.23 alembic 1.7.7 Problem As per a document of sqlalchemy,
While SQLAlchemy directly supports emitting CREATE and DROP statements for schema constructs, the ability to alter those constructs, usually via the ALTER statement as well as other database-specific constructs, is outside of the scope of SQLAlchemy itself
Environment Parallels Desktop (for Mac Pro Edition) 17 Windows 11 Problem When installing windows update on parallels, login password is required.
Solution 1. check UUID On terminal, run prlctl list --all command and check UUID.
1 2 3 $ prlctl list --all UUID STATUS IP_ADDR NAME {1cf4xxxx-xxxx-xxxx-xxxx-36bfccxxxxxx} running - Windows 11 2. set password Set new password by prlctl set command.
1 $ prlctl set {uuid} --userpasswd {Windows Login User Name}:{New Password} After running the command, you will see a message saying authentication tokens updated successfully, then you can login to windows by the new password.
Added a link to slides about p5.js basic introduction in lesson page.
The material is for a private lesson to students around grade 7 who are totally new to study programming. Every slide is written in Japanese.
TL/DR; 1 2 3 4 5 6 7 8 9 10 11 $docker login $docker pull <image> $docker run -it <image> bash $exit $docker ps -a $docker images $docker restart $docker exec -it <container> bash $docker commit <container> <image> $docker tag <source> <target> $docker push <image> $docker rmi <image> Image and container List docker images
1 docker images List containers
1 docker ps -a Start a container