teachonetofish-sitelogo

Teach One To Fish

  • Category
banner-1
  • Linux subfolder size

    Linux subfolder size

    Sub folder size In Linux, if you want to find the sub-folder size by Linux command, then Sort by size

    July 26, 2022
  • How to unzip .gz File

    How to unzip .gz File

    We can decompress the .gz file in current directory by

    July 26, 2022
  • How to use “grep” command to find text including subdirectories

    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…

    July 26, 2022
  • VS Code Shortcut

    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…

    July 20, 2022
  • VS Code must have plugins

    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…

    July 20, 2022
  • Solve DNS problem

    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…

    July 20, 2022
  • WordPress error 2022

    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…

    June 27, 2022
  • Install PHP 8.1 on Ubuntu

    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…

    June 7, 2022
  • Move folder

    Move folder

    In Linux, we use mv to move files/folders. Move folder content up one level

    June 7, 2022
  • Linux find IP address

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

    June 7, 2022
←Previous Page
1 … 4 5 6 7
Next Page→
teachonetofish-sitelogo

Teach One To Fish

Facebook Page

授人以魚,不如授之以漁

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT