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

Search In

Difference between Angular.service and Angular.factory

.thisN b{font-size:14px;} .thisN h4{padding: 8px 0 ;margin: 0;font-size:16px;} .snippet-wrap pre.sh_sourceCode , .thisN pre{margin: 0 0 0 5px;display:inline-block;font-style:normal;padding: 0 5px;border-radius:0;} Services Syntax:

Use of all_of function in C++

all_of function is used to test condition on all the elements in a range[first,last), it will return true if the test condition is true for each and every element in the range or if the range is empty, else it will return false. Function Prototype

How to send and email without SMTP using PHP

Hello Reader's! If you are new to php and need to send emails then PHP offers you many ways. But you can use the PHP code below, It's simple and does not use yourSMTP. Create a PHP page sentemail.php <?php if(isset($_POST['submit'])){

Best way to send array with URL using PHP

Hello Reader's! If you want to send an array as a Param with the url then you can use the serialize and deserialize option from PHP Lets see the example below:- <?php $array["a"] = "Thusitha"; $array["b"] = "Sumanadasa"; $array["c"] = "Lakmal"; $

Some functions that are removed in PHP7

Here we will see some of the functions listed below that are removed in PHP7. 1- ASP-style tags ( <%, <%= and %> ), is removed. 2- Script tags "<"script language='php' ">" Note: always use "<"?php ?">". 3-Split function that

Memset in C

Memset is used to fill first n bytes in the block of memory pointed by a pointer to a specific character interpreted as an unsigned char. Memset is defined under string.h header. Function Prototype void * memset ( void * ptr, int value, size_t num

TypeDef in C

In C programming you can use the keyword typedef to define a reserve word once again according to you .     The C programming language provides a keyword called typedef, which is used to give a type, a new name.   typedef unsig

How to Solve Array Problem in Java?

Monk was surprised to see a new game called, "Conversion Game". In this game, two arrays of N integers A1,A2...AN and B1,B2...BN are playing against each other and Array A wants to convert itself in Array&

MongoDB Query Optimization using explain

The MongoDB query optimizer processes chooses the most efficient query plan form the available indexes. Then mongoDB query system use this index to execute and return the result. You can use the db.collection.explain() or the cursor.explain() method

Save and retreive text from text file

Hi all, If you want to save anything in text file or any kind of file than you can follow this code. This code will save text to textfile in your application directory.You can retrieve text from save file later on . NSError *error; NSString *string

1 19 156
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: