查找当前目录下 所有.7z 文件,顺便看一下大小
1 | find . -name '*.7z' | xargs du -sch |
颤巍巍,牛哄哄
查找当前目录下 所有.7z 文件,顺便看一下大小
1 | find . -name '*.7z' | xargs du -sch |
“摸”一下,就好
1 | touch abc |
或者 指定日期 2018 0712 12:00
1 | touch -mt 201807121200 abc/ |
需要一个 autoindex 的 www。先建立一个 guoshuang_labs.conf
1 | server { |
然后 copy 到 docker nginx 容器
1 | docker cp guoshuang_labs.conf nginx:/etc/nginx/conf.d/guoshuang_labs.conf |
重启
1 | docker retart nginx |
1 | # 查找镜像 |
1 | docker cp nginx:/etc/nginx/conf.d/guoshuang_demo.conf guoshuang_demo.conf |
进入容器
1 | docker exec -it nginx bash |
1 | location /somedirectory/ { |
autoindex_exact_size; – This directive specifies whether Nginx should display the exact file sizes of the output in the directory index or simply round to the nearest KB, MB, or GB. This directive has 2 options: on | off.
autoindex_format; – This directive specifies what format the Nginx index listing should be outputted to. This directive has 4 options: html | xml | json | jsonp.
autoindex_localtime; – This directive specifies whether the times for the directory listing should be outputted to local time or UTC. This directive has 2 options: on | off.
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
1 | find / -name 'httpd.conf' -print |
1 | (/usr/sbin)apachectl -V |
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment