
Search In
It is a series of Whole number where we have to find sum of the two preceding numbers. It Begins with 0 and 1, the sequence goes like this 0,1,1, 2, 3, 5, 8, 13, 21, 34, etc. using the formula n = n(-1) + n(-2), where the n(-1) is the the last
Ruby Methods are similar to functions which begins with lowercase letters. It bundles one or more repeatable statements into single units.Methods are always defined before calling them.
Syntax:
def method_name [( [arg [= default]]...[, * arg [, &
Joomla is a Content Management System which is free and open source to design websites easily. To add extra features in Joomla which are not available we need to extend it using extensions. Extensions role is to add some extra functionality to the Jo
Below is the Mysql Function To Rounding number to nearest 1,10,100,1000
DELIMITER $$
DROP FUNCTION IF EXISTS `rounding_to_nearest`$$
CREATE FUNCTION `rounding_to_nearest`(num decimal(15,2),round_to int,neare
If we are using Devise gem with our Rails project, One of the common tasks that a developer wants to do is to show a custom page when a user signed in .
So here our intention is to modify the default Devise's behaviour when a user signed in .
L
Many times we face a situation where we have to assert the content of two tables in a web-page. The best solution of this problem is that we first put the content of both the tables in an array and then compare the content of these two arrays.
 
Hello reader's in this blog we will discuss about creating a new element and appending to the end of the page. Some time you need to add a new element to the end of the page. We use the appendChild method to append the new element inside the page
In rails, sometimes we don't notice it but there is difference when you use puts to print an object and when you use just p to print an object. One thing let me clear for you, p is not a short form of puts, they both are different. 
Method Overloading
Method overloading can be achieved by declaring two methods with the same name and different signatures. These different signatures can be either
1.Arguments with different data types, eg: method(int a, int b) vs method(St
Insertion in Linklist:- The Insertion of Element in Singly linklist at different places like: insertion at beginning, last and middle in the linklist. In below code I will show you how to insert the element in linklist at beginning, middle and last.
