-
Linux subfolder size
Sub folder size In Linux, if you want to find the sub-folder size by Linux command, then Sort by size
-
How to use “grep” command to find text including subdirectories
I want to find all files which contain a specific string of text. • -r (or –recursive) option is used to traverse also all sub-directories of /path, whereas• -l (or –files-with-matches) option is used to only print filenames of matching files, and not the matching lines (this could also improve the speed, given that grep…
-
VS Code Shortcut
VS Code Shortcut Set keybinding to Run Python Search file Explorer Split Screen (Duplicate screen) User Settings Auto Format Select words vertically Others 8.1. Coming soon 1. Set keybinding to Run Python Ctrl + Shift + P Type “Run Python file in Terminal” Hover over it and click the ⚙️ icon Double click “Keybinding” Set your desired short 2. Search file Ctrl + P…
-
VS Code must have plugins
VS Code must have plugins VS code become every developers favourite text editor because it has a lot of extension to expand the power to do different jobs. I listed some of the must of extensions that I have tried. 1. Python Extension 1.1. Python IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit…
-
Solve DNS problem
Sometimes you may have an issue on your domain name but you do not know where is the problem. This is a full tutorial to check the whole chain of your domain DNS. Check DNS in Terminal If you are using Mac, you can open Terminal app. If you are using Windows, you can open…
-
WordPress error 2022
Notice: Function register_block_script_handle was called incorrectly. The asset file for the “editorScript” defined in “contact-form-7/contact-form-selector” block definition is missing. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in Fix: open wordpress-web-folder/wp-content/plugins/contact-form-7/includes/block-editor/block.json Go to line 43. Change from: To: Save and problem solve. _register_controls is deprecated since version 3.1.0! – WordPress error…
-
Install PHP 8.1 on Ubuntu
If you do not have a server, you may check out Setup EC2 with Instance Connect (https://www.teachonetofish.net/setup-ec2-with-instance-connect/) Install Apache To run a web server, you need to install Apache first. Apache rewrite Apache rewrite allow you setup the routing which is good for SEO. Add the highlight code below. Press “i” to change to insert…
-
Linux find IP address
Usually we will use the https://www.whatismyip.com or search in Google https://www.google.com/search?q=what+is+my+ip to find the public ip address, but if you are using Linux terminal (no browser) then you can use the following commands to find public IP addresses: If you just want to find the private IP address, then you can use the following commands.…