Homeassitant
1 Homeassitant installation by docker
docker-compose.yml
Memo
1 —— Introduction
2 Background
Now, the network infrastructure has spread out from submarine communications cable system to low earth orbit communications system. It breaks through space constrains. Wherever people live, Everyone can share their own feelings, knowledge and experience on the internet. Therefore, The place where people can acquire knowledge is transferred from library to the internet. That further leads to a massive increase in depth and breadth of knowledge that people have acquired. On the internet, we can find a lot of blogs, articles and notes. They’re detailed explain concepts and usage of knowledge.
Angular
1 Contents
2 Bidirectional data flow between components
2.1 Sometimes, not work very well. ABANDON
- @Input value and @Output valueChange cannot detect value change when child component valueChange emit a value, especially, Multiple inheritance.
- next, try to use @ViewChild or @ViewChildren
Bidirectional data flow between parent component and child component. It uses @Input and @Output decorates the variables. The more Input and Output details are at official angular guide
Golang
Proxmox Commands
Record usd Proxmox VE commands.
1 Contents
- Import disk img
- Add/Rescan undisplayed disk
- Passthrough sata drivers
- Delete PVE cluster
- Reinstall ceph
- Pin older kernel
- Delete snapshot forcedly
- Unlock virtual machine
- Unlock lxc container
2 Import Disk Image
Transfer .img disc image file to Virtual Machine(vm) disk.
- The example is to transfer openWRT image file to VM disk.
Unix-like System Commands
Record infrequently used but potential useful commands
1 Contents
- iperf3 - Network speed test
- qemu - convert images
- base64 - encode & decode
- smartctl - check macos ssd health
- git-crypt - transparent file encryption in git
2 iperf3
Test network speed between devices. First, open server-side iperf/iperf3 service, then, test it by client-side iperf/iperf3 application. Under windows system, the application is iperf3.exe.