Install Apache 2 web server from source on Raspbian
Image credit: http://www.apache.org/ This guideline is for working on Raspbian – a Linux distro for Raspberry Pi, but other Linux operating systems have similar steps. Download source from https://httpd.apache.org/download.cgi. It should be in a compressed file, e.g.: httpd-2.4.28.tar.bz2. After decompressing it, we have a httpd-<version> folder. Install PCRE library from the terminal: sudo apt-get install libpcre3-dev Download […]
How To Unlock Desktop Screen After Remote Access Disconnected
Remote Desktop to VM to check out, investigate issues, deploy things are very common, especially when you are in CI/CD, Agile, DevOps environment. The demand to unlock desktop screen remotely is crucial for automation tests to run. A friend of mine says he struggled with this for 2 weeks. Therefore I am going to put simple and […]
Django with MariaDB Troubleshoot
If you are struggling with below error while deploying Django on VPS, this post may help and save you hours for MariaDB Troubleshoot. Did you install mysqlclient or MySQL-python? OSError: mysql_config not found ModuleNotFoundError: No module named ‘ConfigParser’ This is my 2nd times try out Django with MariaDB. The 1st one went smoothly. Couple of […]
Setup Django behind uWSGI and NGINX on CentOS 7
Setting up a web server for Django could be challenging and headache. Let’s try to make it simple: Django behind uWSGI and NGINX on CentOS 7 from scratch. At the end, our complete stack of components will look like this: the web client <-> the web server <-> the socket <-> uwsgi <-> Django 1. Install […]
Setup Python3 Development Environment on Mac
By default, you do not need to install or configure anything else to use Python 2. This article is aimed to serve as a shortcut or references on how to setup Python3 Development Environment. Basically you will need to install the following: 1. XCode & XCode Command Line Tools You can download and install XCode from AppStore. […]
Building a secured Java web server using Spark framework and Nginx
Spark framework (www.sparkjava.com) is a small Java framework used to build a REST server quickly. You can build a Java web server with only a few lines of code. But adding SSL to your server needs more effort. Java used its own format for the keystore file which contains keys. First of all, you need […]
Add Google reCAPTCHA to WooCommerce Signup
That’s all I need “Add Google reCAPTCHA to WooCommerce Signup Form”. There are ton of plugins out there can satisfy this simple requirement. However they have more than what I need. So I googled the minimum requirement to reach the goal and try it out. Let’s check below and share if you find it helpful. […]
Self-signed certificate for local HTTPS connection
When setting up an HTTPS server for development purpose, you probably don’t want to buy a certificate. However you still need to run with HTTPS locally to develop/test if your web application works under HTTPS connections. You can create a self-signed certificate for free using OpenSSL. Generate a private key This command is to genetate a 4096-bit […]
Demystifying 3 Common Misconceptions About Xpath In Web Automation
Problem Element identification lies at the core of automating web tests because without it, your test automation tool has no clue about how to locate and interact with the correct web elements on your application under test. As recommended by W3C, XPath is today’s solution of choice widely adopted by many web automation solutions including the famous Selenium framework. However, just […]