Your cart is currently empty!
Category: Programming
-
How to Push Your Git Repository to TFS
In this guide, weβll walk through the steps of pushing your Git repository to Team Foundation Server (TFS). This guide assumes that youβre working with a Git repository. If your project isnβt already in a Git repository, youβll need to initialize a new Git repository for your project. Step 1: Add the TFS Remote in…
-
Fixing inconsistently formatted Australian mobile numbers… in excel! π
Here is the excel formula: This formula checks if the first character of cell M2 is 0. If it is, it concatenates β+61β with the rest of the characters in M2 except the first one. If not, it checks if the first three characters of cell M2 are β+61β. If they are, it returns M2.…
-
How to add a remote folder share as a remote git repository in vs code?
In some cases, you might just wanna push your code to a network folder and use that as your remote. This will also work without vscode as long as you can get to the command line and you have the necessary folder permissions. Here is how π First you will need to initialise your remote…
-
Simple way to sort dates in any format with jquery.datatables
Initially, I was formatting the date in my table using any format I liked. However, I soon realized that this would ruin sorting. For example, if you have a table with dates formatted as βdd/mm/yyyyβ and βmm/dd/yyyyβ, datatables will sort them incorrectly because it will sort them based on their underlying serial numbers. Then I…
-
Converting from DOCX to PDF for thumbnails
I recently needed to show some thumbnails of docx files online. Here is what I came up with. Please note that this will not create a perfect thumbnail. In fact its quite basic. It allows the user to simply see that the file contains something. Nevertheless, I hope you find it helpful! Here is the…
-
ππ» 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…