Blog Posts
- Home /
- Blog Posts
How to set ZSH as your default Shell
November 26, 2021
You may have installed ZSH and every-time you open your terminal, it opens BASH by default.
Read More
How to Base64 Encode/Decode in the Terminal/CLI
November 25, 2021
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!
Read More
How to Enable Syntax Highlighting in Vim
November 24, 2021
There are a few different ways to enable Syntax Highlighting in Vim.
Read More
How to Create an AWS Security Group in Terraform - Securing AWS Resources with Terraform Security Groups
November 23, 2021
Security groups are a critical component for securing resources in AWS.
Read More
How to Create an AWS Security Group in CloudFormation
November 22, 2021
Below is a simple CloudFormation script block to create a Security Group in AWS.
Read More
How to provide Default Values for AWS CloudFormation Parameters
November 21, 2021
AWS CloudFormation is very useful for creating template-able infrastructure definitions.
Read More
How to Validate an AWS CloudFormation Template
November 20, 2021
The AWS CLI comes with a useful subcommand to validate a CloudFormation template.
Read More
How to Reverse Sort Integers in Go
November 19, 2021
The challenge The two oldest ages function/method needs to be completed.
Read More
How to view the Encoded Authorization Failure Message in AWS
November 18, 2021
You may come across a message that reads similar to the following:
Read More
How to run/execute a program from Terraform
November 17, 2021
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:
Read More
How to script AWS AppStream 2.0 ImageBuilder
November 16, 2021
AppStream (2.0) is a fully managed non-persistent desktop and application service for remotely accessing your work.
Read More
How to Reimplement the Unix Uniq Command in Golang
November 15, 2021
The challenge Implement a function which behaves like the uniq command in UNIX.
Read More
How to install GraalVM on Mac
November 14, 2021
Install GraalVM with Homebrew Homebrew is the preferred way to install anything on your Mac.
Read More
How to Generate Random Integers with a Range in Java
November 13, 2021
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 for.
Read More
How to create ArrayList from Array in Java
November 12, 2021
The problem If you have a traditional array, that looks something like the following:
Read More
How to Generate a Random AlphNumeric String in Linux/MacOS
November 11, 2021
If you need to generate a random AlphaNumeric string from the Linux/MacOS Command-Line, then you can use the following script:
Read More
How to check if a string is empty in Go
November 10, 2021
If you need to check if a string is empty in Go, then there are two possible ways to immediately verify this:
Read More
How to read a file line by line in Go
November 9, 2021
If you need to read a file line by line in Go, then you can use the bufio package as follows:
Read More
Floating-point Approximation in Golang
November 8, 2021
The challenge Consider the function f: x -> sqrt(1 + x) - 1 at x = 1e-15.
Read More
All the Ways to Divide an Array in Two in Golang
November 7, 2021
The challenge Write a function partlist that gives all the ways to divide an array of at least two elements into two non-empty parts.
Read More
Tags
- Actionscript
- Advertising
- Agile
- AI
- Android
- Angular
- Ansible
- API
- Automation
- AWS
- Bash
- Big Data
- Biometrics
- C
- C++
- CDK
- Chef
- CICD
- CLI
- Cloud
- CloudFormation
- Containers
- CSS
- Data Structures
- Databases
- DevOps
- Distributed
- Docker
- Domains
- EKS
- Envoy
- Excel
- Firebase
- Forensics
- General
- Git
- Go
- Graal
- Hosting
- HTML
- IaC
- IDE
- Interview
- Istio
- Java
- Javascript
- Jenkins
- Kotlin
- Kubernetes
- Linux
- Mac
- MariaDB
- Maths
- Maven
- Microservices
- Misc
- ML
- MySQL
- Networking
- Nexus
- Node
- NPM
- Pandas
- PHP
- PIP
- Platform
- PowerShell
- Puppet
- Python
- React
- Ruby
- Rust
- S3
- Security
- SEO
- Software
- Spring
- SQL
- SRE
- SSH
- SSL
- Startup
- Terraform
- Typescript
- Ubuntu
- Web3
- Windows
- WSL