Category: Scripting Languages
-
Post Views: 45 1. An error is reported when executing YARN-related commands in Windows PowerShell: & as shown in Figure 1 2. Decide to replace & with “&”, and then execute: after the yarn hothop theme build is successful, an error is reported:hothopNot an internal or external command, nor is it a runnable program or batch file. 3. Add yarn…
-
Post Views: 13 1. Open the URL:https://www.sqlite.org/download.html. Download sqlite-dll-win64-x64-3330000.zip. as shown in Figure 1 2. Copy files: sqlite3.def, sqlite3.dll to the directory: D:\Program Files\SQLite. as shown in Figure 2 3. Add D:\Program Files\SQLite to the PATH environment variable. as shown in Figure 3 4. Finally, at the command prompt, use the sqlite3 command, the following results will be displayed. Indicates…
-
Post Views: 13 1. The full name of MinGW is: Minimalist GNU on Windows. Open URL:http://www.mingw-w64.org/doku.php/download, select MinGW-W64-Builds. as shown in Figure 1 2. Download the package name: mingw-w64-install.exe. Error during installation: cannot download repository.txt. as shown in Figure 2 3. Select Win-Builds. as shown in Figure 3 4. Download and install from Windows. as shown in Figure 4 5.…
-
Post Views: 14 1. Reference URL:https://www.shuijingwanwq.com/2020/07/02/4288/. Previously, the code file could only be placed below: C:\Users\Administrator\Go\Src. Put it in: E:\wwwroot\go\src will report an error. 2. Edit the environment variable – the user variable of Administrator – GOPATH, its original value is: C:\Users\Administrator\Go, create a new: E:\wwwroot\go. Its new value is: C:\Users\Administrator\Go;E:\wwwroot\go. as shown in Figure 1 3. Reference URL:https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/09.8.md. Compile…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…
-
Post Views: 12 1. GetID3() is a PHP script that extracts useful information from MP3 and other multimedia file formats. Open URL:https://github.com/JamesHeinrich/getID3 2. Install based on composer: jamesheinrich / getid3. The URL to open the PHP package repository:https://packagist.org, search: jamesheinrich / getid3 , get the search result: james-heinrich/getid3, as shown in Figure 1 3. In PowerShell, execute the installation command:…
-
Post Views: 17 1. Docker deployment, the implementation of Crontab (Bash Sleep) based on Supervisor, to reduce memory usage, refer to:https://www.shuijingwanwq.com/2019/10/12/3555/. /console/controllers/cmcConsoleUserController.php 2. Break ends the execution of the current Foreach structure, that is, each run of the command line, only the user list under the tenant is successfully synchronized. When there are too many tenants, suppose 100 tenants, the…
-
Post Views: 11 1. Refer to the Go guide, web server, write file: web-servers.go 2. Accesshttp://localhost:4000/When prompted: The website cannot be accessed, as shown in Figure 1 3. Run in PowerShell: go run web-servers.go, visit againhttp://localhost:4000/When, the output: hello!, as shown in Figure 2