Bower: The Browser Package Manager

Bower, a powerful browser package manager, allows you to manage your project assets, such as JavaScript, CSS, and images. In this post, we will focus on using Bower for JavaScript packages. Before we begin, let’s install Bower using the npm package manager: npm install bower -g Next, create a .bowerrc file in your project’s root directory or in your home folder to customize Bower’s behavior. For example, you can specify the directory where packages will be installed and the file that will store Bower’s data:...

Getting Started with Docker: First Steps After Installation

Once you have completed the Docker installation on your system, you’re ready to take your first steps in creating and running Docker images and containers. This guide will walk you through the process. To begin, you can either run the commands directly in the built-in terminal or use your own shell. Here’s how I prefer to do it on macOS: Open the macOS Terminal. Navigate to your desired directory (e.g., cd dev) and create a subdirectory called docker to host your Docker experiments (mkdir docker and cd docker)....

How to Work with Docker Containers Using the Command Line

Docker containers are a powerful tool for managing and running applications. While the Docker Desktop application provides a graphical interface to work with containers easily, you can also utilize the command line interface (CLI) commands for more flexibility and control. To list the currently running containers, you can use the docker ps command. Alternatively, you can run docker container ls for the same result. docker ps Here is an example output of the command:...

The stack I use to run this blog

In this post, I will describe the technologies and tools I use to run my blog. From the site platform to hosting, and even my workflow for posting articles, I’ll cover it all. The site platform This blog is built using Astro, a static site framework. While I previously used Hugo, I found that I enjoy creating user interfaces with JSX more. Astro, like Hugo, generates fast pages that can be easily deployed on platforms like Netlify or Cloudflare Pages....

Working with Docker Images from the Command Line

In this blog post, we will discuss how to work with Docker images from the command line. Docker images are essential for running containers and encapsulating your applications in a portable and efficient manner. To list all the images you have downloaded or installed, you can use the following command: docker images -a This command will provide you with a list of all the Docker images on your system, including their names, tags, sizes, and creation dates....