CloudSavvy IT - Cloud Computing for IT Pros
Archives
How to Work With JSON in PHP
JSON is one of the most commonly used data serialization formats. It’s grown from its origins within JavaScript (JSON means JavaScript Object Notation) to become the format of choice for many web APIs and configuration systems.
How to Use printf in Bash
Text formatting is an interesting topic, especially when it comes to Bash. Whilst there are many tools for text formatting, printf is unique and universal. Learn all about printf in Bash to format your text just the right way!
What is Semantic Versioning?
Semantic versioning is a formal convention for determining the version number of new software releases. The standard helps software users to understand the severity of changes in each new distribution.
Cyberattacks to Watch Out For In 2021
Forewarned is forearmed. The threat landscape is always evolving. The threat actors don’t sit still for long. . Here are some trends and developing cyberattack threats that you should be aware of in 2021.
How to Conduct Code Reviews with GitLab’s Merge Requests
GitLab’s Merge Requests are your chance to review code before it enters your project’s main branch. A Merge Request (MR) is a wrapper around a git merge operation that’s accessible within the GitLab web UI. Once you’ve reviewed your code, you can initiate the merge with a single click. Adopting an MR-driven workflow helps you guarantee code quality by creating an expectation that all commits are thoroughly reviewed.
How To Backup and Migrate a MongoDB Database
Migrating databases is something every system administrator will have to do at some point. Luckily, MongoDB provides built in commands for creating and restoring from backups, making migration to a new server easier.
How to Use Cron With Your Docker Containers
Running background tasks on a schedule is a standard requirement of backend services. Getting setup used to be simple – you’d define your tasks in your server’s crontab and call it a day. Let’s look at how you can utilise cron while using Docker for deployment.
What Are Presentational and Container Components in React?
React has a component-based architecture that encourages you to split your codebase into reusable units of functionality. Not all components are created equal though. Let’s look at the differences between two common types, Presentational and Container (also known as “Stateful”) components.
What Is Cyclomatic Complexity? Measuring Code Quality
Cyclomatic Complexity is a code metric that you can view in many IDEs like Visual Studio. While it’s not an exact science, it allows you to get a general idea of the complexity of functions, classes, and namespaces, which can be useful when looking for code to refactor.
How to Deploy a Static Site For Free Using DigitalOcean’s App Platform
App Platform is a new Platform-as-a-Service (PaaS) offering from DigitalOcean. It lets you push code to production without configuring any infrastructure. App Platform connects to GitHub and GitLab repositories to automatically build and deploy your projects.
How to Get Started With Portainer, a Web UI for Docker
Portainer is a popular Docker UI that helps you visualise your containers, images, volumes and networks. Portainer helps you take control of the Docker resources on your machine, avoiding lengthy terminal commands.
The Trickbot Botnet is Dead – Or Is It?
In the run-up to the 2020 US election, Microsoft launched an offensive against a prolific botnet called Trickbot. Did they manage to kill the threat? We explain how it panned out.
How to Create a Managed Kubernetes Cluster on DigitalOcean
Kubernetes is a platform for orchestrating containerised applications. Learn how to get started with DigitalOcean’s Managed Kubernetes service in this article.
8 Top New Features in PHP 8
PHP 8 was released at the end of November 2020. It’s a major new version that upgrades the language with additional features and performance improvements.