How to Install Chocolatey on Windows PowerShell
Read Article →Chocolatey is a software management automation for [Windows](/solved-terraform-error-accessing-remote-module-registry-in-powershell) that …
In-depth guides, insights, and best practices for modern software engineering
Read Article →Chocolatey is a software management automation for [Windows](/solved-terraform-error-accessing-remote-module-registry-in-powershell) that …
Some PowerShell commands require elevated permissions to complete.
To do this, you must first open PowerShell in Administrator Mode.
If you have recently upgraded your MacOS operating system, you may get the following error in your terminal when installing some Homebrew packages: …
Read Article →If you have ever received the following error is not authorized to create managed-rule when running a Step Function through Terraform’s AWS …
If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.Lambda.1) then you can do so by using the source_account …
I needed to execute a Terraform null_resource provisioner (local-exec) block to run an awscli command, but assume a role passed down to it.
There was …
Read Article →You will receive an array as a parameter that contains 1 or more integers and a number n.
Here is a little visualization of the process: …
Read Article →Complete the method which returns the number which is most frequent in the given input array. If there is a tie for the most frequent …
Read Article →Your task is to sort a given string. Each word in the string will contain a single number. This number is the position the word should …
Read Article →It’s very easy to get the current machine name and logged in user using Java.
String username = …
Read Article →
You may have installed ZSH and every-time you open your terminal, it opens BASH by default.
How do you set your default shell to open as ZSH? …
Read Article →If you need to either Encode or Decode a Base64 value, there are many ways to achieve this, one of them is directly from your commandline itself!
There are a few different ways to enable Syntax Highlighting in Vim.
Add syntax on to your local ~/.vimrc
echo "syntax …
Read Article →
Security groups are a critical component for securing resources in AWS. This guide will show you how to create and manage security groups in AWS using …
Read Article →Below is a simple CloudFormation script block to create a Security Group in AWS.
Resources:
SampleAppAppstreamSG:
Type: AWS::EC2::SecurityGroup …
Read Article →
AWS CloudFormation is very useful for creating template-able infrastructure definitions.
One of the sections of a template, is the Input Parameters, …
The AWS CLI comes with a useful subcommand to validate a CloudFormation template.
This catches syntax errors and basic structural issues before you …
Read Article →The two oldest ages function/method needs to be completed. It should take an array of numbers as its argument and return the two highest …
Read Article →You may come across a message that reads similar to the following:
<meta charset="utf-8">Encoded authorization failure message
A full …
Read Article →If you need to run a local application from your Terraform scripts, you can call out to the provisioner local-exec and issue the command syntax: …
AppStream (2.0) is a fully managed non-persistent desktop and application service for remotely accessing your work.
The ImageBuilder forms the first …
Implement a function which behaves like the uniq command in UNIX.
It takes as input a sequence and returns a sequence in which all …
Read Article →Homebrew is the preferred way to install anything on your Mac.
brew install graalvm/tap/graalvm-ce-java17
Java comes with many different ways to generate random integers, even if you need to specify a lower and upper bound to constrain your required value …
Read Article →