0%

No.1 安装依赖
1
sudo apt install apt-transport-https lsb-release ca-certificates curl gnupg -y
No.2 下载并添加 Docker GPG 密钥
1
2
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
阅读全文 »

No.1 下载并解压nginx
1
2
sudo wget http://nginx.org/download/nginx-1.23.0.tar.gz
sudo tar xvf nginx-1.23.0.tar.gz && cd nginx-1.23.0/
No.2 安装依赖
1
sudo apt update
1
sudo apt-get install curl build-essential make gcc libpcre3 libpcre3-dev libpcre++-dev zlib1g-dev libbz2-dev libxslt1-dev libxml2-dev libgeoip-dev libgoogle-perftools-dev libgd-dev libperl-dev libssl-dev libcurl4-openssl-dev
阅读全文 »

中庭地白树栖鸦,冷露无声湿桂花。

今夜月明人尽望,不知秋思落谁家。

唐·王建·十五夜望月

No.1 下载nodejs
No.2 配置nodejs
  • 设置nodejs路径信息
1
2
npm config set prefix "F:\Program Files\nodejs\node_global"
npm config set cache "F:\Program Files\nodejs\node_cache"
  • 设置npm镜像源
1
2
3
4
npm config set registry https://registry.npmmirror.com

npm config get registry #检查是否修改成功
npm config set registry https://registry.npmjs.org/ #还原成官方源

No.1 使用 Map.Entry
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.HashMap;
import java.util.Map;

public class TestMap01 {
public static void main(String[] args) {

Map<String, Object> map = new HashMap<String, Object>();
map.put("zhangsan", 20);
map.put("lisi", 50);

for (Map.Entry<String, Object> entry : map.entrySet()) {
System.out.println(entry.getKey() + "\t" + entry.getKey());
}

}
}
阅读全文 »

settings.xml
1
2
3
4
5
6
<mirror>
<id>aliyunmaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/repository/public/</url>
</mirror>
阅读全文 »

十轮霜影转庭梧,此夕羁人独向隅。

未必素娥无怅恨,玉蟾清冷桂花孤。

宋·晏殊·中秋月