"*":
core:
automaticallyUpdate: false
restorePreviousWindowsOnStart: "no"
telemetryConsent: "no"
openEmptyEditorOnStart: false
editor:
atomicSoftTabs: false
fontSize: 14
showInvisibles: true
showIndentGuide: true
softTabs: false
tabLength: 4
tabType: "hard"
"line-ending-selector":
defaultLineEnding: "LF"
welcome:
showOnStartup: false
《JavaScript面向对象精要》中文翻译及编排bug
第1章
引言
些开发者选择模仿……
应为
一些开发者选择模仿……
1.4.2节 定义数组的字面形式
用逗号区分的任意数量的值
应为
用逗号分隔的任意数量的值
第2章
2.4节 重载 第一小节
JavaScript语言根据实际传入的参数决定调用函数的哪个版本
应为
该类语言(指上文提到的其他面向对象语言)根据实际传入的参数决定调用函数的哪个版本
第3章
3.8节 总结 末小节
Object.prevent Extensions()
应为
Object.preventExtensions()
第4章
4.1节 第4、第8处示例代码
instanceofPerson
应为
instanceof Person
第6章
6.1.2节 代码示例2 getAge方法
returnage;
应为
return age;
禁止npm生成package-lock.json
针对本地项目:
echo 'package-lock=false' >> .npmrc
npm全局设置
npm config set package-lock false
参考资料
https://codeburst.io/disabling-package-lock-json-6be662f5b97d
Chrome Stable for Mac OSX
https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
卸载ECS上阿里云盾程序
卸载套路云方法一
wget http://update.aegis.aliyun.com/download/uninstall.sh
chmod +x uninstall.sh
./uninstall.sh
卸载套路云方法二
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
chmod +x quartz_uninstall.sh
./quartz_uninstall.sh
卸载残留
pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*
iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP
屏蔽套路云盾 IP
内容来源:https://www.v2ex.com/t/388454#r_4718005
我的VScode设置
{
"editor.renderWhitespace": "selection",
"editor.insertSpaces": false,
"editor.tabCompletion": "on",
"editor.autoIndent": "full",
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"files.eol": "\n",
"explorer.autoReveal": false,
"workbench.tree.indent": 12,
"window.restoreWindows": "none"
}
Debian本地命令行终端使用默认字体
dpkg-reconfigure console-setup
- 选择编码,保持不变
- 选择字符集,保持不变
- 选择字体,选择”Do not change the boot/kernel font”
Vivaldi浏览器历史版本下载
https://vivaldi.com/download/archive/
更改Windows桌面图标的设置
运行:
RUNDLL32 SHELL32.DLL,Control_RunDLL DESK.CPL,,0
Modo 11 Content
Windows
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content1_Windows.exe
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content2_Windows.exe
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content3_Windows.exe
Mac OSX
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content1_MacOS.pkg
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content2_MacOS.pkg
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content3_MacOS.pkg
Linux
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content1_Linux.run
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content2_Linux.run
https://s3.amazonaws.com/thefoundry/products/modo/11.0v1/content/Modo11_Content3_Linux.run
出处:
https://support.foundry.com/hc/en-us/articles/115000508684-Q100299-Accessing-the-Modo-11-Content-packages
其他Modo软件官方下载:
https://www.thefoundry.co.uk/products/modo/downloads/