#!/usr/bin/env bash
payload="${1:-$(cat)}"
DEFAULT_CODEX_SOUND="<your_sound_here.wav>"
# Set CODEX_CUSTOM_SOUND in your shell config (e.g. ~/.zshrc;~/.bashrc;...) to override the alert path.
CODEX_CUSTOM_SOUND="${CODEX_CUSTOM_SOUND:-$DEFAULT_CODEX_SOUND}"
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
| #!/bin/bash | |
| # Make sure this file is executable: chmod +x ~/.claude/statusline-command.sh | |
| # Claude Code statusline script - optimized with colors and emojis | |
| # Reads JSON input from stdin and outputs a formatted status line to stdout | |
| # Add to your ~/.claude/settings.json | |
| # | |
| # "statusLine": { | |
| # "type": "command", | |
| # "command": "bash ~/.claude/statusline-command.sh" |
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
| networks: | |
| rustdesk-net: | |
| external: false | |
| services: | |
| hbbs: | |
| container_name: hbbs | |
| ports: | |
| - 21115:21115 |
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
| #!/usr/bin/env bash | |
| # Download VMware Fusion Pro without Bcom account | |
| # | |
| # By default, the latest verson will be downloaded, extracted and prepped for install | |
| # Use '-k' to keep download file compressed, exiting after download | |
| # Use '-v VERSION' to specify desired version (13.0.0 or higher required) | |
| KEEP_COMPRESSED=false | |
| USER_VERSION="" |
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
| npm set registry https://registry.npmmirror.com # 注册模块镜像 | |
| npm set disturl https://npmmirror.com/mirrors/node/ # node-gyp 编译依赖的 node 源码镜像 | |
| ## 以下选择添加 | |
| npm set sass_binary_site https://npmmirror.com/mirrors/node-sass/ # node-sass 二进制包镜像 | |
| npm set electron_mirror https://npmmirror.com/mirrors/electron/ # electron 二进制包镜像 | |
| npm set puppeteer_download_host https://npmmirror.com/mirrors # puppeteer 二进制包镜像 | |
| npm set chromedriver_cdnurl https://npmmirror.com/mirrors/chromedriver/ # chromedriver 二进制包镜像 | |
| npm set operadriver_cdnurl https://npmmirror.com/mirrors/operadriver/ # operadriver 二进制包镜像 | |
| npm set phantomjs_cdnurl https://npmmirror.com/mirrors/phantomjs/ # phantomjs 二进制包镜像 |
This transform was created to programmatically add metadata to all ESLint rules (#5417).
here's a live example for the no-trailing-spaces rule.
Please note:
- The rule mappings were initially created by scraping eslint.org/docs/rules using jsdom.
- The scraping assumes all fixable rules are of fixable type
whitespace. This is not true for 4 rules, which were fixed manually afterwards:semi
no-extra-semi
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
| <div class="Wrapper"> | |
| <div id="create_root"></div> | |
| <button>Fetch New Repo</button> | |
| </div> |
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
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
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
| 'use strict'; | |
| module.exports = { | |
| types: [ | |
| { | |
| value: 'WIP', | |
| name : '💪 WIP: Work in progress' | |
| }, | |
| { |
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
| # Use root/example as user/password credentials | |
| version: '3.1' | |
| services: | |
| db: | |
| image: mariadb | |
| restart: always | |
| # 请加ports, 否则客户端无法连接 | |
| ports: |
NewerOlder