Node has a concept of event-driven programming, in which code is written to react rather than be called. Node has an inbuilt event module about which you learn in-depth from here, we will use event listener and event emitter method…
Js Filter And Sort
Filter – High order function used to filter any array with the help of the callback function it uses same argument as map only difference is the return type is either true or false. It return type is true value…
Upload File/Image to the server using Volley in Android.
Upload file/image to the server using volley in Android is a very frequently used thing. In most of the apps, we need user avatar, i.e. user profile image. In this article, we are going to see an example to Android…
What are Laravel View Composer?
Sometimes we need to pass similar type of data to different view files or partials and later changing them is a pain point as you have to change every single one of them, hence to fix this issue view composers…
JSON Parsing In Android
JSON (Javascript Object Notation) is very light-weight, structured, easy to parse and much human-readable. JSON is the best alternative to XML when your android app needs to interchange data with your server. The JSON format was originally specified and developed…
What is Short-Circuit Evaluation in JS?
Logical operators (&&, ||, &, |) are used to reduce the complexity which can be used concisely. ANDoperator (&&) returns first false for false value and last true for true values. But, OR operator (||) returns first true for truely…
How to Require Function Parameter in JS?
In es6 default parameter were added which is a welcome change, but what if you want to throw error if a parameter was not provided. Well you can do it by calling a closure in default parameter which can throw…
How to get CLI Input in PHP?
Php Uses I/O Stream To Get input. So to get a input from user in cli. You can run the php file by opening your CMD in a Windows machine or Terminal in Linux based machine And Getting to the…
How to Install LAMP stack in linux?
LAMP stack consist of four layers: Linux – which you clearly have. Apache– Its a Free & open source web server software. MySql – It is a relational Database system. Php – Most commonly used Server side language To install…
What Are Linux distros?
Linux an open-source Unix inspired Operating system. It is typically packaged in Linux Distribution. Disto is IT vernacular of Distribution There are several Distros available with having a huge community support Some of which are Debian After being release in…