投稿

5月, 2020の投稿を表示しています

久々に raspberry pi へ google-home-notifier をインストールしようとしたら

使っていなかった raspberry pi へ google-home-notifier をインストールしようとしたら npm install でエラー sudo ではなく su で root になってから npm install する # git clone https://github.com/noelportugal/google-home-notifier # cd google-home-notifier # npm install npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > mdns@2.5.1 install /google-home-notifier/node_modules/mdns > node-gyp rebuild gyp WARN EACCES current user ("USERNAME") does not have permission to access the dev dir "/root/.cache/node-gyp/10.20.1" gyp WARN EACCES attempting to reinstall using temporary dev dir "/google-home-notifier/node_modules/mdns/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/google-home-notifier/node_modules/mdns/.node-gyp' gyp ERR! System Linux 4.19.66+ gyp ERR! command "/usr

npm で (node:5168) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir()

npm を実行すると (node:5168) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() な警告が出る アップデートを行っても $ npm -v で同様の警告 アップデート後のパス設定が適用されていないらしく、sshへ再度入り直すことでバージョンも上記の警告も解消された

新しい Blogger の編集画面から、画像を挿入できなくなった

イメージ
サードパーティCookieを拒否しているブラウザから、新しい Blogger の編集画面から、画像を挿入できなくなった サードパーティCookieを許可することで可能になるが、私はサードパーティCookieを許可したくないので 設定 → サイトの設定 → Cookie とサイトデータ を開いて、 許可 へ docs.google.com を追加して対応

Visual Studio の Ctrl+Tab で表示順序どおりにタブを切り替える

イメージ
Visual Studio でタブを切り替えようと Ctrl + Tab (Ctrl + Shift + Tab) を利用すると、ウィンドウのナビゲーションメニューが表示されてしまう Ctrl + F6 (Ctrl + Shift + F6) が本来それにあたるのだろうけど、両手が必要なのでキーを入れ替えた設定のメモ ツールのオプションから、環境、キーボードと進み、「ウィンドウ」等を入力して絞り込む 新しいショートカットを割り当て 「ウィンドウ.次のドキュメントウィンドウ」 を選択して、ショートカットキーに Ctrl + Tab を割り当て 「ウィンドウ.次のドキュメントウィンドウナビゲーション」 を選択して、ショートカットキーに Ctrl + F6 を割り当て 「ウィンドウ.前のドキュメントウィンドウ」 を選択して、ショートカットキーに Ctrl+Shift+Tab を割り当て 「ウィンドウ.前のドキュメントウィンドウナビゲーション」 へ Ctrl + Shift + F6 を割り当てる ※現在のショートカットは上書きされるようです

My docomo のチャット機能が思った以上に糞だった

イメージ
My docomo を通じて書類の郵送を依頼したが、半月たっても到着しないので Webから確認しようとしていたところ、 チャットを利用しろと右下にしつこく出るので、利用してみたら... 質問に対する回答が予想以上に糞でした 何が聞けるんだよw