- 博客(9)
- 收藏
- 关注
原创 Javascript 数据结构和算法
文章目录object参考资料arrayIterating参考资料objectOne answer is to go back to the “classic” way of iterating object properties in JavaScript, before Object.entries() existed, like so:const obj = { a: 1, b: 2, c: 3,}for (const key of Object.keys(obj)) { co
2021-05-07 10:43:12 82
原创 AngularJS Filter & Angular Pipe
文章目录AngularJS - OrderBy Filter参考资料Angular - Pipe参考资料其他AngularJS - OrderBy FiltergroupFields = $filter('orderBy')(groupFields, ['locationX', 'locationY']);参考资料AngularJS orderBy FilterorderBy - filter in module ngAngular - PipeAngular doesn’t com
2021-05-06 17:44:28 156
原创 NgRx
问题执行ng generate store auth/Auth --module报错:An unhandled exception occurred: Schematic “store” not found in collection “@schematics/angular”.解决方案ng add @ngrx/schematics@latestThis will update your angular.json file this way "cli": { "defaultColle.
2021-04-23 15:10:42 161
原创 Git
文章目录git mergegit mergegit checkout devgit pullgit checkout mastergit merge devgit push -u origin mastergit merge最简洁用法
2021-04-23 14:07:23 70
原创 English Study Tips Daily
文章目录double down进一步double down进一步《麦考瑞大辞典》对“double down”这个词组有两条解释:(in blackjack) a doubling of one’s original bet, placed after receiving the first two cards.(二十一点纸牌游戏)在拿到最开始两张牌后,将原有赌注翻一倍。a repetition of an opinion, statement, strategy, etc., often af
2021-04-23 11:37:50 111
原创 XMLHttpRequest.abort() 对服务端的影响
文章目录问题前端调用XMLHttpRequest.abort(),会对后端产生什么影响么?解答http请求是典型的请求/响应模型。有的浏览器会复用tcp连接,因此长时间都不会close参考资料前端取消ajax请求,后端会自动取消业务操作吗?浏览器取消http请求(canceled),服务器如何判断呢?问题前端调用XMLHttpRequest.abort(),会对后端产生什么影响么?解答http请求是典型的请求/响应模型。发送了就是发送了, 接受了就是接受了。有的浏览器会复用tcp连接,因此长时间
2021-04-22 13:19:46 1158
原创 Visual Studio Code复制富文本格式的代码失效
文章目录问题旧文档都可以正常复制富文本格式的代码,但是新文档就不行。解决方案Copy with Syntax Highlighting原因猜测是save的时候设置有问题。在save时之前用prettify设置的格式也被清除了。参考资料Visual Studio Code 如何复制富文本格式的代码?问题旧文档都可以正常复制富文本格式的代码,但是新文档就不行。解决方案Copy with Syntax Highlighting原因猜测是save的时候设置有问题。在save时之前用prettify设置的
2021-04-22 11:51:56 441
原创 node报错Client does not support authentication protocol requested by server
node报错Client does not support authentication protocol requested by server报错内容Client does not support authentication protocol requested by server解决方案/usr/local/mysql/bin/mysql -u root -pALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY
2021-04-20 23:14:41 447
原创 升级MacOS AppStore报500
升级MacOS AppStore报500原系统环境MacOS: El Capitan识别 MacBook Pro 机型如何获取旧版 macOS下载 macOS dmg - Capitan 10.11原系统环境MacOS: El Capitan识别 MacBook Pro 机型https://support.apple.com/zh-cn/HT201300如何获取旧版 macOShttps://support.apple.com/zh-cn/HT211683下载 macOS dmg - Capi
2021-04-14 13:37:33 824
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人