Frytea | 宋天轮

View Docker cp progress

Original link: https://blog.frytea.com/archives/762/ The docker cp command itself does not provide a progress viewing function. However, you can use a third-party tool such as pv (Pipe Viewer) to view the progress while executing docker cp. Here are the steps to use pv to view the progress of docker cp: First, install pv. Depending on your …

View Docker cp progress Read More »

The server uses systemd to automatically start wireguard

Original link: https://blog.frytea.com/archives/761/ Generate a valid and working WireGuard configuration file /etc/wireguard/wg0.conf. Our setup guide offers details. Note: You may have to replace the Endpoint hostname with the WireGuard server IP address in the WireGuard configuration file. DNS may or may not be applied when systemd brings the wg0 interface up. Add the WireGuard service …

The server uses systemd to automatically start wireguard Read More »

AIGC Related Resources Collection

Original link: https://blog.frytea.com/archives/757/ Recently, AIGC-related tools have exploded, and related products have spewed out. There are many interesting things coming out every day, so I will organize them here for the convenience of people who are willing to explore. AI resource site Ahead of the Future with AI Together : An AI Tools Portal AI …

AIGC Related Resources Collection Read More »

The release of Baidu Wenxin marks the beginning of positive competition for AI at home and abroad

Original link: https://blog.frytea.com/archives/755/ In recent years, artificial intelligence technology has developed rapidly around the world, and the application scenarios of AI technology are also expanding. Recently, the release of Wenxin Yiyan, a product launched by Baidu, marks the beginning of positive competition for AI at home and abroad. This is exciting news, and it also …

The release of Baidu Wenxin marks the beginning of positive competition for AI at home and abroad Read More »

PVE delete/leave cluster

Original link: https://blog.frytea.com/archives/753/ delete node cd /etc/pve/nodes rm -rf *** pvecm delnode *** leave the cluster # 离线的节点操作systemctl stop pve-cluster.service systemctl stop corosync.service pmxcfs -l rm /etc/pve/corosync.conf rm -rf /etc/corosync/* killall pmxcfs systemctl start pve-cluster.service cd /etc/pve/nodes ls rm -rf /etc/pve/nodes/*** pvecm delnode *** # 正常的节点操作: cd /etc/pve/nodes rm -rf *** pvecm delnode *** Reference …

PVE delete/leave cluster Read More »

macOS Clean Time Machine Snapshots

Original link: https://blog.frytea.com/archives/750/ After installing Asahi Linux, it was found that the available disk space was 0. After consulting the documentation, it was found that it was a problem with the time machine. We’re going to resize this partition: APFS [Macintosh HD] (245.11 GB, 6 volumes) Total size: 245.11 GB Free space: 132.23 GB Available …

macOS Clean Time Machine Snapshots Read More »

virsh batch clone virtual machines

Original link: https://blog.frytea.com/archives/747/ # 快速克隆virt-clone –auto-clone –original vm-euler –name vm-euler-2 Batch clone for i in {1..64}; do virt-clone –auto-clone –original vm-euler –name vm-euler-$i ; done & Reference virt-clone(1) – Linux man page This article is transferred from: https://blog.frytea.com/archives/747/ This site is only for collection, and the copyright belongs to the original author.

Aliyun domain name renewal discount password (com and cn renewal discount) – 2022

Original link: https://blog.frytea.com/archives/689/ It is a good habit to look for discount codes before purchasing/renewing cloud products. I recently renewed my .com domain name, and found that the official offers a discount code, which can be cheaper. The way to obtain it is:关注公众号“阿里云企航”,在输入框中输入“优惠口令”,即可自动回复当前最新可用的优惠口令. The following is what I obtained in December 2022. commodity Behavior password …

Aliyun domain name renewal discount password (com and cn renewal discount) – 2022 Read More »

“Introduction and Practice of WeChat Mini Program Development”

Original link: https://blog.frytea.com/archives/679/ Introduction and Practice of WeChat Mini Program Development Lei Lei 53 notes ◆ Preface There is no DOM in the applet, please give up the thinking of “obtain the DOM first, and then operate the DOM” An alternative to DOM manipulation is “data binding”. Controlling the display and hiding of components, switching …

“Introduction and Practice of WeChat Mini Program Development” Read More »

[Today’s episode] Experience the feeling of suffocating people with words

Original link: https://blog.frytea.com/archives/691/ A hotel receptionist who can’t understand basic dialogue logic She told us: The front desk of the hotel is not responsible for receiving the courier, so don’t leave your courier here, there is a rookie station outside. Otherwise, we will not be responsible for the loss of the courier. Us: Okay, we …

[Today’s episode] Experience the feeling of suffocating people with words Read More »