I’ve had a problem with a pesky windows shortcut recently. After some googling with bing I came across a few older tools which claim to show a list of registered shortcuts. None of these looked terribly promising, and I eventually came across this StackOverflow answer which I don’t want to forget: Find out what process registered a global hotkey? (Windows API) Continue reading
Author: Daniel Šmon
Can’t write to applicationhost.config
While running Visual Studio 2015 as well as 2017 I’ve come across the following error running Web projects with IISExpress:
Can’t Set-ExecutionPolicy when scope is MachinePolicy
Stuck on a machine that has a restrictive PowerShell execution policy that is set via Group Policy? Unfortunately you can’t just use Set-ExecutionPolicy to change the policy for the MachinePolicy scope. Continue reading
Diff XML, via sorting XML elements and attributes
Have you ever had to diff XML files? Because ordering isn’t important in XML structure, it’s often hard to diff changes in XML, especially if changes have been generated by tooling. A colleague and I came up with a quick script in PowerShell to order all elements and attributes in an XML files for an easier diff. Continue reading
Visual Studio CTRL+M not working
This has been bothering me for a while. I haven’t been able to use any shortcut combination starting with Ctrl+M in Visual Studio. For example, since I don’t use R# I’ve become a fan of CodeMaid for reorganising and cleaning up files. CodeMaid’s default shortcuts all start with Ctrl+M. Continue reading
Fan always running in Windows on MacBook Pro
Lately it’s been bothering me that my fan has always been running on my MacBook Pro in Windows. I’m running Windows 10 Anniversary Update via Boot Camp, so there’s no virtualisation in the mix. The machine is always running hot, even when not really under load. Continue reading
Windows 10 Unidentified Network
In windows 10, if your network adaptor isn’t using DHCP, you appear to be stuck in “Unidentified Network” land. For example, this will apply if you set up an internal network for a Hyper-V VM with static IPs.
If you want to enable say, file sharing on that network this leaves you with a dilemma. Do you turn on sharing by defauly, which includes untrusted networks? A better option is to change the network type to Private, but how? Continue reading
Navigating to a SharePoint 2013 library that contains a page named Default.aspx will open that page
SharePoint Online: Publishing Portal template not allowed at the Root URL
So, you’ve provisioned a new SharePoint online tenant, and would like to replace the Team Site at the root URL with a site using the ‘Publishing Portal’ template. Seems reasonable, right? Continue reading
How to paste hyperlinks with descriptions in SharePoint 2013 and SharePoint Online
A client recently wanted to copy and paste hyperlinks with friendly descriptions from Excel in to the Hyperlink column of a list in SharePoint online.
This used to work back in SharePoint 2010 with Datasheet view because it used an ActiveX control that provided rich functionality. Since SharePoint 2013, the Datasheet view has been replaced with the Quick Edit view, which is HTML and JavaScript only. While this is great for browser compatibility, it does mean that the Quick Edit view has less functionality than the ActiveX control used to have. Continue reading