Author Archives: Roopendra - Page 9
Install Elasticsearch using Repositories
Install Elasticsearch using Repositories You can easily install Elasticsearch using APT and YUM repository - Install Elasticsearch Using APT repository - Install Elasticsearch Using Yum repository Install Elasticsearch on Debian:…
Run Jenkins Build From Command Line
Run Jenkins build from command is very simple in Linux system. Jenkins has support to command line client that allows you to access Jenkins from command line. To Trigger Jenkins…
Ansible Playbook validations
Ansible Playbook validations : While writing ansible playbook sometime we need to validate extra vars parameter or tasks. So that we can run ansible playbook without any fatal error or…
Installing WAMP Server in Windows 7 & 8
This article is going to step by step set-up and Configure WAMP Server in Windows 7 & 8 machine. Perquisites:- FOR WAMP 32bit :- Microsoft Visual C++ 2010 SP1…
How to Extract file extension in PHP
How to Extract a file extension in PHP In programming practices we usually use different code to achieve something. But we always find what is the best way to do…
$this vs self in PHP
$this refers to the current object of the class and self refers to the current class itself.$this can not be used inside static function whereas self can be used inside…
Minimum Match in Elasticsearch Query DSL
Terms query in Elasticsearch allows us to search multiple terms in content. If you want to implement restriction whether one term, two terms or all terms should match, then you…
Merge array recursively in PHP
If you want merge array recursively in php then you can use array_merge_recursive function. It will merge all the array elements having same string keys and it returns the resulting…
Comma as a concatenation operator in PHP
In php we can output strings in different ways as we can use echo or print to display output text. Difference between echo and print: echo and print are not…
New features in PHP 5.6
Here is list of New features in PHP 1) Variadic functions via ...2) Argument unpacking via ...3) Changes in File uploads4) Importing namespace functions5) Exponentiation Operator in PHP (**) 1)…