Get the Consonant Value in Java
The challenge
Given a lowercase string that has alphabetic characters only and no spaces, return the highest value of consonant substrings. Consonants …
Read Article →In-depth guides, insights, and best practices for modern software engineering
Given a lowercase string that has alphabetic characters only and no spaces, return the highest value of consonant substrings. Consonants …
Read Article →This function should test if the factor is a factor of base.
Return true if it is a factor or false if it is not.
About factors …
Read Article →There are 6 binary/bitwise operators in Python:
~)&)|)^)<<)>>)A …
Read Article →Given a string "abc" and assuming that each letter in the string has a value equal to its position in the alphabet, our string …
If you use Homebrew – and you probably should if you’re on a Mac – then you have probably installed various different applications and packages …
Read Article →Using Firebase and get the following error in the console?
Uncaught Error in onSnapshot: FirebaseError: Missing or insufficient …
If you try and run npm i and get Error: Cannot find module '../lib/cli.js', then you can easily fix the problem by running the following.
If you’ve tried to use git commit in GitHub Actions before, you may have come across the following error messages:
Author identity unknown
*** …
Read Article →
If you have been handed the Acquiring state lock error message about ConditionalCheckFailedException: The conditional request then you have 2 options …
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 →