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

Search In

Example of non blocking programming in node

Here we will see how the non blocking programming works and how the control goes from one program to another without sequence. Example for Non-Blocking: Let us create a text file file_2.txt. Now write some content in the file_2.txt Let us write th

How to improve Asp.Net web application performance ?

Many times, the web application goes slow down, after go live on a production server. There may be two reasons - hardware issues where you deployed the application or the CPU and memory usage are high due to not using resources efficiently inside you

How "this" keyword works in Javascript

The code example of this keyword in Javascript var fullname = 'David'; var obj = { fullname: 'john mars', prop: { fullname: 'Brett', getFullname: function() { return this.fullname; }

How to enable CakePHP's SQL dump in the controller

Hello All, In this blog we will discuss about how to enable the SQL dump in your CakePhp's controller. For this you have to write in below code in your controller function- $db=ConnectionManager::getDataSource('default'); $db->showLog();

How to select images from database and show on page

Hello Reader's! If you have stored the image in database as blob. Then you need a php code to retrieve them and a html page to show them. Lets see an example below how to show them First create a php page getImage.php and code as written below:- &l

How to read a file in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to to read a file in php ? If you want to read a file in php the you should use readfile() function. This function reads a file and writes it to the output buffer. It is very s

How to auto load model in codelgniter

Hello Friends, If you are looking to auto load any model function or many models functions like I want to user model will be auto load in my project. Please review the below code for the same and make the changes accordingly. Please open "code

How to set OR condition in Cakephp ?

Cakephp 2.*: OR condition I am writing this blog which will let you know how to set OR condition in Cakephp 2.*: Write following lines of code to use OR condition: 'User' => array ( 'conditions' => array ( 'OR' => array(

How to validate email address in HTML5?

HTML5 allows you to validate an HTML form field using a regular expression. The below HTML code validate an email address against a regex. <input type="email" name="email" required pattern="[^@]+@[^@]+.[a-zA-Z]{2,6}" />   Test case: s

How to get Current month name,date and year in android

In the below example code I have described, how to get Current month name , date and year from Calendar to do this I have used getInstance() method.   protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstan

1 27 408
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: