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

Search In

What is setImmediate in nodejs

Today I am going to write a short note on setImmediate, hope you will understand how setImmediate works in nodejs.     setImmediate Once the current poll phase is completed, setImmediate will execute. After all the tasks has completed

How to do Array Sort

Use the Array object’s sort method: var fruitArray = ['strawberry','apple','orange','banana','lime']; alert(fruitArray.sort()); // returns apple,banana,lime,orange,strawberry The Array object’s sort method sorts the array elements alphabetically. T

How to set a default attribute value for a Laravel / Eloquent model?

Laravel 4.x provide n number of services to solve basic issues. By using Laravel 4.x we will easily set a default attribute for a Laravel/Eloquent model. To achieve this we have to define value like below example: Example: protected $defaults = ar

ELT function mysql

ELT(N,str1,str2,str3,...) The MySQL ELT function is used for get the Nth element of all listed arguments in the function. The first argument is used for which number of element you want to get. In the argument list the if N = 1 then return str1 and

How to manage Inventory settings in Magento

The product inventory settings can be added in two ways, 1.1) system settings for all the products 1.2) and individually, i.e. you can edit the settings for each product. To access and configure system settings, log into the admin panel, navigate g

How to get next Date excluding weekends with start date and the number of working days using SQL ?

Hi All, While working with SQL, I came across the requirement to get the business days only. I had the number of working days and the starting date. Now the requirement was to get the next date by excluding all the Saturday Sunday and only to count t

How to set random numbers from an array as title of UIButton in iOS?

  Hi Reader’s,   This blog includes the concept of how to set random numbers from an array as title of different UIButton taken in story board. Random numbers are much needed if you are making a number based gaming application wher

DNN – Could not load file or assembly or one of its dependencies

Try the below mentioned points to make it work properly Delete all files in "Temporary ASP.NET Files" Folder, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files". Version number(v4.0.30319) will be change, based on the installed

Constraint Error While Creating Customer Invoice

When we are creating a new Customer invoice, than on validating(Clik on validate button) the invoice, we got a " 'Constraint Error': Invoice Number Should be unique " To resolve this error Simply go to settings >> Configurations >> squ

How does KeepAlive setting in Apache 2.4 help

Keep-Alive is a Directive in Apache that is used to maintain a persistent connection between client and server, which prevents a connection from breaking. It is also known as HTTP keep-alive, When we put KeepAlive Directive "on" it the allows same TC

prev 1 3 109
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: