Today I wanted to try out Nginx server my windows machine. After setting up the basic server block details for my project, I called the site URL. In the WT-NMP stack to quickly setup the software I needed. In the server block, I needed to specify my root path in a different location other than… Continue reading Fixing No Input File Specified error on Nginx + PHP
Category: Programming
Thoughts about programming from my experience and learning.
Setting up xdebug with phpstorm
This guide provide a step by step details on how to set up phpstorm IDE to work with xdebug. Installing on Ubuntu In software search for xdebug and install. Add to the following xdebug settings to php.ini file xdebug.remote_enable = 1 xdebug.remote_port = 9000 xdebug.remote_handler = dbgp xdebug.remote_mode = req … Continue reading Setting up xdebug with phpstorm
Xpath vs CSS Selectors
After researching and reviewing on whether to choose XPATH or CSS selector, the following are the points I came across. Some points to CSS Generally CSS is easy to use and readable over XPATH. REF: http://www.seleniumhq.org/docs/appendix_locating_techniques.jsp#starting-to-use-css-instead-of-xpath CSS is native to browsers and XPATH is not REF: http://old.eurostarconferences.com/blog/2013/1/28/liveblogged!-automated-web-testing-traps-for-the-unwary-with-simon-stewart CSS is preferred for testing as… Continue reading Xpath vs CSS Selectors
NUC machines might be the next desktop killer
While it seems like to CPU processing power is coming to a limitation, Intel is focusing on small form factor machines.
Installing Unlimited Strength Jurisdiction Policy Files for your JRE
Today in work, I had to use AES encryption to basically encrypt and secret text and store it somewhere. This is with Ruby language so I ended up using ‘aes’ gem as it is build on top of OpenSSL and provides simple set of methods that can be used to encrypt and decrypt strings. Following… Continue reading Installing Unlimited Strength Jurisdiction Policy Files for your JRE
Setting up xdebug with phpstorm
This guide provide a step by step details on how to set up phpstorm IDE to work with xdebug. First download xdebug and copy it into the extension folder. Copy the full path the extension. Add the following xdebug settings to php.ini file. php.ini file [XDebug] zend_extension = “C:xamppphpextphp_xdebug-2.2.5-5.5-vc11.dll” xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000… Continue reading Setting up xdebug with phpstorm