0%

find server ip

1
ip addr

default directory

1
/usr/share/nginx/html

global configuration

1
/etc/nginx/nginx.conf

ss install

默认有防火墙,需要关闭

virtual host

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
server {
listen 80;
listen [::]:80;

root /guoshuang/demo;

index index.html;

server_name demo.guoshuang.com;

access_log /var/log/nginx/demo.guoshuang.com.access.log;
error_log /var/log/nginx/demo.guoshuang.com.error.log;

location / {
try_files $uri $uri/ =404;
}
}

css

flex 排版

bootstrap

svg

1
2
3
4
<svg viewbox="0 0 10 50">
<path d="M1 49 V5 Q1 1 5 1 H9 V49z"
fill="rgba(255, 122, 0, 0.8)" />
</svg>

d3

-d3 tooltips

测试

Integrity

1
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">

生成 (1.js)Integrity

1
openssl dgst -sha384 -binary 1.js | openssl base64 -A

“摸”一下,就好

1
touch abc

或者 指定日期 2018 0712 12:00

1
touch -mt 201807121200  abc/

1
this.map.getView().fit(c.extent, this.map.getSize());


var bb = bm.map.getView().calculateExtent(bm.map.getSize());
console.log(bb);
bm.map.getView().fit(bb, bm.map.getSize());

1
ol.extent.getIntersection(extent1, extent2,opt_extent)
1
bm.map.getView().fit([109.88221343277776, 33.515607112547585, 111.90703702710506, 34.256566724741006], bm.map.getSize());

老旧svdvdkkkkkk

/usr/share/nginx/html

Wltyxny1bw 11

sss