01 2020 档案
摘要:在mac上使用Chrome, control+tab是切换到下一个tab, control+shift+tab是切换到上一个tab, 感觉这个键位不是特别好按,想设置成control+1 进入mac的 系统设置 -> 键盘 -> 快捷键 Mac System Preferences→Keyboard
阅读全文
摘要:使用command+H隐藏窗口后, 有没有什么办法能把所有隐藏的窗口都展示出来呢 System Preferences > Keyboard > Keyboard Shortcuts > select "Application Shortcuts" > highlight "All Applicat
阅读全文
摘要:https://github.com/typeorm/typeorm/issues/951 https://github.com/typeorm/typeorm/issues/5215
阅读全文
摘要:除了在键盘中设置重复率速度, 还可以通过下面的操作, mac的英文输入法如果长按一个键的时候,是会去输入它的重音的, To have repeating keys enter this command in the Terminal defaults write NSGlobalDomain App
阅读全文
摘要:-- alter TABLE tblInstrumentShortTarget modify createTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP-- alter table tblInstrumentShortTarget MODIFY u
阅读全文
摘要:alter TABLE tblInstrumentShortTarget modify createTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP;alter table tblInstrumentShortTarget MODIFY update
阅读全文
摘要:-l的作用: ll一般是这样的 这个就是长格式和普通格式的区别:
阅读全文
摘要:首先,这两个密令都可以配合grep查看进程, ps aux 来自BSD风格(不带 -),ps -elf 来自 UNIXf风格 (必须带 -) ps aux ps aux 是最常用的 BSD 风格选项组合,其中的 a 简单的说,表示所有关联到终端的进程,如果同时使用 x 则代表所有进程;u 表示列出进
阅读全文
摘要:“High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Detai
阅读全文
摘要:Launch 和 attach的区别 Launch的话是直接以debug模式运行一个js文件,遇到debugger后会停止 而 Attach需要先开启一个运行在调试模式开启了debug端口的nodejs项目 资料: https://code.visualstudio.com/docs/nodejs/
阅读全文
摘要:结论: 随便起个名,某某,xxx,这种随意起名的意思。 资料一: https://softwareengineering.stackexchange.com/questions/69788/what-is-the-history-of-the-use-of-foo-and-bar-in-source
阅读全文
摘要:资料一、资料二: https://www.w3school.com.cn/js/js_date_formats.asp https://www.weizhixi.com/user/index/article/id/70.html 资料三: GMT和UTC GMT,即格林尼治标准时间,也就是世界时。G
阅读全文
摘要:名词: previous指tab页顺序中的前一个tab页,即当前标签页左边的一个标签页 last指上一个打开的标签页,从左向右算起,如果我从第一个标签页用鼠标切换到了第三个标签页,那么last是指第一个标签页 firefox下默认快捷键与Chrome是相同的, control+tab 切换到下一个标
阅读全文
摘要:平时经常使用MDN学习知识的时候,有没有想过他家还有个firefox浏览器呢... 或者安装完ubuntu的时候,也会发现开源届大佬们系统默认浏览器是firefox, 不过,真正决定让我开始尝试使用firefox的一个最大的原因是,字体渲染机制, 我认为Chrome的字体看起来又细又虚,不适合阅读
阅读全文
摘要:Option + Commond + C
阅读全文
摘要:Es2020 feture 1.globalThis 为了统一在nodejs中的global和webworker中的self 2.Promise.allSettled() Const p1 = new Promise((resolve,reject)=>setTimeout()) 与Promise.
阅读全文
摘要:async function f1() { return new Promise((resolve, reject) => { setTimeout(() => { console.log('5000ms passed'); resolve() }, 5000) }) } async functio
阅读全文

浙公网安备 33010602011771号