Category: Programming
-

ππ» Converting Lat Lng to XY Coordinates: A Guide
As someone who works with geographic data, I often need to manipulate latitudes and longitudes. Recently, a researcher requested that I convert a list of latitudes and longitudes to XY coordinates to obscure the actual location of the points while still allowing for analysis of the distance relationship between them. Here’s how I did it,…
-

π How to Format and order dd-mm-yyyy Dates in jQuery DataTables π
If you’ve ever worked with DataTables, you may have encountered issues with how dates are displayed. By default, DataTables will display dates in a format that may not be easily readable or sortable. However, with a few simple tweaks, you can format your dates to display exactly how you want them. First of all your…
-

Title: How to Add a Windows 10 Machine as a Backup Repository in Veeam Backup & Replication
As an IT administrator, one of your top priorities is to ensure that your organization’s data is properly backed up and protected against data loss. Veeam Backup & Replication is a powerful backup and recovery solution that can help you achieve this goal. However, adding a Windows 10 machine as a backup repository in Veeam…
-

πΊοΈπποΈ Understanding Leaflet Map Events and Local Storage: How to Save and Load Map Bounds πΊοΈπποΈ
Leaflet is a powerful open-source JavaScript library that enables developers to create interactive maps with a range of tools and functionalities that can be customized to meet specific requirements. One of Leaflet’s essential features is the ability to save and load map bounds, which can be useful for various scenarios. In this blog post, we…
-

Working with Null dates in DateRange Picker.
π Hey there! I recently worked on implementing a date range picker using the Daterangepicker plugin in my web application. It was a bit of a challenge at first, but I learned a lot from the experience. One of the main issues I encountered was how to handle null dates with moment.js library. I found…
-

π» 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 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
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.…
-

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…
