via https://css-tricks.com/sliding-nightmare-understanding-range-input/
mac shell find .7z and calculate size
Posted on
查找当前目录下 所有.7z 文件,顺便看一下大小
1 | find . -name '*.7z' | xargs du -sch |
change last modified time
Posted on
Edited on
“摸”一下,就好
1 | touch abc |
或者 指定日期 2018 0712 12:00
1 | touch -mt 201807121200 abc/ |
ol map
Posted on
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()); |
blue is hit
Posted on
老旧svdvdkkkkkk
/usr/share/nginx/html
Wltyxny1bw 11
sss
web indexdb
Posted on
查找 apache httpd.conf 位置
Posted on
1 | find / -name 'httpd.conf' -print |
1 | (/usr/sbin)apachectl -V |
test
Posted on
Hello World
Posted on
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.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
mac 一次打开多组图片
Posted on
Edited on
每天开机打开谱很啰嗦。
1.图片放在各自目录,然后编辑 pp
1 | #!/bin/sh |
2.修改可执行
1 | chmod +x pp |
3.以后运行
1 | ./pp |
====
其它显示目录的办法
1 | for f in *; do |
指定显示器
启动 Final Cut Pro 报错 is damaged and can’t be opened
1 | xattr -cr '/Applications/Final Cut Pro.app' |