How to use your custom php.ini in Drush

The following codes shows how can we tell Drush to use our custom php.ini:

  
$aliases['wf'] = array (
  'uri' => 'http://d8webfoobar.loc',
  'root' => 'C:/WinNMP/WWW/drupal',
  'php' => 'C:/WinNMP/bin/PHP/64bit-php-7.2/php.exe',
  'php-options' => '--php-ini=C:/WinNMP/conf',
);
  

To test, execute the following command:

  
drush @wf status
  

The screenshot is the output of the command above showing that the custom php.ini is already recognized by Drush:

Tags

Synergy server and client wont connect

Synergy is a software that shares a mouse and a keyboard between many computers. Setting this up requires the computer that shares the mouse and keyboard configured as server and the rest of the computers that are being controlled will be the clients. The ussual challenge in setting this up is making the server and client(s) get connected. One feature of Synergy is the option to use SSL encryption connection. And the common mistake is that the server configured to use SSL encryption connection and the client(s) is(are) not and the following are the logs that will show on server:

Test website google.com as HTTP referrer using Selenium IDE

The following steps are creating an automatic test for a website where the request originated from google.com using Selenium IDE.

  • Open Selenium IDE and create a new project.

  • Add new test named "google.com referrer".

  • Enter "https://www.google.com" on "Playback base URL" field.

  • Enter the following commands:

    1. Command:
      open
      Target:
      /search?q=webfoobar
      Value:

How to run Selenium tests repeatedly in infinite loop

We have a series of tests and we need to run them repeatedly for an extended length of time but there is no settings in Selenium IDE that allows infinite loop test run. In this article, will show the workaround to achieve that.

  • Open Selenium IDE and create a new project.

  • Add new test named "infinite loop run".

  • Enter the following commands:

    1. Command:
      execute script
      Target:
      return 0;
      Value:
      index

Your RAM might still working

When your computer wont boot and you've done process of elimination confirming that the RAM is the culprit, mostly you might think of replacing the RAM. Before you throw away your RAM, you might want to try this troubleshooting first in this article. There is also the possibility that your motherboard's RAM socket is already loose, specially if it is already old. The motherboard's RAM socket contact pins might not all touching the RAM's golden finger.

Mount SD card to "C:\Program Files" in Windows 10

The following are the steps on how to mount SD card to "C:\Program Files" in Windows 10 without using softlink:

  1. Create "C:\sdcard" folder.

  2. Go to "Administrative Tools" > "Computer Management" > "Disk Management".

  3. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Remove".

  4. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Add..", type "C:\sdcard" and click "OK".

Tags