Handling Express.js Body Parser JSON Exceptions


Express.js, an HTTP server for Node.js, has middleware that you have to install to parse and work with the req body objects on POST routes - the problem is, it doesn't make it particularly easy to handle errors yourself. One issue that I ran into spe... [ read on → ]

Routing by Subdomain in ASP.NET Core 2.2


A long time ago I wanted to do some routing through a project using a wildcard subdomain, something like a simulated multi-tenanted setup for a service. Custom router The way to do this is to create a custom router. Create a class under /Services/Cus... [ read on → ]

Sharing WiFi Connection over Ethernet on Ubuntu 18.04


I wanted to share my Ubuntu 18 desktop's WiFi connection over Ethernet to my Raspberry Pi - however, some of the software you need to do this is no longer readily available, as it is superseded by the new settings app in Ubuntu 18. So now, you can on... [ read on → ]

© 2020