Friday, 7 November 2025

Chrome profile directory

 C:\Users\<username>\AppData\Local\Google\Chrome\User Data

Sunday, 12 October 2025

Windows 11: slow loading to desktop after login prompt

 On some of my computers Windows 11 was taking a long time to show the desktop after logging in with your user credentials.

What happens is you get a build up of data in %userprofile%\AppData\Local\Temp.

Pre-cleansing, one of mine was 35.1GB. It was full of folders named with GUIDs.

Deleting this significantly speeds up the desktop load.

Monday, 21 April 2025

Using RSync on OpenMediaVault

 Attach the backup disk.

Confirm the device name and serial from Storage > Disks.

Mount an existing file system. Select the correct mount point (e.g. /dev/sdb2).

Apply the changes.

Create a shared folder:
Name: Data2
File system: /dev/sdb2
Relative Path: Data/

Create an Rsyn Task: Services > Rsync > Tasks

Type: Local
Source: Data
Destination: Data2
Delete: <optional>

The mount point can be accessed from a shell terminal at:
/srv/dev-disk-by-uuid-<uuid>

to query the number of files enter:
find . -ls | wc -l



Monday, 3 March 2025

Enterprise Applications vs App Registrations


Enterprise Application

Enterprise application is also known as a Service Principal.

It is shown as a blue grid with a green world icon in the corner. In the search box it is shown as a Service Principal, but if you click through to the resource, it is an Enterprise Application. 

Clicking on the Service Principal (the bottom one above), it shows you the Enterprise Application resource.


App Registration

If you click on the Application entry in the search box

It takes you to the App Registration.


It is the Application Registration client secret that the application uses to prove its identity when requesting a token. Also can be referred to as application password. This needs periodic renewal.

Additional Information



https://stackoverflow.com/questions/65922566/what-are-the-differences-between-service-principal-and-app-registration


Monday, 27 January 2025

npmrc locations

On a Windows machine the .npmrc configuration is loaded from the following locations in sequence.

%USERPROFILE%\AppData\Roaming\npm\node_modules\npm\npmrc

<project directory>\.npmrc

%USERPROFILE%\.npmrc

%USERPROFILE%\AppData\Roaming\npm\etc\npmrc

Thursday, 23 January 2025

devcert config locations

Windows:
Current User\Trusted Root Certification Authorities\Certificates

Linux:
The config is:
~/.config/devcert

with the certificate installed:
/usr/local/share/ca-certificates/

Saturday, 18 January 2025

dnsmasq

 Setting up
https://pimylifeup.com/raspberry-pi-dns-server/


Make sure that you have stopped the systemd-resolved service. I'm going to also mask it so it doesn't auto start on reboot.

sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo systemctl mask systemd-resolved

To undo what you did:

sudo systemctl unmask systemd-resolved
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved