Skip to content

Instantly share code, notes, and snippets.

@toqoz
toqoz / ds-bot-toqoz-fork.md
Last active November 8, 2026 09:02
DS Bot 個人 fork の変更

DS Bot 個人 fork の変更

サイドバーに Classic(元の DSH 画面)へ戻るボタン

DS Bot モードから元の DSH の画面(Classic Agent mode)へ戻る導線が 設定 → 一般 → Mode にしかない。入るときは DSH 側サイドバーの DS Bot ボタンで 1 クリックなのに、戻るときだけ深い(上流 #1071 と同じ不満)。

  • DS Bot の左カラム下部、アカウントボタンの隣に Classic ボタンを置いた。 open ではアイコンと「Classic」、レールではアイコンだけ。aria-label と
@toqoz
toqoz / deepseek-harness-toqoz-fork.md
Last active November 9, 2026 03:36
個人 fork の変更

個人 fork の変更

shiguredo/deepseek-harness の shiguredo branch に重ねている個人用の変更。変更ごとに toqoz/feat/ の 1 commit、toqoz/main がそれを 1 commit にまとめたもの。

モバイルの Enter

タッチ端末では Enter を改行にし、送信はボタンだけにした。タッチキーボードに Shift+Enter が無いため。keymap に enterInsertsLineBreak() を足し、isMobileDevice() を渡す。コマンド入力中も同じ扱い。

認証前の URL 入力

cat notebook.ipynb | jq -r '.cells[] | select(.cell_type == "code") | select(.source != "") | .source + "\n"' | sed -e 's/\( *\)%.* /\1/'

install:

$ go get github.com/google/codesearch/cmd/...

generate indexes:

$ cindex /usr/include /usr/local/include $HOME/_go/src $HOME/_dev
$ sudo defaults write com.apple.loginwindow LoginHook /path/to/script
select timestamp 'epoch' + CAST(ts AS BIGINT)/1000 * interval '1 second' from (select 1498783941705 AS ts);
@toqoz
toqoz / 0_SVGKit-issue.md
Last active November 13, 2017 09:32
SVGKit-issue

多分 ``  に fill や `style="fill:` の指定が動かない

{
"libs": [
"browser"
],
"plugins": {
"node": {},
"es_modules": {},
"node_resolve": {}
}
}