Blog Posts

How to Create an Empty Branch in Git

December 16, 2021

If you need to create an empty branch in git, you can follow one of the below options.


Read More

Get the Consonant Value in Java

December 15, 2021

The challenge Given a lowercase string that has alphabetic characters only and no spaces, return the highest value of consonant substrings.


Read More

How to Check for Factor in Python

December 14, 2021

The challenge This function should test if the factor is a factor of base.


Read More

Understanding Bitwise Operators in Python

December 13, 2021

There are 6 binary/bitwise operators in Python: Complement/Not (~) And (&) Or (|) XOR (^) Left Shift (<<) Right Shift (>>) A fantastic python method to help us along our journey is bin().


Read More

Word Values Challenge in Java

December 12, 2021

The challenge Given a string "abc" and assuming that each letter in the string has a value equal to its position in the alphabet, our string will have a value of 1 + 2 + 3 = 6.


Read More

How to update/upgrade all Homebrew packages

December 11, 2021

If you use Homebrew – and you probably should if you’re on a Mac – then you have probably installed various different applications and packages as time went on.


Read More

[Solved] FirebaseError: Missing or insufficient permissions

December 10, 2021

Using Firebase and get the following error in the console?


Read More

[Solved] Error: Cannot find module ‘../lib/cli.js’

December 9, 2021

If you try and run npm i and get Error: Cannot find module '.


Read More

How to use Git Commit in GitHub Actions

December 8, 2021

If you’ve tried to use git commit in GitHub Actions before, you may have come across the following error messages:


Read More

[Solved] Error acquiring the state lock in Terraform

December 7, 2021

If you have been handed the Acquiring state lock error message about ConditionalCheckFailedException: The conditional request then you have 2 options for fixing it!


Read More

How to Install Chocolatey on Windows PowerShell

December 6, 2021

Chocolatey is a software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages chocolatey.


Read More

How to run PowerShell in Administrator Mode

December 5, 2021

Some PowerShell commands require elevated permissions to complete. To do this, you must first open PowerShell in Administrator Mode.


Read More

[Solved] Permission denied @ apply2files – /usr/local/lib/node_modules/expo-cli/node_modules/extglob/lib

December 4, 2021

If you have recently upgraded your MacOS operating system, you may get the following error in your terminal when installing some Homebrew packages:


Read More

How to Fix “is not authorized to create managed-rule” in AWS Step Functions

December 3, 2021

If you have ever received the following error is not authorized to create managed-rule when running a Step Function through Terraform’s AWS Provider, then you may have jumped through many different hoops trying to figure out what was wrong.


Read More

How to add Account Condition to AWS Lambda Permissions in Terraform

December 2, 2021

If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.


Read More

How to AssumeRole in Terraform LocalExec Provisioner Block

December 1, 2021

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.


Read More

Split and then add both sides of an array together in Java

November 30, 2021

The challenge You will receive an array as a parameter that contains 1 or more integers and a number n.


Read More

Highest Rank Number in an Array in Golang

November 29, 2021

The challenge Complete the method which returns the number which is most frequent in the given input array.


Read More

Sort Words by Position Index in Java

November 28, 2021

The challenge Your task is to sort a given string. Each word in the string will contain a single number.


Read More

How to get the Current Machine Name and Logged In User in Java

November 27, 2021

It’s very easy to get the current machine name and logged in user using Java.


Read More