
Search In
The find_all method has to do with arrays in Ruby.This method simply iterates through all the elements in an array and meanwhile test each of them against a test condition and finally returns an array containing all elements for which the test return
Abstract class are simply the base class. They can not be instantiated but can be subclassed and have protected, private method unlike the interface.
Abstract classes can be declared by simply using the keyword abstract.
abstract class GraphicObject
To get the current page url in laravel 4.x is as follow
$webpageURL=URL::to('/');
By using the above code it will automatically take the web page url.
Example:
Lets take a example of findnerd.
**http://findnerd.com/account#url=/postblog/94
For grouping together methods, classes, and constants, we make use of module.
Modules give you two major benefits:
1) prevents name clashes.
2) implement the mixin facility.
Syntax:
module Identifier
statement1
statement2
...........
e
Canvas can be used to draw graphs, shapes, images, and to make animations.
Here is the example below for making the game in canvas
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<titl
To connect to a remote MYSQL server using SQLYog you can create SSH tunnel using putty following the steps.
Connect to the remote server using putty.
.
Right Click on putty window and select the change settings option.
On settings screen
Using for each In place of Normal loops in java
for each can be used to display the all the elements of the array.
Syntax :
for(datatype variablename : array)
{
// Do the work with varialble
}
example
public class Main {
Hello,
Bellow is a animation showing shadow of a text moving relative to the movement of the light.
<!doctype>
<html>
<head>
<style>
@import url(http://fonts.googleapis.com/css?family=Anton);
html {
height: 100%;
}
body {
This article will help designers to extract images.
Now, Including iphone 6 Plus we need three assets 1x, 2x and 3x also called “scale factors.”
First thing icons should be vector-based. In this article we will focus on how to generate multiple
I am posting the steps below to add the custom field in default joomla 3.x registration form:
1.Navigate to joomla_root/components/com_users/models/forms/registration.xml and add a field there.
2.Then open up joomla_root/components/com_users/models/r
