Windows Remote Desktop port modification
save to rdp.bat
save to rdp.bat
Open /etc/vim/vimrc.tiny with vi and enter the following two lines:set nocompatibleset backspace=2
kvm supports nested virtualization, that is, virtual machines can be created within virtual machines. This article mainly introduces how to enable the nested virtualization function of KVM in CentOS7 using Intel processors. Kvm is mainly implemented through the kernel module, so we check whether the system has enabled kvm nested virtualization, only need: You can […]
(“.*[\u4E00-\u9FA5]+)|([\u4E00-\u9FA5]+.*”) Use Ctrl+F or Ctrl+Shift+F directly in VS, and enter (“.*[\u4E00-\u9FA5]+)|([\u4E00-\u9FA5]+.*”) in “Find Content”, You can find all these Chinese character strings!
Install the latest version of PVE 7 on Debian11, configure the network under multiple IPs of an independent server, bridge the independent IP directly to the virtual subsystem, install Windows 11 in pve and a series of operation notes. PVE INSTALL Install Win11 in Pve Win11 iso | virtio iso download isoThe PVE system image location is […]
Vi/vim can use the :s command to replace strings. In the past, only one format was used to replace the full text. Today, I found that there are many ways to write this command, and record a few here for future reference.:s/vivian/sky/ Replace the first vivian in the current line with sky:s/vivian/sky/g Replace all vivian […]
Try ioutil.ReadAll https://play.golang.org/p/FUgPAZ9w2X. You may also want to see this example from multipart package docs, https://play.golang.org/p/084tWn65-d
To get the file size and MIME type: Sample output:
rsync seems to be the solution the problem. Here’s an example I got from here: The -a option will preserve permissions, directory structure, ownership, and symlinks. You can also specify any of those options individually as well. -v and -z mean verbose and compress respectively. You don’t really need them although -z is nice if you are […]