This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/webs -name "node_modules" -type d -prune -exec rm -rf '{}' + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Preferences" | |
reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard" | |
delay 0.5 | |
tell application "System Events" | |
click pop up button 2 of tab group 1 of window "键盘" of application process "System Preferences" of application "System Events" | |
end tell | |
end tell | |
tell application "System Preferences" to quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 补充一些经常受干扰网站 | |
* 以下是代码片段 | |
* 如果需要手动添加pac规则在其他app上,请直接在该app输入框内输入如:“||githubusercontent.com”,即可,不包含双引号,一条一行。 | |
* PAC规则手动添加指导:https://segmentfault.com/n/1330000018325122 | |
*/ | |
var rules = [ | |
"||fastly.net", | |
"||reddit.com", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eslint.enable": true, | |
"editor.formatOnSave": false, | |
"files.eol": "\n", | |
"eslint.autoFixOnSave": true, | |
"eslint.validate": [ | |
{ | |
"language": "vue", | |
"autoFix": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true | |
}, | |
parserOptions: { | |
parser: 'babel-eslint', | |
ecmaFeatures: { | |
legacyDecorators: true |