├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── cheatsheet-request.yml │ └── config.yml └── workflows │ ├── ci.yml │ └── win.yml ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc ├── .markdownlint.json ├── .npmrc ├── .prettierignore ├── .prettierrc ├── .refsrc.json ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── appicon ├── audioer.png ├── copybook-generator.png ├── create-custom-symbols.png ├── daybar.png ├── devhub.png ├── devtutor.png ├── file-sentinel.png ├── focus-cursor.png ├── hosts-editor.png ├── iconed.png ├── iconize-folder.png ├── key-clicker.png ├── musicer.png ├── npmd.png ├── palette-genius.png ├── paste-quick.png ├── quick-rss.png ├── regex-mate.png ├── resume-revise.png ├── rightmenu-master.png ├── symbol-scribe.png ├── textsound-saver.png ├── time-passage.png ├── videoer.png └── web-serve.png ├── assets ├── adb.svg ├── adobe-lightroom.svg ├── adobe-photoshop.svg ├── adobe-xd.svg ├── android-studio.svg ├── ansible.svg ├── bash.svg ├── blender.svg ├── bun.svg ├── c.svg ├── canvas.svg ├── cargo.svg ├── chatgpt.svg ├── chmod.svg ├── chown.svg ├── cmake.svg ├── cmd.svg ├── cocoapods.svg ├── colors-named.svg ├── conan.svg ├── conda.svg ├── cpp.svg ├── cron.svg ├── cs.svg ├── css.svg ├── dart.svg ├── django.svg ├── docker-compose.svg ├── docker.svg ├── dockerfile.svg ├── ejs.svg ├── elasticsearch.svg ├── electron.svg ├── elixir.svg ├── emacs.svg ├── emmet.svg ├── emoji.svg ├── erlang.svg ├── es6.svg ├── expressjs.svg ├── fastapi.svg ├── ffmpeg.svg ├── figma.svg ├── find.svg ├── finder.svg ├── firefox.svg ├── flask.svg ├── flutter.svg ├── gdb.svg ├── git.svg ├── github-actions.svg ├── github-cli.svg ├── github-copilot.svg ├── github.svg ├── gitlab-ci.svg ├── gitlab.svg ├── gmail.svg ├── golang.svg ├── google-chrome.svg ├── graphql.svg ├── grep.svg ├── homebrew.svg ├── html.svg ├── htop.svg ├── intelli-j-idea.svg ├── java.svg ├── javascript.svg ├── jest.svg ├── jquery.svg ├── json.svg ├── julia.svg ├── jupyter.svg ├── koajs.svg ├── kotlin.svg ├── kubernetes.svg ├── laravel.svg ├── latex.svg ├── lerna.svg ├── lessjs.svg ├── lua.svg ├── markdown.svg ├── matlab.svg ├── menu.svg ├── minio.svg ├── mitmproxy.svg ├── mongodb.svg ├── mysql.svg ├── neo4j.svg ├── nestjs.svg ├── netcat.svg ├── netstat.svg ├── nextjs.svg ├── nginx.svg ├── npm.svg ├── nvm.svg ├── openssl.svg ├── oracle.svg ├── php.svg ├── phpstorm.svg ├── pinia.svg ├── pm2.svg ├── pnpm.svg ├── postgres.svg ├── powershell.svg ├── pycharm.svg ├── python.svg ├── pytorch.svg ├── quickreference.svg ├── r.svg ├── react-native.svg ├── react.svg ├── reactrouter.svg ├── redis.svg ├── regex.svg ├── ruby.svg ├── rust.svg ├── rxjs.svg ├── sass.svg ├── scala.svg ├── sed.svg ├── semver.svg ├── sketch.svg ├── springboot.svg ├── sqlite.svg ├── ssh.svg ├── styled-components.svg ├── stylex.svg ├── stylus.svg ├── sublime-text.svg ├── subversion.svg ├── swift.svg ├── swiftui.svg ├── sysdig.svg ├── systemd.svg ├── tailwindcss.svg ├── tar.svg ├── tauri.svg ├── time-zones.svg ├── tmux.svg ├── toml.svg ├── twitter.svg ├── typescript.svg ├── vim.svg ├── vscode.svg ├── vue.svg ├── vue2.svg ├── webstorm.svg ├── xcode.svg ├── xpath.svg ├── yaml.svg ├── yarn.svg └── zed.svg ├── docs ├── adb.md ├── adobe-lightroom.md ├── adobe-photoshop.md ├── adobe-xd.md ├── android-studio.md ├── ansible.md ├── apt.md ├── ascii-code.md ├── aspect-ratio.md ├── awk.md ├── bash.md ├── blender.md ├── bun.md ├── c.md ├── canvas.md ├── cargo.md ├── chatgpt.md ├── chmod.md ├── chown.md ├── cmake.md ├── cmd.md ├── cocoapods.md ├── colors-named.md ├── conan.md ├── conda.md ├── cpp.md ├── cron.md ├── cs.md ├── css.md ├── curl.md ├── dart.md ├── django.md ├── docker-compose.md ├── docker.md ├── dockerfile.md ├── dotnet-cli.md ├── ejs.md ├── elasticsearch.md ├── electron.md ├── elixir.md ├── emacs.md ├── emmet.md ├── emoji.md ├── erlang.md ├── es6.md ├── expressjs.md ├── fastapi.md ├── feds.md ├── ffmpeg.md ├── figma.md ├── find.md ├── finder.md ├── firefox.md ├── flask.md ├── flutter.md ├── ftp.md ├── gdb.md ├── git.md ├── github-actions.md ├── github-cli.md ├── github-copilot.md ├── github.md ├── gitlab-ci.md ├── gitlab.md ├── glances.md ├── gmail.md ├── golang.md ├── google-chrome.md ├── graphql.md ├── grep.md ├── homebrew.md ├── hook.md ├── html-char.md ├── html.md ├── htmx.md ├── htop.md ├── http-status-code.md ├── ini.md ├── intelli-j-idea.md ├── iptables.md ├── iso-3166-1.md ├── iso-639-1.md ├── java.md ├── javascript.md ├── jest.md ├── jq.md ├── jquery.md ├── json.md ├── julia.md ├── jupyter.md ├── justfile.md ├── koajs.md ├── kotlin.md ├── kubernetes.md ├── laravel.md ├── latex.md ├── lerna.md ├── lessjs.md ├── linux-command.md ├── lsof.md ├── lua.md ├── make.md ├── markdown.md ├── matlab.md ├── mime.md ├── minio.md ├── mitmproxy.md ├── mongodb.md ├── mysql.md ├── neo4j.md ├── nestjs.md ├── netcat.md ├── netstat.md ├── nextjs.md ├── nginx.md ├── npm.md ├── nvm.md ├── openssl.md ├── oracle.md ├── package.json.md ├── pacman.md ├── pandoc.md ├── php.md ├── phpstorm.md ├── pinia.md ├── pip.md ├── pm2.md ├── pnpm.md ├── ports.md ├── postgres.md ├── powershell.md ├── ps.md ├── pycharm.md ├── python.md ├── pytorch.md ├── quickreference.md ├── r.md ├── react-native.md ├── react.md ├── reactrouter.md ├── redis.md ├── regex.md ├── resolutions.md ├── ruby.md ├── rust.md ├── rxjs.md ├── sass.md ├── scala.md ├── screen.md ├── sdkman.md ├── sed.md ├── semver.md ├── sketch.md ├── springboot.md ├── sqlite.md ├── ssh.md ├── styled-components.md ├── stylex.md ├── stylus.md ├── sublime-text.md ├── subversion.md ├── swift.md ├── swiftui.md ├── symbol-code.md ├── sysdig.md ├── systemd.md ├── tailwindcss.md ├── tar.md ├── taskset.md ├── tauri.md ├── time-zones.md ├── tmux.md ├── toml.md ├── twitter.md ├── typescript.md ├── vim.md ├── vimium.md ├── vscode.md ├── vue.md ├── vue2.md ├── webstorm.md ├── xcode.md ├── xpath.md ├── yaml.md ├── yarn.md ├── yazi.md ├── yum.md ├── zed.md └── zip.md ├── icons ├── favicon.svg ├── touch-icon-ipad-retina.png ├── touch-icon-ipad.png ├── touch-icon-iphone-retina.png └── touch-icon-iphone.png ├── package.json └── renovate.json /.dockerignore: -------------------------------------------------------------------------------- 1 | .github 2 | .husky 3 | scripts 4 | node_modules 5 | package-lock.json 6 | pnpm-lock.yaml 7 | yarn.lock 8 | 9 | .DS_Store 10 | .cache 11 | .vscode 12 | .idea 13 | .snap 14 | .env 15 | 16 | *.bak 17 | *.tem 18 | *.temp 19 | #.swp 20 | *.*~ 21 | ~*.* 22 | 23 | # IDEA 24 | *.iml 25 | *.ipr 26 | *.iws -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [./docs/*.md] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | insert_final_newline = true 8 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | .husky/* linguist-vendored 2 | 3 | *.svg linguist-language=md 4 | *.md linguist-detectable=true 5 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | # github: [jaywcjlove] 4 | # patreon: # Replace with a single Patreon username 5 | # open_collective: # Replace with a single Open Collective username 6 | ko_fi: jaywcjlove 7 | buy_me_a_coffee: jaywcjlove 8 | # tidelift: #npm/mocker-api 9 | # community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 10 | custom: ["https://www.paypal.me/kennyiseeyou", "https://jaywcjlove.github.io/#/sponsor"] -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- 1 | name: 🐞 错误报告 2 | description: 当出现问题时提交报告以便修复! 3 | title: '🐞 错误报告: xxx.md' 4 | labels: ['request'] 5 | assignees: jaywcjlove 6 | body: 7 | - type: markdown 8 | attributes: 9 | value: | 10 | 🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧 11 | 注意:请求太多,请按照下面内容提供错误报告 12 | 🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧 13 | 14 | - type: input 15 | id: error-list 16 | attributes: 17 | label: 📄 错误清单 18 | description: 指定错误清单文件,方便我们快速定位错误。 19 | placeholder: ex. `docs/ansible.md` 20 | validations: 21 | required: true 22 | 23 | - type: checkboxes 24 | id: error-type 25 | attributes: 26 | label: 🧨 错误类型 27 | description: 请选择错误类型。 28 | options: 29 | - label: 排版 & 文字错误 30 | - label: 清单内容示例错误 31 | - label: 其它 32 | validations: 33 | required: true 34 | 35 | - type: textarea 36 | id: description 37 | attributes: 38 | label: 📖 错误说明 39 | description: 您可以在这里简单的提供一些资料,方便我们在 Quick Reference 中添加您想添加的备忘清单(速查表)。 40 | placeholder: 请您在这里详细介绍具体错误问题 41 | validations: 42 | required: true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/cheatsheet-request.yml: -------------------------------------------------------------------------------- 1 | name: 🤙 备忘清单请求 2 | description: 请求添加备忘清单和参考 3 | title: '【备忘清单】 请求: ' 4 | labels: ['request'] 5 | assignees: jaywcjlove 6 | body: 7 | - type: markdown 8 | attributes: 9 | value: | 10 | 🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧 11 | 注意:请求太多,参考【优先级】快速添加内容 12 | 🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧 13 | 14 | ### 优先级 15 | 16 | - 提交 PR 优先合并(优先处理) 17 | - 提供可复制的[中文/英文]备忘清单资料,优先添加 18 | - 大众化的内容(java/python),优先搬运(小众内容请提供资料) 19 | 20 | - type: textarea 21 | id: description 22 | attributes: 23 | label: 说明项目 24 | description: 您可以在这里简单的提供一些资料,方便我们在 Quick Reference 中添加您想添加的备忘清单(速查表)。 25 | placeholder: 【请您在这里介绍一下工具或者语言,这很重要】 26 | validations: 27 | required: true 28 | 29 | - type: input 30 | id: official-website 31 | attributes: 32 | label: 提供官网 33 | description: 提供官网网站有助于我们整理成备忘清单(速查表) 34 | placeholder: ex. https://xxx.com 35 | 36 | - type: markdown 37 | attributes: 38 | value: | 39 | _⚠️ 注意: 随着内容越来越多,可能甚至找不到这个工具或者语言的官网,请您在这里提供以便大家共同参与贡献内容_ 40 | 41 | - type: textarea 42 | id: reference-url 43 | attributes: 44 | label: 参考资料 URL 45 | description: 提供更多参考资料有助于我们整理成备忘清单(速查表) 46 | placeholder: | 47 | https://jaywcjlove.github.io/reference 48 | https://jaywcjlove.github.io/reference 49 | validations: 50 | required: true 51 | 52 | - type: markdown 53 | attributes: 54 | value: | 55 | _⚠️ 注意: 提供更多参考资料,以便大家共同参与贡献内容_ 56 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 😍 投稿指南 4 | url: https://github.com/jaywcjlove/reference/blob/main/CONTRIBUTING.md 5 | about: 请在做出任何贡献之前通读! 6 | - name: 🚀 部署镜像网站 7 | url: https://github.com/jaywcjlove/reference/issues/102#issue-1451649637 8 | about: 部署镜像网站教程在这里! 9 | - name: 🪩 清单排版布局说明 10 | url: https://jaywcjlove.github.io/reference/docs/quickreference.html 11 | about: 部署镜像网站教程在这里! 12 | - name: 🪩 Markdown 语法说明 13 | url: https://jaywcjlove.github.io/reference/docs/markdown.html 14 | about: 部署镜像网站教程在这里! -------------------------------------------------------------------------------- /.github/workflows/win.yml: -------------------------------------------------------------------------------- 1 | name: Win CI 2 | on: 3 | push: 4 | branches: 5 | - main 6 | 7 | jobs: 8 | build: 9 | if: github.repository == 'jaywcjlove/reference' 10 | runs-on: windows-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - uses: actions/setup-node@v4 14 | with: 15 | node-version: 20 16 | 17 | - run: npm install 18 | - run: npm run build 19 | - run: | 20 | cd ${{ github.workspace }} 21 | ls 22 | cd dist 23 | ls 24 | 25 | - uses: actions/upload-artifact@v4 26 | with: 27 | name: dist 28 | path: ${{ github.workspace }}\dist\**\* 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | node_modules 4 | package-lock.json 5 | pnpm-lock.yaml 6 | yarn.lock 7 | 8 | .DS_Store 9 | .cache 10 | .vscode 11 | .idea 12 | .snap 13 | .env 14 | 15 | *.bak 16 | *.tem 17 | *.temp 18 | #.swp 19 | *.*~ 20 | ~*.* 21 | 22 | # IDEA 23 | *.iml 24 | *.ipr 25 | *.iws -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx --no-install lint-staged 2 | -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- 1 | { 2 | "**/*.{mjs,css,json,prettierrc,lintstagedrc}": ["prettier --write"], 3 | "./docs/*.md": ["npx markdownlint-cli --fix ./docs"] 4 | } 5 | -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- 1 | { 2 | "MD003": false, 3 | "MD013": false, 4 | "MD014": false, 5 | "MD024": false, 6 | "MD033": false, 7 | "MD036": false, 8 | "MD040": false, 9 | "MD055": false, 10 | "MD056": false, 11 | "MD051": false, 12 | "MD010": { 13 | "code_blocks": true, 14 | "spaces_per_tab": 2 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist = true -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | package.json 2 | coverage 3 | dist 4 | build 5 | docs 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all", 4 | "printWidth": 120, 5 | "overrides": [ 6 | { "files": ".prettierrc", "options": { "parser": "json" } }, 7 | { "files": ".lintstagedrc", "options": { "parser": "json" } } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /.refsrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "{{description}},为开发人员分享快速参考备忘单。", 3 | "keywords": "reference,Quick,Reference,cheatsheet,cheat,sheet", 4 | "data-info": "👆待完善需要您的参与", 5 | "search": { 6 | "label": "搜索", 7 | "placeholder": "搜索备忘清单", 8 | "cancel": "取消" 9 | }, 10 | "editor": { 11 | "label": "编辑" 12 | }, 13 | "github": { 14 | "url": "https://github.com/jaywcjlove/reference" 15 | }, 16 | "favicon": "{{RELATIVE_PATH}}icons/favicon.svg", 17 | "meta": [ 18 | { "name": "author", "content": "jaywcjlove" }, 19 | { "name": "license", "content": "MIT" }, 20 | { "name": "funding", "content": "https://jaywcjlove.github.io/#/sponsor" }, 21 | { "rel": "apple-touch-icon", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone.png" }, 22 | { "rel": "apple-touch-icon", "sizes": "152x152", "href": "{{RELATIVE_PATH}}icons/touch-icon-ipad.png" }, 23 | { "rel": "apple-touch-icon", "sizes": "180x180", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone.png" }, 24 | { "rel": "apple-touch-icon", "sizes": "167x167", "href": "{{RELATIVE_PATH}}icons/touch-icon-ipad-retina.png" }, 25 | { "rel": "apple-touch-icon", "sizes": "120x120", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone-retina.png" } 26 | ], 27 | "giscus": { 28 | "src": "https://giscus.app/client.js", 29 | "data-repo": "jaywcjlove/reference", 30 | "data-repo-id": "R_kgDOID2-Mw", 31 | "data-category": "Q&A", 32 | "data-category-id": "DIC_kwDOID2-M84CS5wo", 33 | "data-mapping": "pathname", 34 | "data-strict": "0", 35 | "data-reactions-enabled": "1", 36 | "data-emit-metadata": "0", 37 | "data-input-position": "bottom", 38 | "data-theme": "dark", 39 | "data-lang": "zh-CN", 40 | "crossorigin": "anonymous", 41 | "async": true 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # https://lipanski.com/posts/smallest-docker-image-static-website 2 | # https://github.com/lipanski/docker-static-website 3 | FROM wcjiang/docker-static-website:latest 4 | 5 | # Copy the static website 6 | # Use the .dockerignore file to control what ends up inside the image! 7 | COPY ./dist . -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 小弟调调™ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /appicon/audioer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/audioer.png -------------------------------------------------------------------------------- /appicon/copybook-generator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/copybook-generator.png -------------------------------------------------------------------------------- /appicon/create-custom-symbols.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/create-custom-symbols.png -------------------------------------------------------------------------------- /appicon/daybar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/daybar.png -------------------------------------------------------------------------------- /appicon/devhub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/devhub.png -------------------------------------------------------------------------------- /appicon/devtutor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/devtutor.png -------------------------------------------------------------------------------- /appicon/file-sentinel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/file-sentinel.png -------------------------------------------------------------------------------- /appicon/focus-cursor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/focus-cursor.png -------------------------------------------------------------------------------- /appicon/hosts-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/hosts-editor.png -------------------------------------------------------------------------------- /appicon/iconed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/iconed.png -------------------------------------------------------------------------------- /appicon/iconize-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/iconize-folder.png -------------------------------------------------------------------------------- /appicon/key-clicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/key-clicker.png -------------------------------------------------------------------------------- /appicon/musicer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/musicer.png -------------------------------------------------------------------------------- /appicon/npmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/npmd.png -------------------------------------------------------------------------------- /appicon/palette-genius.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/palette-genius.png -------------------------------------------------------------------------------- /appicon/paste-quick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/paste-quick.png -------------------------------------------------------------------------------- /appicon/quick-rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/quick-rss.png -------------------------------------------------------------------------------- /appicon/regex-mate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/regex-mate.png -------------------------------------------------------------------------------- /appicon/resume-revise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/resume-revise.png -------------------------------------------------------------------------------- /appicon/rightmenu-master.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/rightmenu-master.png -------------------------------------------------------------------------------- /appicon/symbol-scribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/symbol-scribe.png -------------------------------------------------------------------------------- /appicon/textsound-saver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/textsound-saver.png -------------------------------------------------------------------------------- /appicon/time-passage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/time-passage.png -------------------------------------------------------------------------------- /appicon/videoer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/videoer.png -------------------------------------------------------------------------------- /appicon/web-serve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/appicon/web-serve.png -------------------------------------------------------------------------------- /assets/adb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/adobe-lightroom.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/adobe-photoshop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/android-studio.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/ansible.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/bash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/blender.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/c.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/canvas.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/cargo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/chmod.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/chown.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/cmake.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/cmd.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/cocoapods.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/colors-named.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/conan.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/conda.svg: -------------------------------------------------------------------------------- 1 | Anaconda -------------------------------------------------------------------------------- /assets/cpp.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/cron.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/cs.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/css.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/dart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/django.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/docker-compose.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/docker.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/dockerfile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/ejs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/elasticsearch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/electron.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/elixir.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/emacs.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/emmet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/emoji.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/es6.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/expressjs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/fastapi.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/ffmpeg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/figma.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/find.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/finder.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/firefox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/flutter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /assets/git.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/github-cli.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/github-copilot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/gitlab-ci.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /assets/gitlab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /assets/gmail.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/google-chrome.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/graphql.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/grep.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/html.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/htop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/intelli-j-idea.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/java.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/javascript.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/jest.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/jquery.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/json.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/jupyter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/koajs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/kotlin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/laravel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/markdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/matlab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/minio.svg: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /assets/mongodb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/neo4j.svg: -------------------------------------------------------------------------------- 1 | Neo4j -------------------------------------------------------------------------------- /assets/netcat.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/netstat.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/nextjs.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/nginx.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/npm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/nvm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/openssl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/oracle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/php.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/phpstorm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/pnpm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/powershell.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/pycharm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/python.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/pytorch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/quickreference.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/r.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/react-native.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/react.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/reactrouter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/redis.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/regex.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /assets/ruby.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/rust.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/sass.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/scala.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/sed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/semver.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/sketch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/springboot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/styled-components.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/stylex.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/stylus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/sublime-text.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/subversion.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/swift.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/sysdig.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/systemd.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/tailwindcss.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/tar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 16 | 22 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /assets/tauri.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /assets/time-zones.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/tmux.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/toml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/typescript.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/vim.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/vscode.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/vue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/vue2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/webstorm.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /assets/xcode.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/xpath.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/yaml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/yarn.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/zed.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/chown.md: -------------------------------------------------------------------------------- 1 | Chown 备忘清单 2 | === 3 | 4 | 这份快速参考备忘单提供了改变文件或目录的所有者的简要概述,以及 chown 命令的操作 5 | 6 | 入门 7 | -------- 8 | 9 | ### 介绍 10 | 11 | Linux/Unix 系统中的一个命令,全称为 `change owner`,用于改变文件或目录的所有者 12 | 13 | ```shell 14 | chown [选项] [所有者][:[组]] 文件或目录名 15 | ``` 16 | 17 | 命令可以更改某个文件或目录的属主(owner),也可以同时更改其属组(group) 18 | 19 | #### 示例 20 | 21 | ```shell 22 | $ chown :groupname file1.txt 23 | $ chown -R username:groupname * 24 | $ chown $USER file.txt 25 | ``` 26 | 27 | `注意` 只有超级用户(root)才有权限改变文件或目录的所有者 28 | 29 | ### 选项 30 | 31 | - `-c` : 显示更改的部分的信息 32 | - `-f` : 忽略错误信息 33 | - `-h` :修复符号链接 34 | - `-v` : 显示详细的处理信息 35 | - `-R` : 处理指定目录以及其子目录下的所有文件 36 | - `--help` : 显示辅助说明 37 | - `--version` : 显示版本 38 | 39 | 示例 40 | -------- 41 | 42 | ### 更改文件所有者 43 | 44 | ```shell 45 | $ chown root /var/run/httpd.pid 46 | ``` 47 | 48 | 把 `/var/run/httpd.pid` 的所有者设为 `root` 49 | 50 | #### 仅更改所有者 51 | 52 | ```bash 53 | $ chown new_owner file.txt 54 | ``` 55 | 56 | ### 递归更改目录及其内容的所有者 57 | 58 | 59 | ```shell 60 | chown -R new_owner:new_group directory/ 61 | ``` 62 | 63 | 将文件夹 `directory` 的拥有者设为 `new_owner` ,群体的使用者设为 `new_group` 64 | 65 | ```shell 66 | $ chown username:groupname file1.txt 67 | ``` 68 | 69 | 将文件 file1.txt 的拥有者设为 `username` ,群体的使用者设为 `groupname` 70 | 71 | ```shell 72 | $ chown -R username:groupname * 73 | ``` 74 | 75 | 将当前目录以及子目录的所有文件的拥有者设为 `username` ,群体的使用者设为 `groupname` 76 | 77 | ### 更改所有者为当前用户 78 | 79 | ```bash 80 | $ chown $USER file.txt 81 | ``` 82 | 83 | 递归更改目录及其内容的所有者为当前用户 84 | 85 | ```bash 86 | sudo chown -R $USER directory/ 87 | ``` 88 | 89 | ### 递归并且不显示错误信息 90 | 91 | ```bash 92 | chown -R -f new_owner:new_group directory/ 93 | ``` 94 | 95 | 更改目录及其内容的所有者和组为 `alice` 96 | 97 | ```bash 98 | chown -R alice: directory/ 99 | ``` 100 | 101 | ### 仅更改组 102 | 103 | ```shell 104 | $ chown :groupname file1.txt 105 | ``` 106 | 107 | 不修改文件 `file1.txt` 的拥有者,将文件使用群体改为 `groupname` 108 | 109 | ### 变更符号链接的所有者 110 | 111 | 112 | ```bash 113 | $ chown -h new_owner:new_group symlink 114 | ``` 115 | 116 | 变更符号链接的所有者而不是链接指向的文件 117 | 118 | ```bash 119 | $ chown -h manager symlink 120 | ``` 121 | 122 | 更改符号链接的所有者为"manager" 123 | 124 | ### 更改所有者为根用户 125 | 126 | 127 | ```bash 128 | sudo chown root:root file.txt 129 | ``` 130 | 131 | #### 递归更改所有者为当前用户 132 | 133 | ```bash 134 | sudo chown -R $USER directory/ 135 | # 更改目录及其内容的所有者和组为"alice": 136 | chown -R alice: directory/ 137 | ``` 138 | 139 | ### 将文件所有者更改为其他用户,但保留组 140 | 141 | ```bash 142 | chown new_owner file.txt 143 | ``` 144 | 145 | ### 将文件所有者更改为其他用户,同时更改组 146 | 147 | ```bash 148 | chown new_owner:new_group file.txt 149 | ``` 150 | -------------------------------------------------------------------------------- /docs/finder.md: -------------------------------------------------------------------------------- 1 | Finder 备忘清单 2 | === 3 | 4 | Finder 中 55 个键盘快捷键的可视化小抄。此应用程序是 macOS 的一部分。 5 | 6 | 键盘快捷键 7 | ---- 8 | 9 | 10 | ### 修饰键符号 11 | 12 | 13 | - `Command` (或 `Cmd`) ⌘ 14 | - `Option` (或 `Alt`) ⌥ 15 | - `Caps Lock` ⇪ 16 | - `Shift` ⇧ 17 | - `Control` (或 `Ctrl`) ⌃ 18 | - `Fn` 🌐 19 | 20 | 21 | ### Finder 快捷键 22 | 23 | 24 | 快捷键 | 操作 25 | ---|--- 26 | `Cmd` `D` | 复制选定的文件 27 | `Cmd` `E` | 弹出选定的磁盘或卷 28 | `Cmd` `F` | 在Finder窗口中启动Spotlight搜索 29 | `Cmd` `I` | 显示选定文件的详细信息窗口 30 | `Cmd` `R` | 当在Finder中选择别名时,显示所选别名的原始文件 31 | `Cmd` `Shift` `C` | 打开计算机窗口 32 | `Cmd` `Shift` `D` | 打开桌面文件夹 33 | `Cmd` `Shift` `F` | 打开最近窗口,显示您最近查看或更改的所有文件 34 | `Cmd` `Shift` `G` | 打开前往文件夹窗口 35 | `Cmd` `Shift` `H` | 打开当前MacOS用户账户的主文件夹 36 | `Cmd` `Shift` `I` | 打开iCloud驱动器 37 | `Cmd` `Shift` `K` | 打开网络窗口 38 | `Cmd` `Opt` `L` | 打开下载文件夹 39 | `Cmd` `Shift` `N` | 创建新文件夹 40 | `Cmd` `Shift` `O` | 打开文档文件夹 41 | `Cmd` `Shift` `P` | 在Finder窗口中显示或隐藏预览窗格 42 | `Cmd` `Shift` `R` | 打开AirDrop窗口 43 | `Cmd` `Shift` `T` | 在Finder窗口中显示或隐藏选项卡栏 44 | `Ctrl` `Cmd` `Shift` `T` | 将选定的Finder项目添加到Dock 45 | `Cmd` `Shift` `U` | 打开实用工具文件夹 46 | `Cmd` `Opt` `D` | 显示或隐藏Dock 47 | `Cmd` `Ctrl` `T` | 将选定项目添加到侧边栏 48 | `Cmd` `Opt` `P` | 在Finder窗口中隐藏或显示路径栏 49 | `Cmd` `Opt` `S` | 在Finder窗口中隐藏或显示侧边栏 50 | `Cmd` `/` | 在Finder窗口中隐藏或显示状态栏 51 | `Cmd` `J` | 显示视图选项 52 | `Cmd` `K` | 打开连接到服务器窗口 53 | 54 | 55 | ### Finder 快捷键 56 | 57 | 58 | 快捷键 | 操作 59 | ---|--- 60 | `Cmd` `Ctrl` `A` | 制作所选项目的别名 61 | `Cmd` `N` | 打开新的Finder窗口 62 | `Cmd` `Opt` `N` | 创建新的智能文件夹 63 | `Cmd` `T` | 在当前Finder窗口中打开或隐藏选项卡栏 64 | `Cmd` `Opt` `T` | 在当前Finder窗口中打开或隐藏工具栏 65 | `Cmd` `Opt` `V` | 将剪贴板中文件从其原始位置移动到当前位置 66 | `Cmd` `Y` | 使用快速查看预览所选文件 67 | `Cmd` `Opt` `Y` | 查看所选文件的快速查看幻灯片 68 | `Cmd` `1` | 将Finder窗口中的项目以图标形式查看 69 | `Cmd` `2` | 将Finder窗口中的项目以列表形式查看 70 | `Cmd` `3` | 将Finder窗口中的项目以列形式查看 71 | `Cmd` `4` | 将Finder窗口中的项目以画廊形式查看 72 | `Cmd` `[` | 转到上一个文件夹 73 | `Cmd` `]` | 转到下一个文件夹 74 | `Cmd` `Up` | 打开包含当前文件夹的文件夹 75 | `Cmd` `Ctrl` `Up` | 在新窗口中打开包含当前文件夹的文件夹 76 | `Cmd` `Left` | 打开所选项目 77 | `Right` | 打开所选文件夹(仅在列表视图中有效) 78 | `Left` | 关闭所选文件夹(仅在列表视图中有效) 79 | `Cmd` `Del` | 将所选项目移至废纸篓 80 | `Cmd` `Shift` `Del` | 清空废纸篓 81 | `Cmd` `Opt` `Shift` `Del` | 无需确认对话框即可清空废纸篓 82 | `Cmd` `Bright-Down` | 在Mac连接到多个显示器时打开或关闭视频镜像 83 | `Cmd` `Bright-Up` | 打开显示首选项 84 | `Ctrl` `Bright` | 更改外部显示器的亮度(如果支持) 85 | `Opt` `Shift` `Bright` | 以较小步长调整显示亮度 86 | `Ctrl` `Down` | 显示前台应用程序的所有窗口 87 | `Opt` `Vol` | 打开声音首选项 88 | 89 | 90 | 另见 91 | ---- 92 | 93 | - [macOS Finder 的键盘快捷键](https://support.apple.com/en-us/HT201236) _(support.apple.com)_ 94 | -------------------------------------------------------------------------------- /docs/ftp.md: -------------------------------------------------------------------------------- 1 | ftp 备忘清单 2 | === 3 | 4 | 此 ftp 备忘清单包含命令和使用 ftp 脚本实现自动化的技巧示例。 5 | 6 | 入门 7 | ---- 8 | 9 | ### 介绍 10 | 11 | 12 | 13 | - FTP 命令允许用户通过FTP(File Transfer Protocol)协议在本地计算机和远程服务器之间传输文件。 14 | - FTP 是一种在网络上交换文件的标准协议,是 ARPANet 的标准文件传输协议,ARPANet 网络就是现今 Internet 的前身。 15 | - 使用 FTP 协议时,一方充当客户端,另一方充当服务器,客户端可以上传、下载、删除、重命名文件和目录,以及执行其他文件传输相关的操作。 16 | 17 | ### 选项 18 | 19 | 20 | ```bash 21 | ftp -v ftp.example.com 22 | ``` 23 | 24 | `-v`:启用或禁用详细模式。在详细模式下,`ftp`命令会显示所有来自服务器的响应消息。默认情况下,该选项为开启状态。 25 | 26 | ```bash 27 | ftp -d ftp.example.com 28 | ``` 29 | 30 | `-d`:启用调试模式。该选项会显示所有FTP传输过程中发送和接收到的命令,有助于调试连接问题。 31 | 32 | ```bash 33 | ftp -n ftp.example.com 34 | ``` 35 | 36 | `-n`:禁止自动登录。默认情况下,`ftp`命令会在连接到远程服务器后尝试自动登录。使用该选项可以禁止该行为,通常与`.netrc`文件联合使用。 37 | 38 | ```bash 39 | ftp -g ftp.example.com 40 | ``` 41 | 42 | 禁用文件名通配符扩展。`ftp`命令默认会展开文件名中的通配符。使用该选项可以关闭这一行为。 43 | 44 | ```bash 45 | ftp -p ftp.example.com 46 | ``` 47 | 48 | `-p`:使用被动模式(PASV)进行数据连接。被动模式在客户端位于防火墙或NAT后面时非常有用。 49 | 50 | ```bash 51 | ftp -s:script.txt ftp.example.com # Windows 52 | ftp -n ftp.example.com < script # Linux 53 | ``` 54 | 55 | :warning: Windows 上使用`-s`选项指定`script.txt`脚本执行 ftp 命令。Linux 上可以使用重定向实现。 56 | 57 | ### 目录操作 58 | 59 | | 命令 | 描述 | 60 | | -------------------- | -------------------------- | 61 | | `cd` | 更改当前工作目录到指定目录 | 62 | | `ls`或`dir` | 列出当前目录下的内容 | 63 | | `pwd` | 显示当前目录的绝对路径 | 64 | | `mkdir` | 创建目录 | 65 | | `rmdir` | 删除一个目录 | 66 | | `rename ` | 重命名一个目录 | 67 | 68 | ### 快速开始 69 | 70 | 71 | 72 | 使用匿名模式访问远程 FTP 服务器 73 | 74 | ```bash 75 | ftp ftp.example.com 76 | ``` 77 | 78 | ftp 会启动交互式命令行 79 | 80 | ```bash 81 | Connected to (). 82 | 220 (vsFTPd 3.*) 83 | # 需要手动输入 anonymous 84 | Name (192.168.10.10:root): anonymous 85 | 331 Please specify the password. 86 | Password: # 匿名模式下直接回车 87 | 230 Login successful. 88 | Remote system type is UNIX. 89 | Using binary mode to transfer files. 90 | ``` 91 | 92 | 连接成功后进入交互式会话. 93 | 94 | 查看所有命令,使用 `helm` 或 `?` 95 | 96 | ```bash 97 | ftp> help 98 | # 或者 99 | ftp> ? 100 | ``` 101 | 102 | ### 文件操作 103 | 104 | | 命令 | 描述 | 105 | | ---------------------- | -------------------- | 106 | | `get ` | 下载一个文件到本地 | 107 | | `mget` | 下载多个文件到本地 | 108 | | `put ` | 上传一个文件到服务器 | 109 | | `mput` | 上传多个文件到服务器 | 110 | | `delete ` | 删除一个文件 | 111 | | `rename ` | 重命名一个文件 | 112 | 113 | 脚本 114 | ---- 115 | 116 | ### 样例 117 | 118 | 119 | 120 | 以匿名登录为例,将下列脚本代码放入文件 `script` 中: 121 | 122 | ```bash 123 | user anonymous "\n" # 匿名用户 124 | binary # 将文件传输模式设置为二进制模式,这对于非文本文件(如图片、压缩文件等)来说是必要的,以确保文件在传输过程中不会被更改。 125 | ls # 进入某个目录 126 | pwd # 输出当前路径 127 | quit # 退出 ftp 连接 128 | ``` 129 | 130 | 使用 `ftp` 命令执行脚本文件: 131 | 132 | ```bash 133 | ftp -n ftp.example.com < script # 使用 -n 选项禁止自动登录,这样会继续执行 user 指令,而不是启动交互式命令行。 134 | ``` 135 | -------------------------------------------------------------------------------- /docs/gitlab.md: -------------------------------------------------------------------------------- 1 | GitLab 键盘快捷键 备忘清单 2 | === 3 | 4 | GitLab 中 58 个键盘快捷键的可视化备忘单 5 | 6 | 键盘快捷键 7 | --------- 8 | 9 | ### 全局的 10 | 11 | 快捷键 | 说明 12 | :- | - 13 | `?` | 显示或隐藏快捷方式参考表 14 | `Shift` `P` | 转到您的项目页面 15 | `Shift` `G` | 转到您的群组页面 16 | `Shift` `A` | 前往您的活动页面 17 | `Shift` `L` | 转到您的里程碑页面 18 | `Shift` `S` | 转到您的摘要页面 19 | `S` | 将光标放在问题或合并请求搜索中 20 | `Shift` `I` | 转到您的问题页面 21 | `Shift` `T` | 转到您的合并请求页面 22 | `P` `B` | 显示或隐藏性能栏 23 | `Up` | 编辑您的最后一条评论,您必须在主题下方的空白文本字段中 24 | `Ctrl` `Shift` `P` | 在文本字段中编辑文本时切换降价预览 25 | 26 | 27 | ### 项目 28 | 29 | 30 | 快捷键 | 说明 31 | :- | - 32 | `G` `P` | 进入项目主页 33 | `G` `V` | 转到项目活动提要 34 | `G` `R` | 转到项目发布列表 35 | `G` `F` | 转到项目文件列表 36 | `T` | 进入项目文件搜索页面 37 | `G` `C` | 转到项目提交列表 38 | `G` `N` | 转到存储库图页面 39 | `G` `D` | 转到存储库图表 40 | `G` `I` | 转到项目问题列表 41 | `I` | 转到新问题页面 42 | `G` `B` | 转到项目问题板列表 43 | `G` `M` | 转到项目合并请求列表 44 | `G` `J` | 转到 CI/CD 作业列表 45 | `G` `L` | 转到项目指标 46 | `G` `E` | 转到项目环境 47 | `G` `K` | 进入项目Kubernetes集群集成页面 48 | `G` `S` | 转到项目片段列表 49 | `G` `W` | 转到项目 wiki,如果启用 50 | 51 | 52 | ### 问题和合并请求 53 | 54 | 快捷键 | 说明 55 | :- | - 56 | `E` | 编辑说明 57 | `A` | 变更受让人 58 | `M` | 改变里程碑 59 | `L` | 更改标签 60 | `R` | 开始写评论,如果选择了任何文本,它将被引用 61 | `N` | 移至下一个未解决的讨论,仅合并请求 62 | `P` | 移至先前未解决的讨论,仅合并请求 63 | `]` | 移动到下一个文件,仅合并请求 64 | `[` | 移动到上一个文件,仅合并请求 65 | 66 | 67 | ### 项目文件 68 | 69 | 快捷键 | 说明 70 | :- | - 71 | `Up` | 向上移动选择 72 | `Down` | 向下移动选择 73 | `Enter` | 开放选择 74 | `Esc` | 返回文件列表屏幕,仅在搜索文件时 75 | `Y` | 仅在查看文件时转到文件永久链接 76 | 77 | 78 | ### 网络集成开发环境 79 | 80 | 快捷键 | 说明 81 | :- | - 82 | `Ctrl` `P` | 搜索并打开另一个文件进行编辑 83 | `Ctrl` `Enter` | 提交,在编辑提交消息时 84 | 85 | 86 | ### 存储库 87 | 88 | 89 | 快捷键 | 说明 90 | :- | - 91 | `Left` | 向左滚动 92 | `Right` | 向右滚动 93 | `Up` | 向上滑动 94 | `Down` | 向下滚动 95 | `Shift` `Up` | 滚动到顶部 96 | `Shift` `Down` | 滚动到底部 97 | 98 | 99 | ### 维基页面 100 | 101 | 快捷键 | 说明 102 | :- | - 103 | `E` | 编辑维基页面 104 | 105 | 106 | ### 过滤搜索 107 | 108 | 快捷键 | 说明 109 | :- | - 110 | `Ctrl` `Backspace` | 清除整个搜索过滤器 111 | `Alt` `Backspace` | 一次清除一个标记 112 | 113 | 114 | ### 史诗 115 | 116 | 快捷键 | 说明 117 | :- | - 118 | `R` | 开始写评论,如果选择了任何文本,它将被引用 119 | `E` | 编辑说明 120 | `L` | 更改标签 121 | 122 | 123 | 另见 124 | ---- 125 | 126 | - [Keyboard shortcuts for GitLab](https://docs.gitlab.com/ee/user/shortcuts.html) _(docs.gitlab.com)_ 127 | -------------------------------------------------------------------------------- /docs/gmail.md: -------------------------------------------------------------------------------- 1 | Gmail 备忘清单 2 | === 3 | 4 | 本备忘单总结了常用的 [Gmail](https://gmail.com/) 快捷键,以供快速参考。 5 | 6 | Gmail 快捷键 7 | --- 8 | 9 | ### Gmail 导航 10 | 11 | :- | :- 12 | :- | :- 13 | `u` | 返回话题列表(或刷新话题列表) 14 | `k` / `j` | 较新/较旧的对话 15 | `o` or `Enter` | 打开对话; 折叠/展开 16 | `p` / `n` | 阅读上一条/下一条消息 17 | \` | 转到下一个收件箱部分 18 | `~` | 转到上一个收件箱部分 19 | 20 | 21 | ### Gmail 应用程序 22 | 23 | :- | :- 24 | :- | :- 25 | `c` | 撰写 26 | `d` | 添加 cc 撰写 27 | `b` | 添加 cc 和 bcc 撰写 28 | `/` | 搜索 29 | `q` | 焦点聊天联系人搜索 30 | `?` | 打开快捷方式帮助 31 | 32 | 33 | ### Gmail 操作 34 | 35 | 36 | :- | :- 37 | :- | :- 38 | `,` | 将焦点移至工具栏 39 | `x` | 选择对话 40 | `s` | 旋转超级巨星 41 | `y` | 删除标签 42 | `e` | 档案 43 | `m` | 忽略对话 44 | `!` | 报告为垃圾邮件 45 | `v` | 打开移动到菜单 46 | `#` | 移到废纸篓 47 | `r` | 回复 48 | `Shift+r` | 在新窗口中回复 49 | `a` | 全部回复 50 | `Shift+a` | 在新窗口中回复所有 51 | `f` | 向前 52 | `Shift+f` | 在新窗口中转发 53 | `Shift+n` | 更新对话 54 | `Tab` 然后 `Enter` | 发邮件 55 | `Esc` | 焦点最后聊天痣 56 | `]` / `[` | 删除并转到上一个/下一个 57 | `}` / `{` | 存档并转到上一个/下一个 58 | `z` | 撤消上一个操作 59 | `.` | 打开更多操作菜单 60 | `l` | 打开标签菜单 61 | `Shift+i` | 标记为已读 62 | `Shift+u` | 标记为未读 63 | `_` | 将所选邮件标记为未读 64 | `Ctrl+s` | 保存草稿 65 | `+` 或 `=` | 标记为重要 66 | `-` | 标记为不重要 67 | `Shift+l` | 喜欢/不喜欢嗡嗡声 68 | `h` | 抢先看 69 | `g` 然后 `p` | 打个电话 70 | `&` | 启动老蛇 71 | `Shift+t` | 将对话添加到任务 72 | 73 | 74 | ### Gmail 跳转 75 | 76 | :- | :- 77 | :- | :- 78 | `g` 然后 `i` | 打开收件箱 79 | `g` 然后 `s` | 打开已加星标的对话 80 | `g` 然后 `t` | 打开已发送消息 81 | `g` 然后 `d` | 打开草稿 82 | `g` 然后 `a` | 打开所有消息 83 | `g` 然后 `c` | 打开联系人 84 | `g` 然后 `b` | 去嗡嗡声 85 | `g` 然后 `l` | 转到标签 86 | `g` 然后 `k` | 前往任务 87 | 88 | 89 | ### Gmail 主题列表选择 90 | 91 | :- | :- 92 | :- | :- 93 | `*` 然后 `a` | 选择所有对话 94 | `*` 然后 `n` | 取消选择所有对话 95 | `*` 然后 `r` | 选择阅读对话 96 | `*` 然后 `u` | 选择未读对话 97 | `*` 然后 `s` | 选择加星标的对话 98 | `*` 然后 `t` | 选择未加星标的对话 99 | 100 | 101 | ### Gmail 搜索语法 102 | 103 | :- | :- 104 | :- | :- 105 | `from:[arg]` | 从 106 | `to:[arg]` | 至 107 | `label:­[arg]` | 标签 108 | `subjec­t:[arg]` | 主题 109 | `-[arg]` | 不包含 110 | `has:at­tac­hment` | 有附件 111 | `filena­me:­[fi­lename]` | 附件文件名 112 | `before­:20­11/­11/20` | 之前(日期) 113 | `after:­201­1/11/20` | 之后(日期) 114 | `from:annie` 或 `from:david` | 或运算符 115 | `list:[arg]` | 邮件列表 116 | `subjec­t:(­word1 word2)` | 组词 117 | `in:any­where` | 在所有框中搜索(垃圾邮件和垃圾邮件除外) 118 | `in:trash in:inbox in:spam` | 在特定框中搜索 119 | `is:starred is:read is:unread` | 搜索特定消息 120 | `is:chat` | 在聊天中搜索 121 | `cc:[arg] bcc:[arg]` | 搜索副本收件人 122 | 123 | 124 | ### Gmail 提示和技巧 125 | 126 | - 按 `u` 刷新话题列表 127 | - 对于多选,选择一个对话,然后 `shift+单击`另一个对话以选择其间的所有对话 128 | - 在主题中添加 `EOM`(消息结尾)以避免 `no-text-in-body` 警告 129 | -------------------------------------------------------------------------------- /docs/htop.md: -------------------------------------------------------------------------------- 1 | htop 备忘清单 2 | === 3 | 4 | htop 是一个交互式流程查看器,此 htop 备忘清单包含 htop 命令 5 | 6 | 入门 7 | ---- 8 | 9 | ### htop 用法 10 | 11 | htop 是一个互动的进程查看器,动态观察系统进程状况 12 | 13 | - [命令 htop 的官网](https://htop.sourceforge.net/) 14 | 15 | ```bash 16 | $ htop [-dChustv] 17 | ``` 18 | 19 | #### 安装 20 | 21 | ```bash 22 | $ apt install htop # Debian 23 | $ dnf install htop # Fedora 24 | $ emerge sys-process/htop # Gentoo 25 | $ pacman -S htop # Arch Linux 26 | $ Compile htop # GoboLinux 27 | ``` 28 | 29 | htop 的软件包在大多数发行版中都[可用下载](https://htop.dev/downloads.html) 30 | 31 | ### 选项示例 32 | 33 | 34 | 长选项的强制参数对于短选项也是强制的 35 | 36 | :- | :- 37 | :- | :- 38 | `-d --delay=DELAY` | 更新之间的延迟,以十分之一秒为单位 39 | `-C --no-color --no-colour` | 以单色模式启动 `htop` 40 | `-h --help` | 显示帮助消息并退出 41 | `-p --pid=PID,PID...` | 仅显示给定的PID 42 | `-s --sort-key COLUMN` | 按此列排序(对列列表使用`--sort-key`帮助) 43 | `-u --user=USERNAME` | 仅显示给定用户的进程 44 | `-v --version` | 输出版本信息并退出 45 | `-t --tree` | 在树状视图中显示流程 46 | 47 | ### 状态 48 | 49 | :- | :- 50 | :- | :- 51 | `R` | 运行中 52 | `S` | 休眠 53 | `T` | 追踪/停止 54 | `Z` | 僵尸 55 | `D` | 磁盘睡眠 56 | 57 | 58 | ### 交互式命令 59 | 60 | 61 | :- | :- 62 | :- | :- 63 | `F1`, `h`, `?` | 转到帮助屏幕 64 | `F10`, `q` | 退出 65 | `Space` | 标记或取消标记进程 66 | `U` | 取消标记所有进程(删除所有使用 Space 键添加的标记) 67 | `s` | 跟踪进程系统调用:如果安装了 `strace(1)`,按下此键会将其附加到当前选定的进程,呈现进程发出的系统调用的实时更新 68 | `l` | 显示进程打开的文件:如果安装了 `lsof(1)`,按下该键将显示进程打开的文件描述符列表 69 | `F2`, `S` | 转到设置屏幕,您可以在其中配置屏幕顶部显示的仪表,设置各种显示选项,在配色方案中进行选择,并选择显示的列,以何种顺序显示 70 | `F3`, `/` | 逐步搜索所有显示进程的命令行。当前选定(突出显示)的命令将在您键入时更新。在搜索模式下,按 `F3` 将循环匹配出现的事件 71 | `F4`, `\` | 增量进程过滤:输入部分进程命令行,仅显示名称匹配的进程。要取消过滤,请再次输入过滤选项并按 `Esc` 72 | `F5`, `t` | 树视图:按父级组织进程,并将它们之间的关系布局为树。切换键将在树和您之前选择的排序视图之间切换。选择排序视图将退出树视图 73 | `F6` | 在排序视图上,选择一个字段进行排序,也可以通过 < 和 > 访问。当前排序字段由标题中的突出显示。在树视图中,展开或折叠当前子树。树节点中的“+”指示符表示它已折叠 74 | `F7`, `]` | 增加所选进程的优先级(从“nice”值中减去)。这只能由超级用户完成 75 | `F8`, `[` | 降低选定进程的优先级(添加到“nice”值) 76 | `F9`, `k` | “杀死”进程:向一个或一组进程发送一个在菜单中选择的信号。如果进程被标记,则将信号发送到所有标记的进程。如果没有标记,则发送到当前选定的进程 77 | `+`, `-` | 在树视图模式下,展开或折叠子树。 78 | `a` | (在多 CPU 机器上)设置 CPU 亲和性:标记允许进程使用的 CPU 79 | `u` | 仅显示指定用户拥有的进程 80 | `F` | “跟随”进程:如果排序顺序导致当前选定的进程在列表中移动,则使选择栏跟随它。这对于监控进程很有用:这样,您可以使进程始终在屏幕上可见。使用移动键时,“跟随”失效。 81 | `p` | 在适用的情况下显示运行程序的完整路径(这是一个切换键) 82 | `Ctrl-L` | 刷新:重绘屏幕并重新计算数值 83 | `Numbers` | PID搜索:输入进程ID,选择突出显示将移至它 84 | 85 | 86 | ### 排序/线程 87 | 88 | :- | :- 89 | :- | :- 90 | `M` | 按`内存`使用情况排序 _(最高兼容性键)_ 91 | `P` | 按`CPU`使用情况排序 _(最高兼容性键)_ 92 | `T` | 按`时间`排序 _(最高兼容性键)_ 93 | `I` | `反转`排序顺序 94 | `K` | 隐藏`内核`线程 95 | `H` | 隐藏`用户`线程 96 | 97 | 98 | ### 滚动 99 | 100 | :- | :- 101 | :- | :- 102 | `Up`, `Alt-k` | 在流程列表中选择(突出)`上`一个流程 103 | `Down`, `Alt-j` | 在流程列表中选择(突出)`下`一个流程 104 | `Left`, `Alt-h` | 向`左`滚动流程列表 105 | `Right`, `Alt-l` | 向`右`滚动进程列表 106 | `PgUp`, `PgDn` | 将流程列表`向上`或`向下`滚动一个窗口 107 | `Home` | 滚动到流程列表的`顶部`
_选择第一个流程_ 108 | `End` | 滚动到流程列表的`底部`
_选择最后一个流程_ 109 | `Ctrl-A`, `^` | 向`左`滚动到流程条目`开头` _(即行开头)_ 110 | `Ctrl-E`, `$` | 向`右`滚动到流程条目`末尾` _(即行尾)_ 111 | -------------------------------------------------------------------------------- /docs/nvm.md: -------------------------------------------------------------------------------- 1 | nvm 备忘清单 2 | === 3 | 4 | nvm 是一个用于管理电脑上多个 node.js 版本的程序 5 | 6 | 7 | 入门 8 | ----- 9 | 10 | ### 安装 11 | 12 | 13 | Node Version Manager 用于管理多个活动的 Node.js 版本 14 | 15 | - [Windows 版本](https://github.com/coreybutler/nvm-windows/releases) _(github.io)_ 16 | - [Posix 兼容的 Shell 版本](https://github.com/nvm-sh/nvm?tab=readme-ov-file) _(github.io)_ 17 | 18 | #### Windows 19 | 20 | 最新的 windows 版本通过 [nvm-windows发行版下载](https://github.com/coreybutler/nvm-windows/releases) 地址下载安装程序 21 | 双击 `setup` 程序按照提示操作即可完成安装。 22 | 23 | #### macOS/Linux 24 | 25 | ```shell 26 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash 27 | ``` 28 | 29 | 30 | ```shell 31 | wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash 32 | ``` 33 | 34 | 35 | #### 快速使用 36 | 37 | ```shell 38 | # 下载并安装 Node.js 20 版本 39 | nvm install 20 40 | # 验证环境中的 Node.js 版本是否正确 41 | node --version # 应该打印“v20.11.1” 42 | # 验证环境中是否存在正确的 NPM 版本 43 | npm --version # 应该打印“10.2.4” 44 | ``` 45 | 46 | ### 展示当前使用版本 47 | 48 | ```shell 49 | nvm current 50 | ``` 51 | 52 | ### 安装指定版本的 node 程序 53 | 54 | 55 | version 设置为 `latest` 安装最新版本或者设置为 "lts" 安装最近的 LTS(长期支持)版本。 56 | 57 | ```shell 58 | nvm install [arch] 59 | ``` 60 | 61 | `arch` 可以指定 `32` 或者 `64` 位版本(默认跟随系统),设置为 `all` 同时安装 32 和 64 位版本。在命令最后添加 `--insecure` 将跳过远程下载服务器的 SSL 验证。 62 | 63 | ### 切换使用指定版本 64 | 65 | ```shell 66 | nvm use [arch] 67 | ``` 68 | 69 | ### 列出 node.js 已安版本 70 | 71 | 可选输入 available 显示可获取的版本下载列表。 72 | 73 | ```shell 74 | nvm list [available] 75 | ``` 76 | 77 | ### 卸载指定版本 78 | 79 | 80 | ```shell 81 | # 可选设置 latest/lts/newest 82 | nvm uninstall 83 | ``` 84 | 85 | 启用 `newest` 指定最近安装版本。 86 | 87 | ```shell 88 | nvm use # 可选指定32/64位架构 89 | ``` 90 | 91 | 将继续使用当前版本,但是将切换为指定架构程序。 92 | 93 | ### 查看 node 运行模式 94 | 95 | ```shell 96 | nvm arch [32|64] 97 | ``` 98 | 99 | 查看 node 程序是运行在 `32` 位还是 `64` 位模式下,指定 `32` 或者 `64` 覆盖默认运行架构模式 100 | 101 | ### 检查 NVM4W 进程已知问题 102 | 103 | ```shell 104 | nvm check 105 | ``` 106 | 107 | ### 启用/关闭 node.js 版本管理 108 | 109 | ```shell 110 | nvm on # 启用 111 | nvm off # 关闭 - 不会执行任何卸载操作 112 | ``` 113 | 114 | ### 设置下载代理 115 | 116 | ```shell 117 | nvm proxy [url] 118 | ``` 119 | 120 | 可选 url 留空查看当前使用代理,设置为 "none" 移除代理设置。 121 | 122 | ### 设置版本存储目录 123 | 124 | 设置 nvm 储存不同版本的 node.js 的目录。如果未设置path,将展示当前存储目录。 125 | 126 | ```shell 127 | nvm root 128 | ``` 129 | 130 | ### 展示当前 nvm 使用版本 131 | 132 | ```shell 133 | nvm version 134 | ``` 135 | 136 | ### 指定 node 镜像 137 | 138 | ```shell 139 | nvm node_mirror 140 | ``` 141 | 142 | ### 指定 npm 镜像 143 | 144 | ```shell 145 | nvm npm_mirror 146 | ``` 147 | -------------------------------------------------------------------------------- /docs/pandoc.md: -------------------------------------------------------------------------------- 1 | Pandoc 备忘清单 2 | === 3 | 4 | Pandoc 是一个文档转换器,这个 [pandoc](https://pandoc.org/) 备忘单包含 pandoc 命令和一些常见的 pandoc 技巧 5 | 6 | 入门 7 | --- 8 | 9 | ### 语法 10 | 11 | ```bash 12 | $ pandoc -s [source file] -o [output file] 13 | ``` 14 | 15 | --- 16 | 17 | - [Pandoc 官方文档](https://pandoc.org/) 18 | 19 | #### 安装 20 | 21 | 安装命令 | 环境 22 | :-|- 23 | `$ brew install pandoc` | macos 24 | `$ choco install pandoc` | windows 25 | 26 | #### Debian/Ubuntu 27 | 28 | ```bash 29 | $ sudo apt-get update 30 | $ sudo apt-get install pandoc 31 | ``` 32 | 33 | #### Fedora 34 | 35 | ```bash 36 | $ sudo dnf install pandoc 37 | ``` 38 | 39 | #### Arch Linux 40 | 41 | ```bash 42 | $ sudo pacman -S pandoc 43 | ``` 44 | 45 | ### 将 LaTeX 转换为 MS Word 46 | 47 | 48 | 简单的 `.tex` 到 `.docx` 49 | 50 | ```bash 51 | $ pandoc -s file.tex -o file.docx 52 | ``` 53 | 54 | 将 `.tex` 转换为 `.docx` 并使用默认引文 55 | 56 | ```bash 57 | $ pandoc -s file.tex --citeproc --bibliography=bib_library.bib -o file.docx 58 | ``` 59 | 60 | 将 `.tex` 文件转换为 `.docx` 文件,并注明具体引文 61 | 62 | ```bash 63 | $ pandoc -s file.tex --citeproc --bibliography=bib_library.bib --csl=apa.csl -o file.docx 64 | ``` 65 | 66 | `.tex` 到 `.docx`,带交叉引用 67 | 68 | ```bash 69 | $ pandoc -s file.tex --filter pandoc-crossref -o file.docx 70 | ``` 71 | 72 | 使用示例 73 | --- 74 | 75 | ### 转换文件格式 76 | 77 | ```bash 78 | $ pandoc input.md -o output.pdf 79 | ``` 80 | 81 | ### 支持的输入格式 82 | 83 | ```bash 84 | $ pandoc -s input.txt -o output.html 85 | ``` 86 | 87 | ### 自定义输出格式 88 | 89 | ```bash 90 | $ pandoc input.md --to=latex -o output.tex 91 | ``` 92 | 93 | ### 添加元数据 94 | 95 | ```bash 96 | $ pandoc input.md -o output.pdf --metadata title="My Document" 97 | ``` 98 | 99 | 100 | ### 从 URL 转换 101 | 102 | ```bash 103 | $ pandoc https://example.com/document.md -o output.pdf 104 | ``` 105 | 106 | 107 | ### 生成幻灯片 108 | 109 | ```bash 110 | $ pandoc input.md -t beamer -o output.pdf 111 | ``` 112 | 113 | ### 合并文件 114 | 115 | ```bash 116 | $ pandoc file1.md file2.md -o output.pdf 117 | ``` 118 | 119 | ### 指定样式文件 120 | 121 | ```bash 122 | $ pandoc input.md -o output.pdf --css=style.css 123 | ``` 124 | 125 | 126 | ### 转换为 AsciiDoc 127 | 128 | ```bash 129 | $ pandoc input.md -o output.asciidoc 130 | ``` 131 | 132 | ### 转换为 Docx 格式 133 | 134 | ```bash 135 | $ pandoc input.md -o output.docx 136 | ``` 137 | 138 | ### 执行 Lua 过滤器 139 | 140 | ```bash 141 | $ pandoc input.md --lua-filter=custom-filter.lua -o output.pdf 142 | ``` 143 | 144 | 145 | ### 自动生成目录 146 | 147 | ```bash 148 | $ pandoc input.md -o output.pdf --toc 149 | ``` 150 | 151 | ### 禁用目录编号 152 | 153 | ```bash 154 | $ pandoc input.md -o output.pdf --toc --toc-depth=2 155 | ``` 156 | 157 | 158 | ### 显示详细信息 159 | 160 | ```bash 161 | $ pandoc input.md -o output.pdf -v 162 | ``` 163 | 164 | ### 查看支持的输出格式 165 | 166 | ```bash 167 | $ pandoc --list-output-formats 168 | ``` 169 | -------------------------------------------------------------------------------- /docs/pip.md: -------------------------------------------------------------------------------- 1 | pip 备忘清单 2 | === 3 | 4 | 这份 pip 备忘清单汇总了 Python 包管理的常用命令,涵盖安装、卸载、版本控制、依赖管理及镜像加速等操作,助你高效掌控开发环境。 5 | 6 | 入门 7 | --- 8 | 9 | ### 基础命令 10 | 11 | 12 | 命令 | 说明 13 | :- | :- 14 | `pip install package_name` | 安装指定的包 15 | `pip install requests-2.22.0-py2.py3-none-any.whl` | 从本地的 wheel 文件安装包 16 | `pip install git+https://github.com/psf/requests.git` | 从 Git 仓库安装包 17 | `pip install /home/user/src/requests` | 从目录中安装包 18 | `pip uninstall package_name` | 卸载指定的包 19 | `pip list` | 查看已安装的包列表 20 | `pip show package_name` | 查看某个包的详细信息 21 | `pip search keyword` | 搜索 PyPI 包(新版 pip 已弃用,建议用 [pypi.org](https://pypi.org)) 22 | 23 | 24 | ### 版本控制 25 | 26 | 命令 | 说明 27 | :- | :- 28 | `pip install package==1.2.3` | 安装指定版本 29 | `pip install "package>=1.0,<2.0"` | 安装满足条件的版本 30 | `pip install package!=2.21.0` | 安装包,但排除某个特定版本 31 | `pip install --upgrade package` | 升级包到最新版本 32 | 33 | 34 | ### 依赖文件操作 35 | 36 | 命令 | 说明 37 | :- | :- 38 | `pip freeze` | 导出当前环境的所有包及版本 39 | `pip freeze > requirements.txt` | 保存依赖列表到文件 40 | `pip install -r requirements.txt` | 从文件安装依赖 41 | 42 | 43 | ### 高级选项 44 | 45 | 命令 | 说明 46 | :- | :- 47 | `pip install .` | 安装当前目录中的包(`setup.py` 或 `pyproject.toml`) 48 | `pip install -e .` | 安装当前项目为可编辑模式(开发用) 49 | `pip cache dir` | 查看 pip 缓存目录 50 | `pip cache purge` | 清除 pip 缓存 51 | `pip check` | 检查依赖冲突 52 | 53 | 54 | ### 使用镜像源 55 | 56 | 命令 | 说明 57 | :- | :- 58 | `pip install -i https://pypi.org/simple package` | 使用官方源安装 59 | `pip install -i https://pypi.tuna.tsinghua.edu.cn/simple package` | 使用清华镜像安装 60 | `pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple` | 永久设置默认镜像 61 | 62 | 63 | 64 | 另见 65 | --- 66 | 67 | - [pip 官方文档](https://pip.pypa.io/en/stable/) _(pypa.io)_ 68 | - [Github 仓库](https://github.com/pypa/pip) _(github.com)_ 69 | -------------------------------------------------------------------------------- /docs/twitter.md: -------------------------------------------------------------------------------- 1 | Twitter(X) 2 | === 3 | 4 | [Twitter](https://x.com) 上的 26 个键盘快捷键和高级搜索参考备忘清单 5 | 6 | 键盘快捷键 7 | ---- 8 | 9 | ### 动作 10 | 11 | 快捷键 | 动作 12 | ---|--- 13 | `N` | 新推文 14 | `L` | 喜欢推文 15 | `R` | 回复推文 16 | `T` | 转推 17 | `M` | 直接消息 18 | `U` | 静音账号 19 | `B` | 屏蔽账号 20 | `Enter` | 打开推文详情 21 | `O` | 展开图片 22 | `/` | 搜索 23 | `Ctrl` `Enter` | 发送推文 24 | 25 | 26 | ### 导航 27 | 28 | 快捷键 | 动作 29 | ---|--- 30 | `?` | 完整键盘菜单 31 | `J` | 下一个推文 32 | `K` | 上一个推文 33 | `Space` | 向下翻页 34 | `.` | 加载新推文 35 | 36 | 37 | ### 时间线 38 | 39 | 快捷键 | 动作 40 | ---|--- 41 | `G` `N` | 主页时间线 42 | `G` `O` | 瞬间 43 | `G` `N` | 通知选项卡 44 | `G` `R` | 提及 45 | `G` `P` | 个人资料 46 | `G` `L` | 喜欢选项卡 47 | `G` `I` | 列表选项卡 48 | `G` `M` | 直接消息 49 | `G` `S` | 设置和隐私 50 | `G` `U` | 访问某人的资料 51 | 52 | 53 | 高级搜索 54 | ---- 55 | 56 | ### 搜索词 57 | 58 | 59 | 搜索词 | 搜索结果 60 | ---|--- 61 | `watching now` | 同时包含 “watching” 和 “now” 的推文(默认搜索模式) 62 | `"happy hour"` | 包含完整的短语 “happy hour” 的推文 63 | `love OR hate` | 包含 "love” 或 "hate”,或同时包含两个词的推文 64 | `beer -root` | 包含 "beer",但不包含 "root” 的推文 65 | `#haiku` | 包含 Twitter 话题 “haiku” 的推文 66 | `from:interior` | 由 Twitter 账户 “interior” 发布的推文(用于抓取指定用户的推文) 67 | `list: NASA/astronauts-in-space-now` | 由 NASA 列表 astronauts-in-space-now 中的 Twitter 账户发布的推文 68 | `to: NASA` | 回复Twitter账户 “NASA” 的推文 69 | `@NASA` | 提到 Twitter 账户 “NASA” 的推文(即@指定Twitter账户的推文) 70 | 71 | 72 | ### 内容筛选 73 | 74 | 75 | 内容条件 | 搜索结果 76 | ---|--- 77 | `politics filter:safe` | 包含“puppy”,且过滤被可能包含潜在敏感信息的推文 78 | `puppy filter:media` | 包含“puppy”,且包含图片或视频 79 | `puppy -filter:retweets` | 包含“puppy”,且不包含转推(用于过滤转推推文) 80 | `puppy filter:native_video` | 包含“puppy”,且包含一个上传的视频 81 | `puppy filter:periscope` | 包含“puppy”,且包含一个可展示为视频的链接 82 | `puppy filter:images` | 包含“puppy ,且包含一个图片 83 | `puppy filter:links` | 包含“puppy,且包含一个链接 84 | `puppy url:amazon` | 包含“puppy”,且包含一个内容包括"amazon”的Url链接 85 | 86 | 87 | ### 导航 88 | 89 | - [Twitter 官网](https://twitter.com) 90 | - [Twitter 的高级搜索](https://twitter.com/search-advanced) 91 | 92 | ### 时间筛选 93 | 94 | Operator | Finds Tweets.. 95 | ---|--- 96 | `puppy since:2020-6-4` | 包含“puppy“目发布时间晚于2020.06.04(包含2020.06.04) 97 | `puppy until: 2020-6-4` | 包含"puppy目发布时间早于2020,06.04(不包含2020,06.04) 98 | 99 | 100 | ### 其它技巧 101 | 102 | 搜索词 | 搜索结果 103 | ---|--- 104 | `关键字+min_faves:10` | 超过 10 个`点赞`有关相应关键字的推文; 105 | `关键字+min_replies:9` | 超过 9 个`回复`有关相应关键字的推文; 106 | `关键字+min_retweets:11` | 超过 11 个`转发`有关相应关键字的推文; 107 | 108 | 109 | 另请参阅 110 | -------- 111 | 112 | - [Twitter 的键盘快捷键](https://help.twitter.com/en/using-twitter/how-to-tweet) _(help.twitter.com)_ 113 | -------------------------------------------------------------------------------- /docs/xcode.md: -------------------------------------------------------------------------------- 1 | Xcode 备忘清单 2 | ==== 3 | 4 | 这个 Xcode 快速参考备忘单显示了它的键盘快捷键和命令。 5 | 6 | Xcode 7 | --- 8 | 9 | ### 搜索 10 | 11 | 快捷键 | 描述 12 | :---- | ---- 13 | `Cmd + F` | 在文件中查找 14 | `Cmd + Option + F` | 在文件中查找和替换 15 | `Cmd + Shift + F` | 在项目中查找 16 | `Cmd + Option + Shift + F` | 在项目中查找和替换 17 | 18 | 19 | ### 选项卡 20 | 21 | 快捷键 | 描述 22 | :---- | ---- 23 | `Cmd + T` | 新选项卡 24 | `Cmd + }` | 上一个选项卡 25 | `Cmd + {` | 下一个选项卡 26 | 27 | 28 | ### 导航 29 | 30 | 31 | 快捷键 | 描述 32 | :---- | ---- 33 | `Cmd + Shift + O` | 快速打开 34 | `Cmd + J` | 专注于编辑 35 | `Cmd + Ctrl + UP` | 下一个对手 36 | `Cmd + Ctrl + DOWN` | 上一个对手 37 | `Cmd + Ctrl + RIGHT` | 下一个最近的文件 38 | `Cmd + Ctrl + LEFT` | 上一个 最近的文件 39 | `Cmd + click` | 符号的定义 40 | `Cmd + L` | 去线 41 | `Cmd + Option + LEFT` | 折叠部分 42 | `Cmd + Option + RIGHT` | 展开部分 43 | 44 | 45 | ### 调试 46 | 47 | 快捷键 | 描述 48 | :---- | ---- 49 | `Cmd + Shift + Y` | 切换调试区域 50 | `Cmd + '` | 下一期 51 | `Cmd + "` | 上一期 52 | `Cmd + \` | 添加/删除断点 53 | `Cmd + Y` | 活动/非活动断点 54 | `Cmd + K` | 清除控制台 55 | 56 | 57 | ### 导航器(左侧面板) 58 | 59 | 快捷键 | 描述 60 | :---- | ---- 61 | `Cmd + 0` | 显示隐藏 62 | `Cmd + 1-8` | 切换标签 63 | `Option + click` | 打开助理编辑器 64 | `Shift + Option + click` | 决定在哪里打开 65 | `double click` | 在新窗口中打开 66 | 67 | 68 | ### 编辑 69 | 70 | 快捷键 | 描述 71 | :---- | ---- 72 | `Cmd + Option + ENTER` | 显示助理编辑器 73 | `Cmd + ENTER` | 隐藏助理编辑器 74 | `Ctrl + SPACE or ESC` | 切换完成 75 | `Cmd + ]` | 缩进部分 76 | `Cmd + [` | 突出部分 77 | `Ctrl + i` | 修复缩进 78 | `Cmd + /` | 评论/取消评论 79 | `Cmd + Option + [` | 向上移动队列 80 | `Cmd + Option + ]` | 下移线 81 | 82 | 83 | ### 实用程序(右面板) 84 | 85 | 快捷键 | 描述 86 | :---- | ---- 87 | `Cmd + Option + 0` | 显示隐藏 88 | `Cmd + Option + 1-9` | 转到选项卡 89 | 90 | 91 | ### 调试和运行 92 | 93 | 快捷键 | 描述 94 | :---- | ---- 95 | `Cmd + B` | 建造 96 | `Cmd + R` | 运行 97 | `Cmd + .` | 停止 98 | `Cmd + Shift + B` | 分析 99 | `Cmd + U` | 测试 100 | `Cmd + Shift + K` | 清理 101 | -------------------------------------------------------------------------------- /icons/favicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /icons/touch-icon-ipad-retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/icons/touch-icon-ipad-retina.png -------------------------------------------------------------------------------- /icons/touch-icon-ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/icons/touch-icon-ipad.png -------------------------------------------------------------------------------- /icons/touch-icon-iphone-retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/icons/touch-icon-iphone-retina.png -------------------------------------------------------------------------------- /icons/touch-icon-iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/reference/5cdd5d8d89f8c51d399ecd5106e3199fe818bfc3/icons/touch-icon-iphone.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@wcj/reference", 3 | "version": "1.46.0", 4 | "description": "为开发人员分享快速参考备忘单(主要是方便自己)。", 5 | "author": "jaywcjlove", 6 | "license": "MIT", 7 | "homepage": "https://jaywcjlove.github.io/reference", 8 | "funding": "https://jaywcjlove.github.io/#/sponsor", 9 | "private": false, 10 | "scripts": { 11 | "prepare": "husky", 12 | "postinstall": "npm run cpy", 13 | "build": "refs-cli && npm run cpy", 14 | "start": "npm run cpy && refs-cli --watch", 15 | "cpy": "cpy 'appicon/*.png' dist/appicon", 16 | "prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'", 17 | "markdownlint": "npx markdownlint-cli --fix ./docs/*.md" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/jaywcjlove/reference.git" 22 | }, 23 | "bugs": { 24 | "url": "https://github.com/jaywcjlove/reference/issues" 25 | }, 26 | "keywords": [], 27 | "lint-staged": { 28 | "**/*.{mjs,css,json,prettierrc,lintstagedrc}": "prettier --write", 29 | "*.md": "markdownlint --fix", 30 | "docs/*.md": "markdownlint --fix" 31 | }, 32 | "devDependencies": { 33 | "cpy-cli": "^5.0.0", 34 | "husky": "^9.0.0", 35 | "lint-staged": "^15.0.0", 36 | "markdownlint": "^0.33.0", 37 | "markdownlint-cli": "^0.39.0", 38 | "prettier": "^3.0.0", 39 | "refs-cli": "^1.8.0" 40 | }, 41 | "engines": { 42 | "node": ">=16.0.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": ["config:base"], 4 | "packageRules": [ 5 | { 6 | "matchPackagePatterns": ["*"], 7 | "rangeStrategy": "replace" 8 | } 9 | ] 10 | } 11 | --------------------------------------------------------------------------------