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

How to create Frame animation in android

 In the below example code. I have created Frame animation in android. Here I have created a Textview in activity_main.xml layout. After then I have created a new framanim.xml layout in drawable folder, In framanim.xml layout I have added fo...

Few Qualities Of A Good Software Tester

Hello readers… As we all know that nowadays each organization is utilizing different- different technologies. All companies has their individual needs or requirements for the software which they are using. When these companies developed...

What is REST?

REST stands for "Representational State Transfer". REST is the architectural pattern of the world wide web. In order to focus on the roles of components, REST ignores the details of component implementation and protocol syntax. The co...

delegate and undelegate method in jquerry

delegate() method attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. The undelegate() method is a way of removing event handlers that have been bound us...

Login Form and Authentication Application with Server Side Validation in cakephp

A Login Form that uses cakephp auth component to login and logout and access is denied if user is not authorized. step 1:  users database table. First create users table in your database: CREATE TABLE users ( `id` INT UNSIGNE...

Centering element Vertically and Horizontally using Flexbox

Now this is the issue that we were facing form a long time. To align an element center horizontally we have been using margin: 0 auto and to align an element center vertically is even more difficult. But with the use of flexbox it is very easy. ...

How to Upload Image in cake php

Image uploading in cake php is a common task for building application and making it more interesting by using many images to the screen, so here is some line of code used for uploading an image and resize it according to user's need...

Search in cakephp

We can put a search box in our project by using the cakephp component. It is very useful and can provide highly functionality across the controller. All you need to do is include component in your controller and call component function to f...

Attributes That Increases The Link-Ability Of Your Website

Four Minor Attributes That Will Increases The Link-Ability Of Your Webpage:- Enhancing your site for web search tools and building links has changed radically in recent times. In the past, search engine bots were your hotspot for connections...

What is Swagger?

  Swagger an open-source specification and a framework for describing, producing, consuming, and visualizing RESTful web services. Swagger was developed for Wordnik for their developer use in development. Swagger framework simultaneo...

Adding 'Forgotten Password' and 'Reset' To CakePHP

When you Login to a page, Sometimes you forget your password  and want to reset your password. For this you have to follow followings steps to create forget password and reset to your form.  Step 1 : Create a simple login form in log...

How to edit user information in cakephp

For editing user information in cake php by clicking on edit button we have to first pass user id in URL by using below code in our view. <?php echo $this->Html->link('Edit',array('action'=>'edit/'.$user['User']['id'])); ...

cakePHP remember me login using Auth

If you select the tick in the ‘remember me’ box when you login in any web page with your Username and password, your login credentials will be saved in a cookie on this computer. This means that whenever the next time you log on to th...

How to shuffle an array

Hi all, Shuffling an array means randomly re-arranging the content of an array .Shuffling algorithm can be used in many places now days like in card games, music player , media player etc. Shuffling of an array can be done in two ways. ...

How to add a new column to existing database table in Magento

Sometimes we are required to add a custom field in our database table for our extension in magento. For this purpose we will perform it with the installer. But before moving we must have concept of creating a new module in magento, considering th...

Magento: Fieldsets in Config File

In this blog, i will explain how to convert quote object to order object using Fieldsets tag in XML config file. <fieldsets> tag is only found in config.xml files. This tag is used to define attributes (fields) that will be copied from one...

PHP - A brief Overview - Part -1

This posts will provide you a brief overview of PHP which is the most popular web development language. It is targeted to the audience having basic knowledge of programming. The readers searching for more in-depth knowledge will be disappointed. ...

How to make CustomDialog Fragment in android

In the below example code I have created a CustomDialog Fragment. Here, first I have created custom_dialog.xml layout , On this xml layout I have added EditText and  Button. In next step, in activity_main.xml layout I have added a Button and...

Ruby: Dynamic method call using send method

Ruby: Dynamic method call using send method Hi friends, As everybody says rails is a dynamic language. They says this because of its functionalities that makes it dynamic. One of the feature of rails is it's send method. It is an instan...

Solution of exception: This row already belongs to another table

When you try to read row from one table and add to another table, if you get the exception i.e. ""This row already belongs to another table". For example: foreach (DataRow drWrite in dtRead.Rows) { dtWrite.Rows.Add(drWri...

Ruby: Metaprogramming: Method that makes methods

Ruby: Meta Programming: Method that makes Methods Hi friends, The normal way of defining method is to give the method name after def and write code between def .... end, and it is pretty fine for most of the cases, but sometimes suppose we ...

Management Tips for Great Leaders

Management is an art to deal people. Managers must be  good listeners, motivator, friend who deal with ease and trust with his/her sub-ordinates. Managers must be a good team player who should always boost team spirit. Various managers ...

Implementing Pagination in CakePHP

Pagination: It is used to limit the number of records to be displayed in a page. In cakephp we can easily implement pagination. We can use pagination by putting the following code in controller: public $paginate = [ 'li...

How to install SSH server on Ubuntu 14.04?

Install SSH Server on Ubuntu 14.04 In order to install SSH server on Ubuntu, you need to install OpenSSH server package. Use the following command to setup SSH server: sudo apt-get install openssh-server Configure SSH Server After i...

How to set up SSH with Public Key authentication on Ubuntu?

How to Setup SSH with Public Key Authentication on Ubuntu 14.04 This blog will let you know how to set up an SSH server with public-key authorization  SSH is a great tool to control Linux-based computers remotely. Installing SSH On The...

How to add a Refresh Control on a tableView

Hi Readers,   To refresh the table whenever you pull down the table, we need to use Refresh Control. To add a UIRefreshControl on a TableView you just have to add a below code in your viewController.   UIRefreshControl ...

Create your own Ruby Gem

Hi friends, The popularity of Ruby on Rails now a days is so much because of its rapid development, which is possible because of its gems. For every generic functionality there is a gem available, so why not create our own gem. Today I am going ...

How to make a simple timer in angularjs

Hi all, We are going to implement count-up timer. In Count up timer, timer starts from 00:00:00 to time you defined. It is used to show duration for example video duration , call duration , etc In Html file , Just add binding variable in yo...

Rails Environment Configuration Variables

While developing Rails application we need to keep our project specific sensitive information secure. For example api keys for third parties like stripe, paypal or passwords or configuration data such as the URL. We can set these as environment...

LinkedList class

LinkedList class: It provides a linked-list data structure. It uses doubly linked-list to store elements. It extends the AbstractList class and implements List  interface. We can use LinkedList class by importing java.util package. Exa...

How to setup Virtual Domain Name on apache2 Ubantu

Step 1 :- Create new project like /var/www/html/staging/blog Step 2:- create index.php  Step 3:- Write <?php echo “Hello World”; ?> inside index.php Step 4:- Check If you can access project via http://localhost/staging/b...

Tic-Tac-Toe

Hi all, Tic-Tac-Toe is simple game in which you will try to mark your sign in three blocks to make a row , column or diagonal.   RULES FOR TIC-TAC-TOE 1. The game is played on a grid that's 3 squares by 3 squares. 2. You a...

Block, Proc and Lambda

Blocks, Procs, and Lambdas Hi friends, Today I am going to explain one of the most confusing part in Ruby, that is Block, Procs and Lambdas. It always troubles you during interviews or any other places wherever you deal with Ruby. But actua...

Integrating payment gateway in Rails - Part 1

Payment gateways are used in websites for online shopping and money transactions. It safely handles customer payments. Payment gateway can easily be integrated in Rails application. Few applications for payment gateway integration in Rails are Sr...

Display Child Content by clicking parent Element in multiple listing

Hello Friends, Today I have created a simple example of child element show and hide function in jQuery. Many times I found that we are facing an issue of showing child element of each list by clicking list parent element. Here in jQuery code,...

How to add multiple images with animation in UIImageview in iOS

If you want to display the multiple images with animation in UIImageview then use the following code: Here you can also set the repeat count of the images. UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.boun...

How to create fragment In android

In the below example I have created a simple fragment app code. Here, first I have created two new fragment xml layouts and neamed them fragmentone and fragmenttwo then in this I have added TextView and backgraund image. Now In activity_main.xml ...

How to create set wallpaper app in android

In the below example I have created set wallpaper app. Here I have added two button and ImageView in activity_main.xml layout. In MainActivity I have used setOnClickListener method , displayWallpaper() and Toast function, and I have also used Bit...

How to convert from NSSTRING TO NSDATE ?

// date from string NSString *dateString = [NSString stringWithFormat:@"%@",_model.time]; // model.time is the field in which we are fetching the string. NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFo...

How to search two or more words in php using explode and implode function ?

How to search words in php using explode and implode function?: I am posting this blog as many php coders got stuck while searching multiple terms using implode and explode. I have the form in which users are going to search multiple terms. ...

How to create sudo user on CentOS ?

This blog will let you know how to create sudo users on CentOS. Steps to create new sudo user Step One: Login to your server as root user $ ssh root@server_ip_address Step Two: Use the adduser command to add new user to your system ...

How to Install Grails on Ubuntu?

About Grails: Grails is open source web framework based on Groovy programming language which runs on Java platform.   Steps to install Grail:   Step One: Install JDK   sudo apt-get install openjdk-6-jdk &n...

How Offering Sales Can Benefit Your Internet Business

How Offering Sales Can Benefit Your Internet Business:- There's an incredible technique online that can give you a sudden surge of requests immediately. Do you know what this method is? Well… I'm discussing the force of of...

Android support Library 23.2 features

Here are some features of Android Support library 23.2   1. Support vector drawable (support-vector-drawable). Help to replace multiple bitmap images to single vector graphic xml file.  While vector drawable only support in lol...

Best practices to create match rules in MDM

Hello The intention of this blog is to provide directions for tuning match rules in Informatica MDM. Steps for Match Rules Setup and Tuning   Data Audit Data analysis can be performed only for the use of the match process or a...

How to create Triangular imageview in objective C

Here is the code for creating the triangular uiimageview - UIBezierPath *bzrPath = [UIBezierPath new]; [bzrPath moveToPoint:(CGPoint){0, self.imgView.frame.size.height}]; [bzrPath addLineToPoint:(CGPoint){80, 0}]; [bzrPath...

Converting a given string to SHA1 hash using c#

SHA1(Secure Hash Algorithm 1) is an encryption type which is useful while saving password and other information which we want to keep secured. Here is the sample code of converting a string to SHA1 hash. public static string GetSha1(strin...

Reset Password without taking old password as parameter in Asp.Net Identity

Reset password is a part of forgot password functionality in ASP.Net identity. When a user forgets his/her password and want to change his password without using old password, then we use reset password functionality. In Asp.Net identity, we h...

Change Password using ASP.Net Identity

Change password is a common functionality which is used in almost every app that takes user credentials to login. In ASP.Net Identity, we have the inbuilt method to change the password of currently logged in user. Here is the sample code fo...

Fetch the poi from google in ios

To fetch the poi from google we can use the GOOGLE API to get the list of POI near user location. 1- For creating the Key you can get the refrence from Link : https://developers.google.com/maps/documentation/ios-sdk/get-api-key#overview ...
1 104 269
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: