Foreword This article builds a tutorial in the docker mode. One server can run multiple Paru servers (depending on your server configuration) to start the image docker run - d -- restart=alw
Preface The Suqian server is really a big hole. It blocks the 123udp port (said to prevent attacks) and can only be synchronized with the ntp server in their computer room.By default, the server can automatically synchronize as long as it is connected to the network. Now we
The preface is to write a simple node.js program and only introduce an axios package. After pkg packaging, run it to flash back directly. After cmd is opened, you will see the error content, but you cannot find the axios package. The package is
Open the terminal and run the following command as an administrator to edit the network configuration file: sudo nano/etc/netplan/00-installer-config.yaml is opening
The image download speed can be improved by using the official Docker Registry to build an image acceleration. The specific steps are as follows: To install the Docker Registry, you can use the following command to pull the Docker
Enable the root account to enable ssh login. In Ubuntu 22, root is disabled by default.However, you can enable the root user and delete other accounts by following these steps
1、 Manually download and install the terminal and log in as root.Download the Go binary.From the official websitehttps://go.dev/dl/Download the latest version of Go binary
Loop through array You can use loop through array to determine whether the second element in each sub array is "Tianjin City". If it is, return the first element in the sub array.Example code: $data=[...
Foreword If you have an overseas VPS server, you can easily use Docker to deploy a lightweight HTTP/HTTPS proxy service, which can be easily used for services like GitHub that need proxy
Install Docker to obtain the socks5 image. You can obtain the socks5 image from the official docker repository by using the following command: docker pull serjs/go sock
The dictionary implementation code can use the min() function to limit the number of values, as shown below: import randommy_dict = {'a': 1, 'b': 2, 'c':...
The mktime function in the time module can be used to obtain the specified timestamp in Python.This function can convert the time tuple to the corresponding timestamp.The usage method is as follows: import time#...