gist command test
aaa
hahahahahaha
ほげ
| git-wt | |
| ``` | |
| #!/usr/bin/env bash | |
| # git worktree を使って、複数のブランチへ switch する | |
| header='worktree: Enter: open, M-o: add, M-d: remove, M-r: force remove' | |
| function is_git_dir() { | |
| if [ "$(git rev-parse --is-inside-work-tree)" = "true" ]; then |
| # NOTE: ghq list -p | xargs -I {} zoxide add "{}" を事前に行うこと | |
| # git-wt を利用する際は上記は解決済み | |
| unbind "T" | |
| bind-key "T" display-popup -E -w 40% "sesh connect \"$( | |
| sesh list -i | gum filter --limit 1 --placeholder 'Pick a sesh' --prompt='⚡' | |
| )\"" | |
| unbind "t" | |
| bind-key "t" run-shell "sesh connect \"$( | |
| sesh list -i | fzf --tmux 55%,60% \ |
| var SLACK_API_TOKEN = PropertiesService.getScriptProperties().getProperty('SLACK_API_TOKEN'); | |
| if (!SLACK_API_TOKEN) { | |
| throw 'You should set "SLACK_API_TOKEN" property from [File] > [Project properties] > [Script properties]'; | |
| } | |
| var SLACK_VERIFY_TOKEN = PropertiesService.getScriptProperties().getProperty('SLACK_VERIFY_TOKEN'); | |
| if (!SLACK_VERIFY_TOKEN) { | |
| throw 'You should set "SLACK_VERIFY_TOKEN" property from [File] > [Project properties] > [Script properties]'; | |
| } |
| class Emacs < Formula | |
| desc "GNU Emacs text editor" | |
| homepage "https://www.gnu.org/software/emacs/" | |
| url "http://ftpmirror.gnu.org/emacs/emacs-24.5.tar.xz" | |
| mirror "https://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" | |
| sha256 "dd47d71dd2a526cf6b47cb49af793ec2e26af69a0951cc40e43ae290eacfc34e" | |
| stable do | |
| # "--japanese" option: | |
| # to apply a patch from MacEmacs for Japanese input methods |
| class EmacsJp < Formula | |
| desc "GNU Emacs text editor" | |
| homepage "https://www.gnu.org/software/emacs/" | |
| url "http://ftpmirror.gnu.org/emacs/emacs-24.5.tar.xz" | |
| mirror "https://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" | |
| sha256 "dd47d71dd2a526cf6b47cb49af793ec2e26af69a0951cc40e43ae290eacfc34e" | |
| stable do | |
| # "--japanese" option: | |
| # to apply a patch from MacEmacsJP for Japanese input methods |