Locating and removing empty directories is easy with the find command. Below are the two simple commands to find and delete empty folders from your…
Comments closedYear: 2022
The docker system prune command removes all stopped containers, dangling images, and unused networks. If you pass the –volumes flag, it will remove all unused volumes too. You can…
Comments closedThe If-Not operator is used to convert a value from true to false, or from false to true. Similarly, if an operand evaluates to true, a…
Comments closedThe path module provides utilities for working with file and directory paths. It can be accessed using: You can get the platform-specific path segment separator with path.sep Property.…
Comments closedThe default path of Docker host data is C:\ProgramData\Docker. To configure the Docker daemon using a JSON file, open the location C:\ProgramData\Docker\config and add daemon.json if it does not exist.…
Comments closedYou filtered data with whereHas() and selected the same records via with(). You no longer need to call both methods. Since Laravel 9.16 you can…
Leave a CommentThe unable to get local issuer certificate is a common issue faced by developers when trying to push, pull, or clone a git repository using Git Bash.…
Comments closeddocker-compose.yml
Leave a CommentIn most cases, you can locate the file in the /etc/nginx/sites-available directory. If not found, search for it here: /etc/nginx/nginx.conf, /usr/local/nginx/conf, or /usr/local/etc/nginx. Open your Nginx config file as…
Comments closedYou have to increase the number of worker_connections to fix this issue. You can also increase the number of worker_processes(default = 1), so the total amount…
Leave a CommentFold folds the innermost uncollapsed region at the cursor: Ctrl + Shift + [ on Windows and Linux ⌥ + ⌘ + [ on macOS Unfold unfolds the collapsed region at the cursor: Ctrl + Shift + ] on Windows and Linux…
Leave a CommentStarting from Node.js v18 the fetch API is available on the global scope by default. So we don’t have to install the node-fetch or other packages to…
Leave a CommentIn this tutorial, you will learn how to read JSON files in PowerShell. Read from user.json file. user.json file. Read from URL
Leave a CommentTop-level await enables developers to use the await keyword outside of async functions. Starting from Node.js v14 top-level await is available and it is only available in ES modules. This means you…
Leave a Comment