Blog Posts
- Home /
- Blog Posts
Check if String EndsWith in Python
May 30, 2021
The challenge Complete the solution so that it returns true if the first argument(string) passed in ends with the 2nd argument (also a string).
Read More
How to add a Git Submodule to an existing codebase
May 29, 2021
Git submodules are a way of including another repository’s code into an existing codebase, without associating it’s code or tracking history in the parent repository.
Read More
How to LowerCase a String in Python
May 28, 2021
Python comes with a built-in method on all String types, by calling lower() on a String, you can immediately lower the case of that String.
Read More
How to Restart Sound Driver on a Mac
May 27, 2021
So for some strange reason, your audio has stopped playing through the Macbook Pro speakers, but if you plug in an external audio device, it still works?
Read More
Number to Binary Conversion in Python
May 26, 2021
If you have a decimal number, and want to get it’s binary value, you can use the built-in bin method.
Read More
Counting Binary Gaps with Python
May 25, 2021
The challenge A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N.
Read More
How to Delete a Secret in Kubernetes
May 24, 2021
Once you have a secret in Kubernetes, if you know it’s name, you can delete it.
Read More
How to Decode a Secret in Kubernetes
May 23, 2021
Secrets in Kubernetes are encoded using base64. If you have the secret name, you can ask for its value.
Read More
How to Verify a Secret in Kubernetes
May 22, 2021
You have created a secret, and would like to retrieve it.
Read More
How to Create a Secret in Kubernetes
May 21, 2021
Secrets allow applications to not hardcode usernames, passwords or additional information such as hostnames, IP addresses or other protected/sensitive information.
Read More
How to Divide an Array into Chunks in PHP
May 20, 2021
If you have a single-dimensional array, and want to break it into chunks, you can use the array_chunks method.
Read More
How to setup Certbot wildcard certificate on Apache
May 19, 2021
Certbot allows simple, quick and free provisioning of SSL certificates using LetsEncrypt.
Read More
How to retrieve a Secret from AWS Secrets Manager in the CLI
May 18, 2021
If you have stored a secret in AWS using the Secrets Manager, it is possible to use the AWS CLI to retrieve this value at a later date.
Read More
Determine the Last Digits of N^2 == N in Java
May 17, 2021
The challenge Let’s call an integer number N ‘green’ if N² ends with all of the digits of N.
Read More
How to Expose your App through a Service in Kubernetes
May 16, 2021
Once you have deployed an application into Kubernetes , it will not be available to the outside world.
Read More
How to connect to Bash on a Kubernetes pod
May 15, 2021
If you find yourself needing to jump into a Kubernetes pod to either diagnose an issue, or run a particular command, you can use the bash connectivity functionality available from kubectl itself.
Read More
How to get the Environment variables in a Kubernetes Pod
May 14, 2021
In this comprehensive guide, you will learn how to effectively get and list environment variables within a Kubernetes pod .
Read More
How to find out Cluster Info in Kubernetes
May 13, 2021
In Kubernetes, a cluster is a group of machines working together.
Read More
How to set and use a kubeconfig in Kubernetes
May 12, 2021
The kubeconfig file is the main configuration file that allows access to a Kubernetes cluster.
Read More
How to Map over a List of Lists in Java
May 11, 2021
The challenge Write a function which maps a function over the lists in a list:
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