Development tips, snippets, and tricks
While I specialize in full-stack development with Microsoft technologies, I also have experience with other technologies. The artilces below are examples of things I’ve learned and found useful.
Redirecting pages in jekyll (Without Plugins)
Hosting your site on Github Pages is fantastic, easy and inexpensive. Using Jekyll to generate your pages is easy and very configurable. It’s the perfect solution for a static site (as well as what I use for this blog). Sometimes, however you may run into situations where you need to redirect a page to another page, and without access to your backend to use server-side redirects you need to do it manually.
How to determine what app is using a port
While it is sometimes easy to determine what app is using a port, it is not always the case. For example, if you are running a web app, and you want to know what app is using port 80, you can’t just look at the process list. You have to run a script to find the culprit. In the past this was a netstat command, but it can be simpler to use PowerShell.