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

Search In

find_all method in ruby.

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

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

How to get current web page url in Laravel 4.x

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

modules in Ruby

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

HTML5 Canvas Game

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

Using Putty and SSH Tunnel to connect to MySQL on remote server from SQLYog

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

How to use for each in java

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 {

Aimated Text shadow by CSS 3

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 {

How to generate image assets for iphone app

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

How to add the custom field in default joomla 3.x registration form

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

1 17 217
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: