例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
#!/bin/bash | |
/usr/bin/osascript <<EOF | |
tell application "Google Chrome" | |
set docUrl to URL of (active tab of window 1) | |
set URL of (active tab of window 1) to docUrl | |
end tell | |
EOF | |
# /usr/bin/osascript <<EOF |
以下転載:
Hello and welcome to my Shortcuts Catalog!
This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.
It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.
Enjoy!
type CamelCase<S extends string> = S extends `${infer P1}_${infer P2}${infer P3}` | |
? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` | |
: Lowercase<S> | |
type KeysToCamelCase<T> = { | |
[K in keyof T as CamelCase<string & K>]: T[K] | |
} | |
type CamelToSnakeCase<S extends string> = S extends `${infer T}${infer U}` ? |