This file contains hidden or 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
| "g","git","","None" | |
| "l","ls","","None" | |
| "tnpm","npm --registry=https://registry.npm.taobao.org","","None" |
This file contains hidden or 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
| mongodump -h dbhost -d dbname -o dbdirectory | |
| -h: | |
| MongDB所在服务器地址,例如:127.0.0.1,当然也可以指定端口号:127.0.0.1:27017 | |
| -d: | |
| 需要备份的数据库实例,例如:test | |
| -o: | |
| 备份的数据存放位置,例如:c:\data\dump,当然该目录需要提前建立,在备份完成后,系统自动在dump目录下建立一个test目录,这个目录里面存放该数据库实例的备份数据。 | |
| mongorestore -h <hostname><:port> -d dbname <path> | |
| --host <:port>, -h <:port>: |
This file contains hidden or 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
| protoc.exe --js_out=import_style=commonjs,binary:. .\proto\line.proto | |
| out input |
This file contains hidden or 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 = { | |
| env: { | |
| node: true, | |
| commonjs: true, | |
| es6: true, | |
| mocha: true, | |
| }, | |
| extends: 'eslint:recommended', | |
| parserOptions: { | |
| sourceType: 'module', |
This file contains hidden or 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
| gnome主题 flat remix 系列(https://github.com/daniruiz/flat-remix-gnome) |
This file contains hidden or 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
| Vimium 快捷键操作 | |
| octotree Github |
This file contains hidden or 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
| # 镜像名 | |
| image: 'node:8.11.2-alpine' | |
| # 脚本运行 | |
| before_script: | |
| # 写入密钥 并配置 ~/.ssh/config 文件 | |
| - apk add --update openssh-client bash | |
| - eval $(ssh-agent -s) | |
| - bash -c "ssh-add <(echo '$SSH_PRIVATE_KEY')" | |
| - mkdir -p ~/.ssh |
This file contains hidden or 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
| alias gpm='git push origin master' | |
| alias ...=../.. | |
| alias ....=../../.. | |
| alias .....=../../../.. | |
| alias ......=../../../../.. | |
| alias 1='cd -' | |
| alias 2='cd -2' | |
| alias 3='cd -3' | |
| alias 4='cd -4' | |
| alias 5='cd -5' |
This file contains hidden or 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
| { | |
| "propTypeArray": { | |
| "prefix": "pta", | |
| "body": "PropTypes.array,", | |
| "description": "Array prop type" | |
| }, | |
| "propTypeArrayRequired": { | |
| "prefix": "ptar", | |
| "body": "PropTypes.array.isRequired,", | |
| "description": "Array prop type required" |
This file contains hidden or 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
| 1. 先横向划分大块, 再细化问题内容 | |
| 2. 先观点, 后分类再概括 | |
| 论, 证, 类, 比 | |
| 论: 结论先行 | |
| 证: 以上统下 (理由应要支撑结论, 结论需要概括理由) | |
| 类: 归纳分类 | |
| 相互独立不重叠 | |
| 穷尽 | |
| 比: 逻辑递进 (重要性, 时间, 结构(区域, 位置等)) |