How to remove trailing spaces in Visual Studio Code
July 29, 2024 by Jesper Nielsen • 6 minutes to read
Why Trailing Spaces Matters
I really do not like trailing spaces. Trailing spaces are any extra spaces or tabs at the end of a line of code or text. They may seem harmless, but they can cause problems for developers, editors, and users - and they somehow burn my eyes :)
Trailing spaces can affect the efficiency of the code or file in several ways. First, they can increase the file size unnecessarily, which can slow down the loading and processing time. Second, they can interfere with the version control system, which tracks the changes made to the code or file. Trailing spaces can create false differences or conflicts, which can waste time and resources to resolve. Third, they can cause errors or bugs in some languages or tools, which can affect the functionality and performance of the code or file.
How to use Microsoft Copilot to write better documents
March 11, 2024 by Jesper Nielsen • 19 minutes to read
Writing Copilot prompts well and efficiently
Writing well and efficiently is a constant goal for me, though not being a writer. When we first heard about Copilot, we were eager to test the full feature set of Copilot. Copilot is the umbrella for Artificial Intelligence (AI) in Microsoft products, especially Copilot for Microsoft 365 has shown highly valuable, but also Copilot for Web, the successor of Microsoft Enterprise Search. Copilot for Microsoft 365 comes with new possibilities to assist you in writing more quickly and intelligently with the help of AI.
How to Configure Git Username and E-mail address
August 23, 2023 by Jesper Nielsen • 4 minutes to read
Git is a powerful and popular version control system that allows you to track changes in your code and files, collaborating with other developers and works great with e.g., Visual Studio Code.
One of the benefits of using Git and GitHub, or similar platforms, to version your code, or use Source Control, is that you can easily integrate them with your editor of choice. For example, Visual Studio has a built-in Git support that allows you to perform common Git operations, such as staging, committing, pushing, pulling, branching, and merging, directly from the editor. You can also view the diff between versions, resolve conflicts, and access the command line if needed. This way, you can manage your code without leaving your editor, which can save you time and improve your workflow.
How to create a custom policy in Microsoft Intune
April 12, 2023 by Jesper Nielsen • 6 minutes to read
Microsoft Intune is a cloud-based service that helps organizations manage and secure their mobile devices, apps, and data. An important feature of Microsoft Intune is device configuration policies, which allow administrators to set and enforce settings on devices enrolled in Intune. Device configuration policies can help organizations meet their compliance, security, and productivity needs.
There are several types of device configuration policies in Intune, depending on the platform and the scenario. Some of the common types are:
How to fix Microsoft Teams web client stuck in a login loop
February 19, 2022 by Jesper Nielsen • 2 minutes to read
The last couple of days, I experienced the Microsoft Teams web client to be stuck in a login loop, when trying to sign into Microsoft Teams in Microsoft Edge and the site continually loops, and I am not able to sign in.
Turns out there is a solution (and most likely required if you use any security baselines settingsā¦), and for me, it turns out the issues has arisen over night, however the course of the issues wasn’t new, but Microsoft Edge version 99.x was.
How to launch the Windows Settings app from Command line
November 19, 2021 by Jesper Nielsen • 2 minutes to read
The Windows Settings app is the entry point for everyday maintenance, configuration, and setup, and can be easily opened with Win + I keyboard shortcut, by clicking on the Settings icon in the Start Menu or Notification Center or by searching for it in the Windows Start Menu.
However, now, and then I need to ease the access to a particular Windows Settings page directly, and this can be easily achieved from either the Run dialog box, the Command Prompt, or using PowerShell. Access to a particular Windows Settings page is possible using URIs (Uniform Resource Identifier) which are unique references to identify specific pages in the Windows Settings app.