The 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 closedTutorials / Programming tips Posts
You 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 CommentMac Cmd+Shift+\ Mac with french keyboard : Ctrl+Cmd+Option+Shift+L Windows Ctrl+Shift+\ Windows with spanish keyboard Ctrl+Shift+| Windows with german keyboard Ctrl+Shift+^
1 CommentOpen your code in Visual Studio Code From Edit Menu, select Replace or use a shortcut key (command + Option + F on Mac or…
4 CommentsIn this post, you’ll learn how to enable and use ES modules in Node.js. Starting version 13.2.0, Node.js has stable support for ES modules. The…
1 Commentls -la – for listing folder contents, where the l option stands for long listing and the a option stands for all files (including the ones starting with a dot) touch – for creating…
Leave a Comment