2025年5月10日土曜日

全てのメモ

  1. シングルタスク最強
    1. 今日一日これに捧げるか
    2. 夜には思ってもない高みに到達してる
  2. 快・不快センサー
    1. これが狂うと、すべてが狂う
    2. うつの対処法は快楽に慣れさせることというネット記事
  3. クソな部分をやる自分がクソ
    1. ブレワイの青い炎を灯籠に灯すやつ
    2. ゲームがクソじゃなくて、クソな部分をやる自分がクソ
  4. 人数差によるマウント
    1. 脊髄レベルで反応する生理現象
    2. 幸福=人間関係というのは仲間が多いから強い 幸福=強さ
  5. やらなきゃいけないと思うほど後回しにしたくなる
    1. 謎の現象
  6. 量子論 場の理論
    1. 神聖な感じがする
  7. 戦法を試したいというモチベ
  8. ブラウジングはスタック方式
    1. その場で深堀り
  9. 同調圧力の力は強力
    1. ミラーミューロン(イワシの群れ)
  10. 言わないと思いは変わらない、言うと思いは変わる
    1. 欺きたくなって
  11. 勉強=攻略サイト
    1. ゲームやる前に攻略サイトは見ない
  12. どっちに揺れるかわからないのが面白い
    1. ガチャ 箱を開封
  13. どんなに楽しいことも1時間ぐらいで飽きるから5分休憩する
  14. 報酬が楽しさを決める
    1. ブレワイ ウルボザの怒りが欲しくてカースガノンに3時間ぐらい愚直に挑み続けた
    2. Fairy Tail 2 最初プルー集めがクソだるかったけど、炎竜王の崩拳とかの必殺技の解放に必要と知ってからプルー集めが楽しくなった
  15. 解説しながらやる
    1. マウント取りながらだから、やりたくなる
    2. けど疲れる
    3. 黙って活動したほうがパフォーマンス高い
  16. 冒険と安住
    1. 見知らぬものばかり見てると、見知ったものを見て安心したくなる
    2. 見知ったものばかり見てると、見知らぬものに興味が湧く
  17. 本はクソ 抽象的な部分だけクソ
    1. ソースコード読んだほうがいい
  18. 恥をかきたくないというモチベ
  19. 暗唱
    1. プログラミングで一番楽しいのは暗唱(カラオケみたいに)
  20. 恥ずかしい 成るべくしてなった
    1. 恥ずかしいという感情を抱く必要はない
  21. 分からなかったら適当に選ぶ
    1. ゲームの選択肢 最初は訳が分からないから
  22. 差別意識
    1. 汚物は消毒
  23. 不思議なものに魅了される
  24. なめられると火が付く
  25. 挑む -> 予期せぬ壁 -> やる気失せる
    1. ->戦法を変える
  26. 選択は脳に負荷がかかる
  27. 分かるところだけにフォーカス
    1. コードリーディング
    2. ここにfor文がある!とか
  28. 因果関係を誤って推論しがち
  29. 全体を眺めて処るO 1個1個処るX
    1. 膨大な情報を処理する時
    2. 端っこから順に1個1個やるのはつまらない
    3. 手当たり次第やると楽しい
    4. 何にでも当てはまる
    5. なぜだか分からない、経験則
  30. いかに人を悔しがらせるか
    1. †これが人生のすべて†
  31. 宣言したこととは逆のことをしたくなる
  32. デオキシス防御フォルム
    1. 人の発言を何でも真として受け取るスポンジ状態だと
    2. 自分を否定(ザコ認定)されたときにメンタルえぐられる
    3. 一時的に面倒だけど防御フォルム
  33. 粋がるザコ
    1. これを演じると見る側は面白い
    2. ずんだもん フェルミ漫画大学

キーボードショートカット カスタム AutoHotKey vscode

  1. AutoHotKey
    • Toggle: 無変換 f でvimのNormalモードみたいになって、無変換を押さずに右手だけで操作できる
    • script.ahk
              ; AutoHotKey v2
              ; {blind} shift同時押し
      ; sendevent  押しっぱ時貫通防止
      
      ; ! alt
      ; + shift
      ; ^ ctrl
      
      ; vk1d 無変換
      ; vkbb セミコロン
      ; vkba コロン
      
      vk1d & i::sendevent "{blind}{up}"
      vk1d & j::sendevent "{blind}{left}"
      vk1d & k::sendevent "{blind}{down}"
      vk1d & l::sendevent "{blind}{right}"
      
      vk1d & u::sendevent "{blind}{home}"
      vk1d & o::sendevent "{blind}{end}"
      
      vk1d & h::sendevent "{blind}{pgup}"
      vk1d & n::sendevent "{blind}{pgdn}"
      
      vk1d & vkbb::enter
      vk1d & p::bs
      
      ; sendeventのがいいか?
      vk1d & ,::send "!{left}"
      vk1d & .::send "!{right}"
      
      vk1d & q::escape
      
      vk1d & 8::[
      vk1d & 9::]
      
      vk1d & vkba::_
      vk1d & m::&
      
      vk1d & 1::reload
      
      ; vscode エクスプローラー ctrl 0
      vk1d & 0::^0
      
      ; デバッグ時
      vk1d & w::f11
      vk1d & e::f10
      
      ; 無変換 capslockで shift capslock発動 (大文字)
      vk1d & f12::SetCapsLockState !GetKeyState("CapsLock", "T")
      
      ;---↑ insert mode---------------------------------
      ; 無変換fで右手オンリー読み取り専用モード
      ; fでもとに戻す
      ;---↓ normal mode---------------------------------
      
      toggle := false
      
      vk1D & f::{
          global toggle
          toggle := true
      }
      
      #HotIf toggle
      
      f::{
          global toggle
          toggle := false
      }
      
      i::sendevent "{blind}{up}"
      k::sendevent "{blind}{down}"
      ; ctrl i,kを効かせるため
      ^i::sendevent "{blind}{up}"
      ^k::sendevent "{blind}{down}"
      
      j::sendevent "{blind}{left}"
      l::sendevent "{blind}{right}"
      ^j::sendevent "{blind}{left}"
      ^l::sendevent "{blind}{right}"
      
      u::sendevent "{blind}{home}"
      o::sendevent "{blind}{end}"
      ^u::sendevent "{blind}{home}"
      ^o::sendevent "{blind}{end}"
      
      h::sendevent "{pgup}"
      n::sendevent "{pgdn}"
      
      ; sendeventのがいいか?
      ,::send "!{left}"
      .::send "!{right}"
      
      vkbb::enter
      ;p::bs
      p::escape
      
      0::^0
      1::^1 ; vscode ctrl 1でエディターに戻る
      
      m::f12 ; 定義元にジャンプ
      
      b::^t ; シンボル検索
      
      4::f4 ; すべての(参照alt shift f12)検索 次の結果
      
      #HotIf
              
  2. vscode
    • keybindings.json
      [
          {// デバッグ時、現在の行まで進める
              "key": "shift+f10",
              "command": "editor.debug.action.runToCursor"
          },
          {// ブレークポイント
              "key": "f9",
              "command": "editor.debug.action.toggleBreakpoint",
              "when": "debuggersAvailable"
          },
          {// 行複製
              "key": "ctrl+b",
              "command": "editor.action.copyLinesDownAction",
              "when": "editorTextFocus && !editorReadonly"
          },
          {// tasks.jsonのrunタスクを実行 (exe直起動)
              "key": "ctrl+r",
              "command": "workbench.action.tasks.runTask",
              "args": "run"
          },
          {// pageupをカーソル5行上に移動
              "key": "pageup",
              "command": "cursorMove",
              "args": {
                  "to": "up",
                  "by": "wrappedLine",
                  "value": 5,
              },
              "when": "editorFocus"
          },
          {// 選択用
              "key": "shift+pageup",
              "command": "cursorMove",
              "args": {
                  "to": "up",
                  "by": "wrappedLine",
                  "value": 5,
                  "select": true
              },
              "when": "editorFocus"
          },
          {// pagedonwをカーソル5行下に移動
              "key": "pagedown",
              "command": "cursorMove",
              "args": {
                  "to": "down",
                  "by": "wrappedLine",
                  "value": 5,
              },
              "when": "editorFocus"
          },
          {// 選択用
              "key": "shift+pagedown",
              "command": "cursorMove",
              "args": {
                  "to": "down",
                  "by": "wrappedLine",
                  "value": 5,
                  "select": true
              },
              "when": "editorFocus"
          },
          {// ctrl rightを単語移動じゃなくて5文字右に移動
              "key": "ctrl+right",
              "command": "cursorMove",
              "args": {
                  "to": "right",
                  "value": 5,
              },
              "when": "editorFocus"
          },
          {// 選択用
              "key": "ctrl+shift+right",
              "command": "cursorMove",
              "args": {
                  "to": "right",
                  "value": 5,
                  "select": true
              },
              "when": "editorFocus"
          },
          {// ctrl leftを単語移動じゃなくて5文字左に移動
              "key": "ctrl+left",
              "command": "cursorMove",
              "args": {
                  "to": "left",
                  "value": 5,
              },
              "when": "editorFocus"
          },
          {// 選択用
              "key": "ctrl+shift+left",
              "command": "cursorMove",
              "args": {
                  "to": "left",
                  "value": 5,
                  "select": true
              },
              "when": "editorFocus"
          },
          {// エクスプローラーで新規ファイル作成
              "key": "ctrl+n",
              "command": "explorer.newFile"
          },
          {// 行削除
              "key": "ctrl+l",
              "command": "editor.action.deleteLines"
          },
          {// ターミナル切り替え
              "key": "ctrl+j",
              "command": "workbench.action.terminal.toggleTerminal",
              "when": "terminal.active"
          }
      ]
                  
  3. Change Key
    • CapsLock: F12
    • 変換: Ctrl
    • かな: Shift