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!
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.
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.
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.
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.
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.
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.
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.
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.
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.