regedit HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU “Create” -> “DWORD value (32-bit)” ->NoAutoRebootWithLoggedOnUsers Set to 1 Stop Windows 10, 11 from Restarting: The Best Methods! | DiskInternals Read more →
Category: admin
Docker command to keep the container running
Dockerfile FROM node:16-alpine AS builder ENTRYPOINT [“tail”, “-f”, “/dev/null”] Read more →
Testing quality gates
Fail Fast Aspiration We achieve a level of automation that would give enough confidence to allow the majority of builds to automatically deploy (via the release pipeline) directly into production. Quality Gate 1: Developer Unit Tests All directly executable behaviour should be fully covered by unit tests, e.g. controller actions public methods shared functions extension methods etc. Unit tests should… Read more →
Developer Productivity
SPACE Satisfaction (and well being) These qualities are often best captured with surveys. To assess the satisfaction dimension, you might measure the following: Employee satisfaction. The degree of satisfaction among employees, and whether they would recommend their team to others. Developer efficacy. Whether developers have the tools and resources they need to get their work done. Burnout. Exhaustion caused by… Read more →
Identify website assigned to w3wp.exe
Open task manager and ensure the PID column is visible on the processes tab Run the following %windir%/system32/inetsrv/appcmd list wp Read more →
Find errors in Azure DevOps build log
search for Error Message Read more →
Access app.config from a texttemplate
<#@ template debug=”false” hostspecific=”true” language=”C#” #> <#@ assembly name=”System.Core” #> <#@ assembly name=”System.Configuration” #> <#@ import namespace=”System.Linq” #> <#@ import namespace=”System.Text” #> <#@ import namespace=”System.Collections.Generic” #> <#@ import namespace=”System.Configuration” #> <#@ output extension=”.tt.cs” #> <# var projectPath = Host.ResolveAssemblyReference(“$(ProjectDir)”); var configFile = projectPath + “App.config”; var map = new ExeConfigurationFileMap() { ExeConfigFilename = configFile }; Configuration config = ConfigurationManager.OpenMappedExeConfiguration(map, ConfigurationUserLevel.None);… Read more →
My take on the Daily Stand-Up
Details Meeting to last no longer than 15 minutes Schedule as early as possible each day to work for both on- and off- shore team members What we do Summarise what you’ve done since the last meeting. Summarise what you will you do before the next meeting. Summarise what is getting in your way or keeping you from doing your… Read more →
Get AD Group members
dsquery group -name “” | dsget group -members | dsget user -fn -ln -samid Read more →
How to give an IIS app pool folder permissions
Add the local account for the app pool using, for example, IIS AppPool\ASP.NET V4.0 Read more →