TekOnline

Author: jcianci12

  • Fix for Player Input Unity Events. Action Methods not appearing.

    Fix for Player Input Unity Events. Action Methods not appearing.

    ๐Ÿšจ Beware of this pitfall when using Unity’s Player Input Component! ๐Ÿšจ If you’re working on a project in Unity that involves capturing input from a controller, you might be using the Player Input Component to handle input events. This component allows you to easily set up callbacks for various input actions, such as pressing…

  • ๐Ÿ’ป Angular Tip: How to Trigger a Pipe Update with Object Assignments

    ๐Ÿ’ป Angular Tip: How to Trigger a Pipe Update with Object Assignments

    If you’re building an Angular app that uses pipes to transform data, you may run into a situation where you need to update an object in your component and have the pipe react to the change. But what if the pipe doesn’t update, even though you’ve assigned a new value to the object? ๐Ÿ˜• Here’s…

  • Fix for Angular template Autocomplete.

    Fix for Angular template Autocomplete.

    ๐Ÿ‘‹ Hey there, Angular developers! Do you use Visual Studio Code as your code editor and find yourself missing out on Angular template intellisense? ๐Ÿ˜ฉ Fear not, there’s a simple fix that can help you get the most out of your development experience! One of the reasons why you might not be getting Angular template…

  • How to Fix Media Uploads when WordPress is hosted behind NGINX

    How to Fix Media Uploads when WordPress is hosted behind NGINX

    ๐Ÿ“ If you’ve ever tried to upload a large file to your WordPress site, you may have encountered the “413 Request Entity Too Large” error. Or perhaps you get strange errors when uploading larger files? This error message can be frustrating, especially if you’re trying to upload an important file or media asset to your…

  • Fix for prettier splitting HTML tags in VSCode

    Fix for prettier splitting HTML tags in VSCode

    ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰ ng on an Angular application can be a joyous experience, but when prettier starts splitting your HTML tags, it can quickly turn into a nightmare ๐Ÿ˜ฑ. Fear not, for I have found a solution that will have you dancing ๐Ÿ’ƒ in your chair with joy. After trying a few different settings, it turned out…

  • Limiting rotation in Unity easily, using relative direction of game objects

    Limiting rotation in Unity easily, using relative direction of game objects

    I wanted a way that would allow me to limit the gun rotation based on two game objects. That way different guns on the ship could have different limits so that the player couldn’t shot their own ship ๐Ÿ˜† I wanted the limits to be visual, so that they are easy to visualize and adjust.…

  • Updating Plex in a docker container.

    Updating Plex in a docker container.

    There seems to be many conflicting solutions on how to do this, provided you have a running plex docker container, and you used docker-compose to bring it online, here is what you need to do to pull the latest version! docker-compose pull is a command that pulls the latest version of an image from a…

  • Finding the process id (PID) when using Internet Information Services (IIS)

    Finding the process id (PID) when using Internet Information Services (IIS)

    In IIS (Internet Information Services), PID (Process ID) is a unique identifier for the process running the application pool. Here’s how you can find the PID in IIS: Note that the PID may change if the worker process is recycled or restarted. So, it’s recommended to monitor the PID periodically if you need to keep…

  • File Audit with Entity Framework: Retrieve and Check Missing Files with Closest Modification Date

    File Audit with Entity Framework: Retrieve and Check Missing Files with Closest Modification Date

    The FileAudit method is a useful way to retrieve file names from a database table and check if these files exist in a specified directory. With supporting methods like GetParent and GetClosestFile, it provides information about the missing files and the closest file based on the modification date. This article delves into the details of…

  • XPath Cheat Sheet ๐ŸŽฎ

    XPath Cheat Sheet ๐ŸŽฎ

    Hopefully you find these handy! Handy XPath operators Putting it all together๐ŸŒผ Sure, here are a few examples of using XPath with Selenium in C#: Once you have found the element, you can interact with it using various methods such as Click(), SendKeys(), Clear(), GetAttribute(), GetCssValue(), GetText(), and more. For example, to click on an…