PowerShell snippet: check if software is installed
Some deployment scripts need to check if certain required software is installed on a Windows Machine. You could check if the file is present at a certain location, but there is a better way to check if software is installed: the uninstall database in the Windows Registry. PowerShell makes it really easy to query the registry!
Swap alt and cmd in Windows 10 (MacBook Pro)
As a .Net Developer, I need my MacBook Pro to run Windows. I did so using Boot Camp (which was okay, but my mouse wouldn’t scroll) In Windows I use alt+tab a lot. But the cmd and alt keys are not in the right place (from a Windows keyboard perspective). I use the Windows key a lot too (like Windows+r for run). So let’s swap those keys!
Fixing Air Mouse 2 Scrolling Windows 10 (Boot Camp)
Installed Windows 10 via BootCamp? Missing scrolling on your Air Mouse 2? After hours of searching I’ve found the simple solution: update the Apple software using the Apple updater located in your Program File directory.
A small batch file to compile and execute… Java
Entering a javac (compile) and a java (execution) command seems tedious, so I wondered if those could be scripted into a good old .bat file.
I’ve created a file called yall.bat to help with the process. It has been a while since I’ve been playing around with batch files. I’ve seen my father do it… it still looks like a dark – and ancient – art to me.
How to debug a StackOverflow crash in a .Net application on an IIS (production) server?
Today we had a problem on the server: our app was causing the application pool to crash. Windows error reporting didn’t give a clear result of what was causing a stack overflow exception within the app. No stack-trace, no nothing. So how to solve a problem like this?
About the Author
Hi! I'm Kees. Thanks for checking out my Blog. I work as a .Net Engineer for one of the biggest web-shops in the Netherlands: wehkamp. I ❤️ C# and I like to solve nifty problems.Learn more