Blog Posts
- Home /
- Blog Posts
How much faster is Python code?
February 23, 2023
The speed of Python code compared to other programming languages depends on a variety of factors, such as the specific task being performed, the libraries and frameworks used, the quality of the code implementation, and the hardware on which the code is executed.
Read More
Zip & Encode Dict to String & Back in Python
February 22, 2023
If you have a Python dictionary, and want to encode it as a string and zip it to save space, perhaps for passing a dictionary through as an environment variable or similar, then you can do the following
Read More
What Categories of Websites are there?
February 17, 2023
There are many different categories of websites, but here are some of the most common:
Read More
How to Generate a Random Number between 2 numbers in Python
February 16, 2023
If you need to generate a random number between two (2) numbers in Python, then you can make use of the random module.
Read More
How to Install AWS SAM CLI on Mac
February 15, 2023
If you need to install AWS SAM CLI on a Mac, then the easiest option is to use Homebrew with the following commands:
Read More
How to count the amount of rows in MariaDB fast
February 11, 2023
If you need to find the fastest way to count the number of rows in a massive MariaDB, or MySQL table, then you can do the following instead of performing a select count() query:
Read More
How to find the Product of Consecutive Fib Numbers in Python
February 10, 2023
0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, …
Read More
How to Solve Van Eck's Sequence in Python
February 9, 2023
0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, …
Read More
How to Solve: Help the Bookseller Challenge in Python
February 8, 2023
A bookseller has lots of books classified in 26 categories labeled A, B, … Z.
Read More
How to solve AWS MediaPackage PackagingGroup Quota Limit
January 31, 2023
If you are using AWS Elemental MediaPackage and hit the following error, then you need to either do one of the following:
Read More
How to Run Cdk Bootstrap
January 30, 2023
To bootstrap an AWS CDK environment, you simply need to do the following:
Read More
How to Get Account Number from AWS Lambda
January 24, 2023
If you need to get the current Account Number, or Account ID from within a Lambda execution, then you can access invoked_function_arn from the context and return the associated value as follows:
Read More
Summary of the Frequently Used AWS STS API calls
January 19, 2023
AssumeRole – is useful for allowing existing IAM users to access AWS resources that they don’t already have access to.
Read More
Understanding Locking and Conditional Writes in AWS DynamoDB
January 18, 2023
Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB.
Read More
AWS CodeDeploy Deployment Type Options
January 17, 2023
CodeDeploy provides two (2) deployment type options: Option 1 – In-place Deployment In-place deployment: The application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated.
Read More
Defining Amazon ECS Task Placement Strategies
January 16, 2023
Amazon ECS supports the following task placement strategies: binpack – Place tasks based on the least available amount of CPU or memory.
Read More
Deployment methods in AWS Elastic Beanstalk
January 15, 2023
– All at once – Deploy the new version to all instances simultaneously.
Read More
How to update NTP to sync clock on Linux
January 4, 2023
If you need to sync the clock on Linux using the central NTP clock service, you can do the following:
Read More
How to Find IP Address Ranges used by Amazon S3
December 13, 2022
You can query the ip-ranges Amazon AWS URL, and parse the results through jq as follows:
Read More
How to Find the nth Reverse Number in Java
December 12, 2022
The challenge Reverse Number is a number which is the same when reversed.
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