Monday, January 01, 2024

PowerShell Quick Tip: Reading an XML file

PowerShell Quick Tip: Reading an XML file

Say you have an XML data like below. To read the IP element in PowerShell, do: Tags: PowerShell, Xml

Friday, December 29, 2023

Fedora 35 Workstation installation screen capture

Just an itch, wanted to see how Fedora 35 Workstation looks like.
For other versions see here.

Delphi: Wait for ESCAPE key before continuing on console app

Delphi: Wait for ESCAPE key before continuing on console app

The sample Delphi console application below shows how to wait for the ESC key before it will continue. Tags: Delphi, Console, Escape

Wednesday, December 27, 2023

Fedora 34 Workstation installation screen capture

Just an itch, wanted to see how Fedora 34 Workstation looks like.
For other versions see here.

EOleException: Microsoft MSXML is not installed when calling LoadXMLDocument

EOleException: Microsoft MSXML is not installed when calling LoadXMLDocument

LoadXMLDocument returns IXMLDocument which by default uses MSXML on Windows. MSXML is a COM componet which requires client to initialize COM library. Below shows a bare bones Delphi 11.3 console application initializing COM library. Tags: COM, DCOM, Delphi, XML

Monday, December 25, 2023

Fedora 33 Workstation installation screen capture

Just an itch, wanted to see how Fedora 33 Workstation looks like.
For other versions see here.

My Git cheat sheet

My Git cheat sheet

Undo changes and remove untracked files
c:\> git reset --hard HEAD
c:\> git clean -fd

Push local branch to remote
c:\> git push -u origin feature/featurename

Clone and checkout remote
c:\> git clone --branch v1.3.9 --single-branch https://github.com/open62541/open62541.git

To view the name of the head (detached like above)
c:\> git show -s --pretty=%d HEAD

Installing QNX 6.4.1 on Ubuntu 20.04

Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...