TekOnline

Author: jcianci12

  • [Solved] Angular SocialX login showing even when user is authenticated.

    I was adding third party authentication to my application, and I found a plugin which looked to solve the problem. Its located here and seems very popular: abacritt/angularx-social-login: Social login and authentication module for Angular 17 (github.com) Great! I set it up, and it worked! The only frustrating thing was that the plugin would show…

  • Why docker wont start. Adding a User to the Docker Users Group: A Step-by-Step Guide

    As a Docker user on Windows, you may have encountered an issue where you start it and nothing happens. This is because Docker requires the user to be part of the Docker Users group to function properly. In this article, we’ll explore why this is necessary and provide a step-by-step guide on how to add…

  • Web.config transforms and git. Ending the frustration.

    In the world of MVC projects, managing web.config transformations can often be a tricky task, especially when working with source control systems like Git. A common issue that developers face is that every time a web transform is run, the web.config file changes are being tracked by Git. This can be frustrating as these changes are made before runtime…

  • [Solved] Angular sub paths not working.

    Make sure to wrap your app-root element with the body tag! For example:

  • Home assistant key configuration for image notifications

    I put this together for those that are chasing a working config to get their camera to take a snapshot, and forward that snapshot through as a rich notification to android or IOS. Note that my phone sits on the same VPN as my home assistant instance, so the image URL will be accessible by…

  • Midea Modbus Info

  • [Solved] Image corruption when uploading files in .net core.

    I had a real ‘Doh!’ moment today. I was having issues uploading images to an endpoint… after scratching my head and repeating the issue a few times, it came down to this line: Notice that the CopyToAsync is asyncronous, so it will not block the code. because I was not awaiting it, it runs to…

  • [Solved] Extremely slow upload speed on pfsense running under Hyper-V

    [Solved] Extremely slow upload speed on pfsense running under Hyper-V

    Hey there, folks! I’ve been dealing with a bit of a speed bump in my home network setup. After some troubleshooting, I discovered that the issue was caused by a dead port on the Intel 82576 NIC card that my pfSense instance was using in Hyper-V. The port light was flashing orange, indicating a problem…

  • PyScheduler

    Have you ever wanted to create a quick schedule, that avoids the common pitfalls of double booking, and overbooking? Here is a working concept that solves that problem. Features It has been a game changer in creating schedules. Feel free to try it out! https://pyscheduler.tekonline.com.au

  • Scrape a website for suburbs using Beautiful Soup and python

    Scrape a website for suburbs using Beautiful Soup and python

    Sometimes you just need a list. No html, no formatting etc, and you need it quick. Here is a quick project to get a list of suburbs from the Brisbane City Council page located here: https://www.brisbane.qld.gov.au/about-council/council-information-and-rates/brisbane-suburbs Of course, you are first going to need to install python, then your dependencies. I use pip to install…