bug_x

导航

 
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 43 下一页

2020年10月10日

摘要: async和promise都是异步方法,区别是async生成的结果是promise对象,async是promise的终结版。 await只能在async中使用,await是阻塞的意思,就是暂停,你一起调用2个接口,第一个执行完,不输出结果,要等最第二个接口执行完,才返回这两个的结果。 现在一块请求两 阅读全文
posted @ 2020-10-10 10:45 bug_x 阅读(270) 评论(0) 推荐(0) 编辑
 

2020年8月20日

摘要: 新版本chrome浏览器带来的跨域请求cookie丢失问题 https://www.jianshu.com/p/aa80ca97f877 https://www.ruanyifeng.com/blog/2019/09/cookie-samesite.html Cookie 的 SameSite 属性 阅读全文
posted @ 2020-08-20 18:08 bug_x 阅读(340) 评论(0) 推荐(0) 编辑
 

2020年8月18日

摘要: 1、安装elasticsearch https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html docker pull docker.elastic.co/elasticsearch/elasticsearc 阅读全文
posted @ 2020-08-18 23:44 bug_x 阅读(216) 评论(0) 推荐(0) 编辑
 

2020年8月14日

摘要: 原文地址:find + xargs 删除文件名中含有空格的文件 作者:flightbird 查找某个目录下更改时间超过7天的文件并删除它们。 方法一: $ find . -type f -mtime +7 -print -exec rm {} \; 问题来了,在使用find命令的-exec选项处理匹 阅读全文
posted @ 2020-08-14 16:42 bug_x 阅读(1140) 评论(0) 推荐(0) 编辑
 

2020年8月5日

摘要: //127.0.0.1指的是本地,1080指的是代理工具设置的端口 git config --global http.proxy socks5://127.0.0.1:1080 1、git 代理设置 https://www.jianshu.com/p/77f773f492c6 //127.0.0.1 阅读全文
posted @ 2020-08-05 11:19 bug_x 阅读(207) 评论(0) 推荐(0) 编辑
 

2020年8月3日

摘要: 1\ 解决方案: composer global remove fxp/composer-asset-plugin --no-plugins https://stackoverflow.com/questions/37955880/composer-fatal-error-declaration-o 阅读全文
posted @ 2020-08-03 21:52 bug_x 阅读(367) 评论(0) 推荐(0) 编辑
 
摘要: C:\xampp\htdocs\your_dir>SET HTTP_PROXY="http://192.168.1.103:8080" 阅读全文
posted @ 2020-08-03 21:48 bug_x 阅读(1472) 评论(0) 推荐(0) 编辑
 
摘要: 取消ipv6 勾选 阅读全文
posted @ 2020-08-03 21:33 bug_x 阅读(176) 评论(0) 推荐(0) 编辑
 
摘要: ERROR: .FileNotFoundError: [Errno 2] No such file or directory: '.\\docker-compose.yml:docker-compose.apache.yml' docker-compose -f docker-compose.yml 阅读全文
posted @ 2020-08-03 18:50 bug_x 阅读(2017) 评论(0) 推荐(0) 编辑
 
摘要: ls -l --time-style=long-iso|grep 2017-05-01 ls -l --time-style=long-iso *sout*log*|grep -v $(date -I)|awk '{print $NF}'|xargs sudo rm -rf 阅读全文
posted @ 2020-08-03 16:15 bug_x 阅读(2144) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 43 下一页