This note is about basic Python. Data type and syntaxes. From interactivepython.org
Sometimes HTML version of the theme doesn’t come with dropdown menu in menu bar, here is a simple way to add dropdown menu to your HTML:
Generally, when we added define(‘WP_DEBUG’, false); to wp-config.php, it should disable every warning & notice on the website.
It is quite a pain to setup email forwarding in DigitalOcean with not much experience in command line. Moreover, many tutorials online are outdated or didn’t provide right configuration. This is the guide to setup Postfix for email forwarding which I tested and tried many times.
In the recent project, the clients would like to have pretty URL for good SEO in WordPress. Since the URL structure for WordPress is pretty limited, I have to try rewriting custom URL for client.
(Tested in Font Awesome with Bootstrap 4)
I usually use Font Awesome as a fa-* class in <i> tag, but little did I know that it is possible to use Font Awesome in <input> tag.
Sometimes client’s server doesn’t has PHPMyAdmin installed (and it is 11MB, too big in my opinion), and I have to import database to deploy website from localhost to production server. Thus, I need to find a way to import SQL file directly in command line.
Mac or Linux server has pre-installed Apache Bench which we can use for load testing for free. I am not sure about the limitation, but from my machine (Macbook Pro 2015), I can do load testing up to 200 concurrent connections.