Year: 2022
-
Post Views: 48 1. Upload pictures in WordPress, prompting: The server cannot process pictures. This happens if the server is busy or does not have enough resources to complete the task. Uploading smaller pictures may help. The recommended maximum size is 2560 pixels. as shown in Figure 1 2. Check the size of the uploaded image is 23 KB, and…
-
Post Views: 18 1. Edit .gitignore, the file is level with the PuClicic level, to add some ignore directories (the directory name is unknown). Some directories are generated under the directory: public, and these directories should be ignored. as shown in Figure 1 2. View the current content, all content starting with /public/ 3. Check the submitted files that have…
-
Post Views: 18 1. In the management notification interface, the notification of 360 calendars appears, which is very annoying. as shown in Figure 1 2. Click the time of the system, and find that the time interface of the system has also been updated to 360 calendars. as shown in Figure 2 3. Open 360 Security Guard’s Daquan – Added,…
-
Post Views: 58 1. When starting vagrant, an error is reported: stderr: vboxmanage.exe: error: whvCapabilityCodeHypervisorPresent is false! make sure you have enabled theWindows Hypervisor Platformfeature. (verr_nem_not_available).. as shown in Figure 1 2. Standard error: vboxmanage.exe: error: whvCapabilityCodeHypervisorPresent is false! Make sure you have the “Windows Hypervisor Platform” feature enabled. (verr_nem_not_available). Right-click the Windows button and select “Apps and Features”. Select…
-
Post Views: 16 1. When starting Vagrant, an error is reported: D:/Program files/hashicorp/vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (psych::SyntaxError). as shown in Figure 1 2. View the file ~/homestead/homestead.yaml in phpstorm, and find a red wavy line prompt. The reason may be that it has been…
-
Post Views: 21 1. After installing Hyper-V on Windows 10, run the program in the virtual machine, and there are often serious hard disk I/O errors. It is suspected that it is caused by the lack of space in the C disk. A total of 100 GB of space is available, and only 10 GB is left. as shown in…
-
Post Views: 63 1. Open: Terminal, one-click installation, execute the command: curl –fssl https://get.docker.com | SH. During the prompt that curl is not found, execute: sudo apt install curl. as shown in Figure 1 2. To run Docker as a non-privileged user, consider setting up a Docker daemon with rootless mode for your user to install: dockerd-rootless-setuptool.sh installation. Visit https://docs.docker.com/go/rootless/…
-
Post Views: 22 Hyper-V allows you to run multiple operating systems as a virtual machine on Windows. Reference:https://docs.microsoft.com/zh-cn/virtualization/hyper-v-on-windows/about/. 2. Hyper-V is built into the Windows professional version as an optional function – no need to download Hyper-V. Enable the Hyper-V role via Settings. 3. Right-click the Windows button and select “Apps and Features”. as shown in Figure 1 4. Select…
-
Post Views: 20 1. The existing implementation is as follows 2. Reference 10.1 Decompose conditional expression (decompose conditional), adjust to the following 3. 10.2 Consolidate conditional expression (Consolidate conditional expression). Extracting the inspection conditions into a separate function is very useful for clarifying the meaning of the code, because it replaces the statement describing “what to do” with “why do…