Posts

-- with XiaoMi Smart Devices
2021-11-24
3 min read
2021-11-10
0 min read
-- Introduction
2021-11-03
1 min read
Contents Bidirectional data flow between components(@Input & @Output) Bidirectional data flow between components 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
2021-11-03
1 min read
Programming Format text string in console display (X) Looking for the solution. The ‘\t’ did not work, especially, cannot align upper and lower text Consider to try ‘imgui’ Network
2021-11-03
1 min read
Record usd Proxmox VE commands. Contents Import disk img Add/Rescan undisplayed disk Passthrough sata drivers Delete PVE cluster Reinstall ceph Import disk img Transfer .img disc image file to Virtual Machine(vm) disk. The example is to transfer openWRT image file to VM disk. qm importdisk [VM id] [image path] [storage id] Example: qm importdisk 100 ./openwrt.img local-lvm Rescan undisplayed disk It would be rescan all disk which belongs to a specific virtual machine.
2020-11-15
2 min read
Record infrequently used but potential useful commands Contents iperf3 - Network speed test qemu - convert images 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. Open server-side iperf3 service iperf3 -s -p 5201 Open client-side iperf3 service iperf3 -c [ip address] -p 5201 Qemu convert images qemu-img convert -f [format] -O [output format] vm-114-disk-0.qcow2 vm-114-disk-0.
2020-10-27
1 min read
The official Proxmox provides a enterprise source, but we do not need to subscription a enterprise license in home use. We only need the free and well-supported community source. By the way, we get a limitation download speed from international connect (1Mbps approximately) in home use, even I bought 300Mbps download speed plan. Thus, need to change system software sources as well. It will need Ali Yun source andUSTC source。 Debian Source The Proxmox is based on Debian, thus, we need to change debian sources.
2020-07-19
1 min read