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 | |
| # 默认参数 | |
| QUALITY=80 | |
| SPEED=5 | |
| ONLY_COMPRESSED=false | |
| print_help() { | |
| cat <<EOF | |
| 用法: |
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
| -- Hammerspoon Configuration | |
| -- other scripts ... | |
| -- Load modules | |
| local mouseFollow = require("mouse-follow") | |
| -- Configure mouse follow | |
| mouseFollow.config.moveDelay = 0.0 | |
| mouseFollow.config.clickDetectWindow = 0.3 |
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/swift | |
| // Required parameters: | |
| // @raycast.schemaVersion 1 | |
| // @raycast.title My mouse my mouse where will you go? | |
| // @raycast.mode silent | |
| // Optional parameters: | |
| // @raycast.icon 🐭 |
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
| { | |
| "workbench.editor.customLabels.patterns": { | |
| // Next.js | |
| "**/app/**/page.tsx": "📄 ${dirname}", | |
| "**/app/**/layout.tsx": "🏗️ ${dirname}", | |
| "**/app/**/route.ts": "🛣️ ${dirname}", | |
| "**/app/**/loading.tsx": "⏳ ${dirname}", | |
| "**/app/**/error.tsx": "❌ ${dirname}", | |
| "**/pages/**/index.tsx": "🏠 ${dirname(1)} / ${dirname(0)}", | |
| "**/pages/**/*.tsx": "🏡 ${dirname(0)} / ${filename}", |
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
| # Default Command | |
| # Auto run `.auto` script under current work directory | |
| [ -f .auto ] && source .auto | |
| # Other scripts what you want to run | |
| todo |
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
| // ==UserScript== | |
| // @name Douban Hotkeys | |
| // @description Show Hotkeys of douban.com in console | |
| // @match *://www.douban.com/ | |
| // ==/UserScript== | |
| const tables = [] | |
| function KEY(key, desc) { | |
| this.key = key |
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/zsh | |
| # any command e.g. | |
| echo "auto run success..." | |
| # save file to ~/.auto_run | |
| # and | |
| # chmod +x ~/.auto_run |
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
| # popclip | |
| name: Format JSON | |
| icon: circle J | |
| javascript: return JSON.stringify(JSON.parse(popclip.input.text), null, 2) | |
| after: paste-result |
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 | |
| # Monitor the movie download folder and organize it. | |
| # Author: Seven Yu <[email protected]> | |
| # Version: 1.0 | |
| if [[ -z $1 ]]; then | |
| echo "⚠️ You must input a path" | |
| exit 1 | |
| fi |
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
| // ==UserScript== | |
| // @name awesome-mac Filter | |
| // @namespace http://phpz.org/ | |
| // @version 0.3.3 | |
| // @description awesome-mac Filter | |
| // @author Seven Yu <[email protected]> | |
| // @match https://github.com/jaywcjlove/awesome-mac | |
| // @match https://github.com/jaywcjlove/awesome-mac/*/README.md | |
| // @match https://github.com/jaywcjlove/awesome-mac/*/README-*.md | |
| // @require http://code.jquery.com/jquery-3.1.0.min.js |
NewerOlder