Credit: this post heavily uses/reuses the content from Arnon Axelrod’s post. For some reasons, I couldn’t leave him a comment because of reCAPTCHA issue. So I decided to create this post and cover part he didn’t. I strongly recommend you to visit his post for full story. Some test automation tools require an active desktop session to operate normally. I have been struggling with other approaches: autologin, relogin, unlock locked screen, etc. All of them led to same dead end. I already have a post for “How To Unlock Desktop Screen After Remote Access Disconnected” however it requires running cmd…

This tutorial is absolutely for beginner which contains demo source code, wordy explanation. At the end, you will be able to write up a WordPress Plugin that can load data from custom database table and serve it as data source. If you learn faster by reading source code, please feel free to jump in to my github repository. In this article, I am going to cover below topics WordPress custom database table Enqueue or load required scripts (js) Textbox autocomplete Getting started Before we deep dive into detail, here is couple of things that we need to do Create a…

Just like other vibrant industries, software testing is changing every day. As a tester, what should you learn to stay on top of your game? Below are some trends you might want to take a look at in 2018. Sharpen the saw! Blockchain app testing: Unless you’ve been living under a rock for the past few years, you’d probably have heard of buzzwords like Bitcoin, Ethereum and Blockchain. Blockchain is taking the world by storm. More and more investments are made on developing Blockchain-based applications, translated: more software testing needed. Tip: “Mastering Bitcoin: Unlocking Digital Cryptocurrencies” of Andreas Antonopoulos is a…

Install MariaDB (or MySQL) on Raspbian / Debian is pretty easy with the supported package: sudo apt-get install mariadb-server (or mysql-server) And you can set password for the root account as well as configure others by one simple command: sudo mysql_secure_installation (for both MariaDB and MySQL) But the problem is that you can’t connect to the database from any system. You’ll get the “Access denied” error all the time. The only way to access is from the terminal of that server: sudo mysql -u root -p I don’t know why the authors make them to be difficult to use at…

Prerequisite: Apache 2 installation exists Steps: Download PHP source code from http://php.net/downloads.php and then decompressed it to have a PHP folder contains source code On the terminal, install the libxml2: sudo apt-get install libxml2-dev Inside the PHP folder at step #1,configure the build: ./configure ––with-apxs2=/usr/local/apache2/bin/apxs ––with-mysqli ––enable-mbstring Notes: apxs was installed when installing Apache 2. In this example, the Apache 2 was installed at /usr/local/apache2. The default location of php.ini is /usr/local/lib/. Use ––with-config-file-path=<path> if you need to put the php.ini file at somewhere else. ––with-mysql was removed, use ––with-mysqli instead (https://github.com/php-build/php-build/issues/348) ––enable-mbstring is required for using phpMyAdmin Install: sudo make sudo make…

This guideline is for working on Raspbian – a Linux distro for Raspberry Pi, but other Linux operating systems have similar steps. Download the Apache 2 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 source of APR and APR-util from https://apr.apache.org/download.cgi. They’re all in compressed files, e.g.:  apr-1.6.2.tar.gz,  apr-util-1.6.0.tar.gz. After decompressing them, we have the following folders: apr-<version>, apr-util-<version>. Rename them accordingly to apr and apr-util and then move them into the folder at step #1 to this path: httpd-<version>/srclib/.…

1 2 3 4