Posts Tagged with tutorials
How to fix dyld: Library not loaded: /usr/local/opt/ icu4c/lib/ libicui18n.60.dylib ?
Use [Homebrew] to uninstall node and icu4c like this.
brew uninstall --ignore-dependencies node icu4c Then install node.js like this.
brew install node If the problem persists and the error kept occuring, try running this command.
brew link --overwrite node If the issue resists again, try upgrading node instead of reinstalling it. So use this command:
brew upgrade node Want to watch how to fix it in a video ? watch it here on YouTube.
How to Inspect Hover Element in Chrome Dev Tools ?
If the hover effect is given with CSS then yes, I normally use two options to get this:
The Tricky Way To See Inspect Hover One, to see the hover effect when the mouse leave the hover area: Open the inspector in docked window and increase the width until reach your HTML element, then right click and the popup menu must be over the inspector zone… then when you move the mouse over the inspector view, the hover effect keep activated in the document.
How to Calculate Age in Microsoft Excel
In the cell of age, write this =INT((TODAY()-B2)/365) where B2 is the location of the cell where the date of birth written.
This code just caclulate the number of years passed. So you know the age of this person in years.
But what if I want to know the months and days too ? To get the age in years, use =DATEDIFF(dateOfBirth, TODAY(), "Y") and replace dateOfBirth by the location of the cell where the birthday are written.
How to Use Systemd to Keep Programs Running ?
Systemd manages these services in unit files like this.
[Unit] Description=Some Really Important Service [Service] Type=simple WorkingDirectory=/root ExecStart=/root/my_program.sh [Install] WantedBy=multi-user.target The program that will start is.
#!/usr/bin/env bash while true; do echo 'service is working' sleep 3 done If you don’t want to use this line #!/usr/bin/env bash, then you should make sure to specify what is the program is dedicated to execute the script like this.
How to Master a New Technology ?
Here are 4 steps to master any new technology.
Quick Start Guide Go to the official website of the new language, or framework. And find the quick start, or starter guide, or language tour, or framework tour, and play / do it.
It gives you the necessary minimum knowledge of that new technology. The ultimate reason to do this get started is that it rarely outdated because it is the official beginner guide.
How to Install Gnome Shell Extensions from ZIP File using command line
First check your gnome version:
$ gnome-shell --version GNOME shell 3.36.4 Then go to location where your downloaded ZIP file, for me its Downloads directory.
cd ~/Downloads/ Get the extension UUID from metadata.json by this command.
$ unzip -c dash-to-dock-micxgx.gmail.com.v68.shell-extension.zip metadata.json | grep uuid | cut -d \" -f4 dash-to-dock@micxgx.gmail.com Or simply open metadata.json file and copy the UUID value. For me it is dash-to-dock@micxgx.gmail.com.
Create destination directory for the gnome extension.