Termux環境でClaude Codeのタスク完了を通知するシンプルなHooksシステムです。
- タスク完了通知: Claude Codeの応答完了時に最後のメッセージを通知
- tmux対応: tmuxのウィンドウ・ペイン番号を表示
# Claude Code Hooks | |
## stop-send-notification.js | |
Claudeがメッセージ生成を停止した時にmacOS通知を送るフック。 | |
### 設定 | |
`~/.claude/settings.json` に以下を追加: |
Alfred workflow for translating selected text or clipboard content using plamo-translate.
Cmd+Shift+T
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>音符当てクイズ</title> | |
<style> | |
body { | |
font-family: sans-serif; | |
display: flex; |
{ | |
"global": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": true, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ |
# coding: utf-8 | |
from IPython import get_ipython | |
# # MonkeyBench : an interactive environment for library research | |
# | |
# | |
# MonkeyBenchは、Jupyterの上に構築中のライブラリーリサーチのための対話環境です。 | |
# | |
# ライブラリーリサーチの過程と成果を、そのためのツールの作成と利用込みで、そのまま保存/共有/再利用できるという利点を活かし、調査プロセスの振り返りから質の向上、ノウハウ化を支援する環境となることを目論んでいます。 | |
# | |
# ノイラートの船ではありませんが、「航海しながら改造し続ける」というコンセプトのため、完成することはありませんが、ツールの寄せ集めという性質上、それぞれ一部分でも利用可能です。 |
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
# Lint as: python3 | |
# Copyright 2019 Google LLC | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
// load "//code.jquery.com/jquery-3.4.1.min.js" | |
let rebindClickEvent = () => { | |
$('a.next').on('click', () => location.href = $('a.next')[0].href ); | |
$('a.prev').on('click', () => location.href = $('a.prev')[0].href ); | |
$('li.toc-level1').map((i, li) => { | |
$(li).on('click', () => location.href = $(li).children()[0].href ) | |
}) | |
console.log("rebind") | |
} | |
setTimeout(rebindClickEvent, 1000 * 5); |