At work, a number of angular web pages were sending an increasing number of requests to the back-end. Apparently, if I reuse components that don’t properly dispose of their observable subscriptions, they keep sending and processing multiple requests.
Continue reading “Correctly unsubscribe in Angular”
I like Have I Been Pwned. I love the simplicity. Unfortunately, it lacks support for Gmail plus notation.
Continue reading “Checking aliases in Have I Been Pwned”
Recently, Cloudflare launched the privacy conscious (and very fast) DNS service 188.8.131.52. I want to use it to resolve all my DNS needs. Setting this up via my Ubiquiti network was super easy.
Continue reading “Configure Ubiquiti to use 184.108.40.206 as DNS server”
Last week, I wrote about crafting a CSP for my professional site. This week, I’m going to add reporting so that when things go wrong, I know what went wrong.
Continue reading “Adding reporting in the mix”
A few weeks ago Troy Hunt and Scott Helme released Report URI JS. I wanted to test it out to see how easy it was to implement. The library is very easy to use, the hard part is still setting up the CSP.
Continue reading “Adding a CSP to my site”
A trend I see in code that gets written by friends and coworkers is that every class needs to be injected. They all look so surprised when I tell them that they don’t have to do that with every class they need. Then they always follow up with: then why do we need a dependency injection (DI) framework?
Continue reading “Not every class needs to be injected”
After I read the MSDN article about structuring an MVC app in feature folders, I wanted to create my own Nuget package or dotnet template to easily achieve this.
Continue reading “Contributing to AddFeatureFolders package”
Seems like I’m talking a lot about 1Password (and password managers in general) these past few weeks. Well, it’s because I think they are awesome and an invaluable tool if you want to secure yourself on the internet these days. In this article, I’m going to explain why you should use two factor authentication (2FA) and how you can set it up with 1Password, so you only need to do it once.
Continue reading “Two Factor Authentication via 1Password”
Facebook decided I was doing naughty stuff on my account and thus removed it for most of last week without notifying me or giving me an explanation why they removed and later restored it.
Continue reading “Facebook removed my account”
Last week, I wrote about a subtle security enhancement that password managers provide out of the box. This week I want to highlight the main reason why I like password managers.
Continue reading “Main password manager benefit”