Posts

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

How To Disable WordPress Plugins In CPanel ?

How to disable WordPress plugins from CPanel in hosting company because I can not login to the WordPress admin dashboard ? Here is a step by step guide: open file manager on your host. open public_html then wp-content then plugins, you’ll see all plugins listed as folders / directories. click on any plugin to rename it. just change the name a little bit to disable it. just add -bak or anything to disable the plugin.

[Solved] Parse Error : Syntax Error in wp-include/functions.php

I faced this error parse error : syntax error, unexpected "." , expecting "&" or variable (T_VARIABLE) in wp-include/functions.php on line 1081. This error is because there is two PHP versions loaded on the modules. So we should comment out one of them. So I commented out the php5 module. And everything worked fine. First step, edit the httpd.conf file using this command. sudo nano /etc/apache2/httpd.conf Then add a # in front of the php5 module (or one of the two versions of PHP you have).

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 .

Is your Software Company a Feature Factory or Lean Startup ?

Progress 🔗 If your software company just focus on delivering features.. more features.. more abilities.. more things into that project.. you burning money! You assume that you know what the users want. The best approach is to create a minimum viable product which has the bare minimum features to work, then discuss the current features and the suggested features from your clients/users. Then Think thoroughly about the features and integration.

3 Tips to have Long and Successful Creative Career

Start Before You’re Ready 🔗 If you are waiting to be ready to start, you will never start! Just start chasing your dreams and goals. You will learn more during your work. The process of success is iterative. Your first work will suck, but the next work will be more polished. After too many iterations of work, your work will be amazing. Repetition makes perfect. You’ll gain experience through that journey of success.

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. ExecStart=/bin/bash /root/my_program.sh If you want to execute this service, you should store it in /etc/systemd/system/.

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.

All Javascript Optimization Tips & Techniques

Parsing Objects in Javascript 🔗 if you are using object like this. const data = {foo: 42, bar: 1337, ... }; use the JSON.parse() instead const data = JSON.parse('{"foo":42,"bar":1337, ... }'); It seems slower, but in the real world IT IS WAY WAY FASTER. Why is it faster? because JSON.parse() has one token ( Javascript object literal), but the string literal has too many tokens. want to know more ?