Year: 2022

  • Receiving non Base64 encoded messages via Queue Trigger on Azure Functions

    Receiving non Base64 encoded messages via Queue Trigger on Azure Functions

    The messageEncoding parameter in host.json allow Azure Functions to receive Base64-unencoded messages.

  • Using Azure.Storage.Queues NuGet package

    Using Azure.Storage.Queues NuGet package

    Summary This post contains the results of my trial of Azure.Storage.Queue v12. It’s just a note. NuGet Gallery | Azure.Storage.Queues 12.9.0 Prerequisites Windows 10 v21H2 Visual Studio 2022 v17.1.1 .NET 6 Azure.Storage.Queues v12.9.0 Usage Install NuGet package Source code Result References Quickstart: Azure Queue Storage client library v12 – .NET | Microsoft Docs NuGet Gallery…

  • Getting special folder path via .NET for HoloLens App

    Getting special folder path via .NET for HoloLens App

    When special folder paths on the HoloLens app that is a UWP app, .NET developers can use Environment.SpecialFolder and Windows.Storage namespace.

  • Start gestures settings of HoloLens 2

    Summary In default of Start gestures: Press the wrist icon Eye gaze at the icon then pinch thumb and index Windows Holographic Build 20348.1442 has options in settings. Prerequisites HoloLens 2 Windows Holographic Build 20348.1442 and later References Windows Holographic, version 21H2 – January 2022 Update – HoloLens 2 release notes | Microsoft Docs Start…

  • Googleアナリティクスで検索クエリを表示する

    Googleアナリティクスで検索クエリを表示する

    Googleアナリティクスでオーガニック検索クエリを表示するためにGoogleサーチコンソールと連携する

  • Intel MacのParallels Desktopにある仮想マシンをApple silicon MacのParallels Desktopに移す

    Intel MacのParallels Desktopにある仮想マシンをApple silicon MacのParallels Desktopに移す

    はじめに Intel MacのParallels Desktopで作成したWindows仮想マシンをApple silicon MacのParallels Desktopに移せるか試した。(結果は大体察しが付くので今まで試すことはなかった。) 結論から言うとIntel Mac上のParallels Desktopで作成したWindows 10の仮想マシンはApple silicon MacのParallels Desktopには移行できず、ARM版Windows 10で新規に作成するよう案内される。宜なるかな。 結局、新しく作り直すことにした。ARM版Windowsに触れる環境を得たため、これは良い収穫となった。 移行準備 同一のCPUアーキテクチャなら移行はできるので、その手順だけ備忘として書き残しておく。 実行すると処理が走る。ただGUIで進捗率の案内がない。そのため状況を確認したいならアクティビティモニターでプロセス prl_disp_serviceのCPU利用率を見る。 処理が完了しても完了通知はないがParallels Desktopのコントロールセンターから該当仮想マシンの保存場所をFinderを開いて確認できる。その確認方法は次で述べる。 コントロールセンターからFinderを開くとWindows 10.pvmpがある(今回の仮想マシン名がWindows 10であるため)。ここで Windows 10.sha256.txtが存在していれば処理が完了していると見て良い。 この Windows 10.pvmpを移行先のマシンに転送して、そのマシンでParallels Desktopで開く。 そうするとコントロールセンターの一覧に仮想マシンが追加される。その仮想マシンを実行すれば移行完了だ。 参考資料 Parallels Knowledge Base – Prepare a Virtual Machine for Transfer Parallels Knowledge Base – Install Windows on a Mac with Apple M1…

  • Spinido Bestand TI-Stationのゴム付け直し

    Spinido Bestand TI-Stationのゴム付け直し

    手前の受け部分に付いていたゴムが取れてしまった。 上図はPCスタンド「Spinido Bestand TI-Station」で2018年夏ごろにAmazonで購入した。このスタンドの上にMacBook ProなりDELLのWindowsノートPCを載せている。ゴムは使い始めて2年目に入ったかぐらいでふと取れてしまった。そしてそこからそのままだった。 ちなみに、当時の購入履歴を確認すると価格は¥3,700していない。今はSpinidoの名称が外れ、価格は¥4,300弱だ。 (余談だがBestandでGoogle検索をするとBestandの公式サイトのようなものが検索結果に出てくるが、そのサイトに設けられている個人情報の入力ページがHTTPsになっておらず、今どきその状態にしておくだろうかと謎である。おそらく別組織が作成したウェブサイトなのだろう。) そこでアロンアルフア EXTRA 速効多用途で付け直した。 修繕が雑だけども不便さはないからこれで良しとした。 商品リンク

  • macOSからさくらのレンタルサーバにSSHでログインする

    macOSからさくらのレンタルサーバにSSHでログイン、scpコマンドではなくssh-copy-idコマンドで公開鍵を転送する方法

  • Using LLDB on Emacs (dap-mode & dap-lldb & lldb-vscode) for macOS

    Using LLDB on Emacs (dap-mode & dap-lldb & lldb-vscode) for macOS

    Debug C/Objective-C with dap-mode/dap-lldb of Emacs. It uses LLDBVSCode that is an extension of Visual Studio Code.

  • Debug C and Objective-C of Emacs with LLDB on macOS Big Sur

    Debug C and Objective-C of Emacs with LLDB on macOS Big Sur

    Introduction to debug Emacs pretest version with LLDB. It could handle Objective-C’s selector, you can get variable in debugging.