Reordering & squashing commits using Git Rebase I was working on a PR for Google's CDAP Firebase Plugin to add support for Named Databases and some other fixes. After completing the development, testing and addressing review comments, I was happy that finally the PR was LGTM but with a caveat. I
Maven Command Fails running on Windows PowerShell Tried running - mvn clean test -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 Got - PS F:\dev\firestore-plugins> mvn clean test -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=
Terraform Cloudformation Using Intrinsic & Other Functions resource "aws_cloudformation_stack_set" "backup_vault" { name = "AWS-Backup-Vault" description = "Deploys the AWS Backup Vaults across accounts and regions." permission_model = "SERVICE_MANAGED" auto_deployment { enabled = true retain_stacks_on_account_removal = false } capabilities
Fixing Terraform - element types must all match for conversion to list. This was a really weird error coming from Terraform while doing a terraform plan. Good thing is this allows me to write a blog post because pretty sure I am going to forget about this... The Terraform code which was causing this issue -
Debugging "Microsoft.EntityFrameworkCore: A second operation was started on this context instance before a previous operation completed." For almost an year I have been working on a Trading bot which does all the shenanigans of placing orders, checking them, creating stop loss orders as per my strategies. Since this was a personal project, I wanted to keep the costs as low
Npgsql: 42P01: relation "helloworld" does not exist [2023-12-14T11:26:50.419Z] Executed 'LoginDumper' (Failed, Id=51a219ad-31f0-4477-9c36-cf06ad8efcbe, Duration=5100ms) [2023-12-14T11:26:50.429Z] System.Private.CoreLib: Exception while executing function: LoginDumper. Npgsql: 42P01: relation "helloworld" does not exist [2023-12-14T11:26:50.433Z] [2023-12-14T11:26:50.436Z] POSITION: 13. This is
No Audio coming from USB Windows 10 Quick post as always! I was having a lot of trouble with my Audeze Mobius device not working when connecting to a particular laptop as it was working fine over Bluetooth and USB when connected to other devices. The problem was that the system
Unable to install com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.21 on Azure Databricks I was trying to install the `com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.21` library from Maven on an Azure Databricks Cluster which was running `9.1 LTS (includes Apache Spark 3.1.2, Scala 2.12)` version. The cluster was connected to
Azure Unable to start/init Azure Storage Emulator after fresh installation Azure Storage Emulator is an important piece of my developer toolkit and I recently got a new laptop from work and while I was getting it setup, I installed the Azure Storage Emulator from the official download page over here. You could argue why
Windows Fix Random (Seemingly) Port Blocks on Localhost Loopback Interface It has been a really, really long time since I have written a blog post. This blog post talks about a recent problem which I encountered, forgot to write about on how I solved it and it bit me back again after some time!
az-400 Preparing for Microsoft Azure DevOps Solutions (AZ-400) In this post, I have posted the material which I used to prepare for AZ-400 (Microsoft Azure Devops Solutions) exam.
Fixing Visual Studio 2017 unable to connect to Web Server 'IIS Express' There are so many days in our lives as developers that something is working exactly fine one day and the next day you login and start your project and it just refuses to work! This has been one of the issues which have been
Resolving Issue with Logging Formatter & Unicode in Python 2.7 This would be a really short post for reference. In Python 2.7 on Windows, I was using a RotatingFileHandler with a Formatter to add contextual information to the logs. For some reason, even when I was opening the file with the UTF-8 encoding
Splunk KV Store process terminated abnormally (exit code 100, status exited with code 100) Howdy! I was doing Splunk development (On Windows) for External Lookups when I encountered this issue. I like to turn off the Splunkd service so that it doesn't keep on consuming my precious resources. I started the service like normal after a few days
Install Latest Version of GNU GPG on Ubuntu 16.04 Ubuntu 16.04 comes with a pretty old version of GNU GPG. I was trying to setup GPG key for my Github account. On checking the version, I saw the following - blueelvis@DESKTOP:/mnt/d/dev/minikube$ gpg --version gpg (GnuPG) 1.4.
Some Gotcha's for PowerShell! I have been working with PowerShell for some time now and I love it! But, every language has its pros and cons. I am using PowerShell v5.1 on Windows 10 Enterprise. What I have noticed is that I encounter some problems which I
How to move projects in a Visual Studio Solution to different folders? I was given a simple task of moving the project folders inside a Visual Studio Solution to a different folder because even though we were using Solution Folders feature of Visual Studio, on disk, there were a lot of folders and adding them inside
Azure Solving Azure Functions - "cannot find function:" with Event Grid Trigger Well well well... 2 posts in 1 day! (Pats myself on back...) I have been trying to automate the provisioning and deployments of Azure Functions using ARM Templates & PowerShell scripts for quite some time and this error literally took few hours of my
Azure OpenSSL Hanging Up When Trying to Convert Certificates on Windows This post is more about me needing this again in the future because I keep on forgetting this from time to time. I was recently trying to convert certificates from PEM format to PFX format so that they could be uploaded to the Azure
Convert a PSObject to a Hashtable in PowerShell This is just for myself when I forget in the future... An object returned by the ConvertFrom-JSON usually returns a PSObject but I need a hash table to properly manipulate and easily pass the hashtable to be consumed by the ARM Template as a
Azure Running commands inside actual Web Container in Azure Web App for Containers A blog post on how to run commands inside the actual Web container in Azure Web App for Containers
red hat How to check if Write Barriers have been enabled/disabled while mounting a disk in Linux Some time back, I had to work with Red Hat Enterprise Linux 6.9 and as per Microsoft's documents on optimization for Linux Virtual Machines, I had to ensure that Write Barriers on the disk(s) was disabled. Red Hat says that the benefits
Azure How To Export Environment Variables in Azure Web App for Containers Azure Web App for Containers is a nice offering from Microsoft Azure where you could have a custom Docker image running your Web App. This is particularly beneficial when you
Azure Making HTTP Requests on Azure REST API using Azure PowerShell All of the operations which you perform on Microsoft Azure are backed by a robust set of APIs. Be it accessing resources via the Portal or invoking commandlets from Azure Powershell modules, all are powered by Azure REST APIs behind the scenes. The problem
Azure Installing New Relic PHP Agent in Azure Web App for Containers In this post, I would install and then configure New Relic's PHP agent to work with Azure Web App for Containers. The custom container image is based on Debian but