Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Help needed to read command line arguments in Nodejs

Hi, I am trying to accept input from the command line in Nodejs using process.argv in the code snippet, but currently getting an error when I run the following command on the terminal - node index.js "1 18" Error that I get - TypeErr

Prevent SQL Injection Attack

SQL injection is a technique that exploits a security vulnerability within the database layer of an application.Using this technique the attacker tries to run his own malicious query against the database.The key component of these malicious queries i

Exceptions in CakePHP

CakePHP uses the exceptions internally to show the logical cake PHP errors. All of the exceptions that occur in CakePHP raises a CakeException. CakePHP is also having the number of exception classes that we can use for HTTP errors. For congiguring

Error Handling in Swift 2

SWIFT Swift is a very powerful and simple programming language which is used for creating the iOS applications.Swift is a language which is designed to work with Apple's Cococa and Objective-C. The advantage of this language is that it is one the m

How to use key() finction in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss about key() function in php. The key() function returns the index element of the current array position. Or we can say that returns the element key from the current internal pointer

How to Calculate Defect Leakage?

Before calculating the defect leakage we have to understand that what defect leakage means. What is Defect Leakage? After the delivery of application or product or we can say after the release, if end user or Customer find any defect by using that

How to Use Retrofit in Kotlin Android App Development - 4 Easy Steps

Retrofit is a library which is very easy to use an apply. It helps to convert the HTTP API into a Kotlin interface. Though many of us must have used retrofit in Android but now as Google has announced Kotlin as an official language for Android App De

What is Software Testing?

What is Software Testing? Software testing can be considered as health checkup of any developed application or software. This can be achieved by investigating the application by executing it under some predefined conditions and/or by inspecting the

How to filter hasMany related model records in cakePHP when using find function?

Lets say we have models User and Friend related by User hasMany Friend relation. If we are required to pull out all users along with their female friends then how do we do that? Usually people think like this : $this->User->find('all', array

Calling Stored Procedure from Java Code

Let say you have requirement to call stored procedure from your Java code. You can use following sample code for your reference. Change the connection source as per your requirement and call the method. package com.app.util; import java.sql.*; pub

1 13 160
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: