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

AngularJS $apply

AngularJS $apply comes into play when it invokes digest cycle to watch the scope model changes. Angular wraps the function call within the $scope.$apply. It means it executes a complete new life cycle. If the execution of the function is normal, ...

PHP include and require Statements

The include() and require() function takes all the text in a specified file and copies it into the file that uses the these function respectively. include will only produce a warning (E_WARNING) and the script will continue require w...

How to create Circular Reveal Animation And Ripple Effect

  In the below example I have created Circular Reveal Animation like chat app(Whatsapp). First I have created activity_main.xml layout, here I have added FrameLayout, all layout and attributes like LinearLayout, ImageButton, TextView, Vie...

Forget password in cakephp

Hello Reader's!,If you want to add forgot password field in your login page and send the forgot password link through mail Then I wrote this blog for you. // first create a forgot password link in your login page and allow forgot password ...

LOGIN CONTROLS IN ASP.NET

Login controls are in-built controls which provides a user interface in ASP.NET for managing the verification of users for a website. The verification is done according to username and password. Following are the controls in login control:- ...

AngularJS $digest

Since AngularJS has a popular concept of two way data binding. But how does it comes to know that a value has changed? Here comes the role of $digest.    AngularJS executes in cycles which is called as $digest cycle. Suppose we ch...

How to insert values into database in php.

Inserting data to a database would be possible by using SQL statements, specifically the INSERT command. Data can be entered  into the database using insert query into the function, here is simple line of code that will create a database usi...

SQL wildcards

SQL wildcards are used within a table to search for data.  Usage of wildcard characters in SQL call for SQL LIKE operator, which enables to hold a comparison between a value and similar values. Following are the two types of wildcard oper...

Resize Image in CakePHP with Plugin

Hello Reader's!,If you want to Resize Image While Uploading in directory using cakephp ,then this blog going to help you to do this easily. You need to Download Qimage plugin for resize your image (Download file attached Below) after down...

How to create project in dijango-1.4

In dijango-1.4 to create project in under django framwork use the below commands step by step :- Step1- First you have to check your dijango framework in proparly worked or not.   Step2- Than Go to the django framwork location: ...

Android - document edge detection via camera

Hello guys, i am trying to develop one p.o.c with functionality like office lens, when i focus camera on document it should auto adjust(focus, mode) , detect document edge, draw border rectangle(real time) in Android . Have tried OpenCv but no...

how does foreach loop exactaly work in php

The foreach function in php will be used for a easy way to iterate over the loop and it is only used in array and objects or It will give you an error when you try to use it on a variable with different data type. Syntax: foreach(array_e...

Program to print missing elements that lie in range 0 99

The logic of the program is to use a boolean array named presentseen of size 100, the size is defined by macro LIMIT. The boolean array is used to keep track of array elements that lie in range 0 to 99, which is initially initializ...

How to install Djanog-1.4 with python in ubuntu

Use these step to install the django-1.4 in ubuntu Step1- First check the python-2.7 version by use this commond python -V   Step2- than use below link and install django-1.4 version https://pypi.python.org/pypi/Django/1.4 ...

Algorithm for converting infix expression to postfix expression form

An algorithm to convert infix expression into a postfix expression using “Stack”. The purpose of stack is to reverse the order of the operators in the expression as it is used to hold operators rather than numbers.   POST...

jquery methods: addClass toggleClass and Remove class

jQuery has Basically three methods for CSS manipulation Following methods is explained using below example:     1.addClass() - Adds one or more classes to the selected elements     2.removeClass() - Removes one o...

How to override create method

Create: - Create method use for creating new record with given values of the record. - Create method return created newly record with given values. Syntax: create(cr, uid, values, context=None) Ex: Here method override for versio...

Php sort function for arrays

In php we have predefine function for sorting the array according to the need of the user. Functions are defined below. sort() - It is used to sort arrays in ascending order rsort() - It is used to sort arrays in descending order ...

Session in php

Session is used in php to store information with the help of session variable. By creating session we can use that information across multiple pages. When we create an application we write the code, do some changes and then we close it our s...

Breakthrough

What is being "trapped"? You've heard people describe this frequently as how they feel when they are either stuck or when they have made an undesirable turn in their expert/professional and personal journey excursion. Are you exa...

Understanding Angular $watch

AngularJS has a concept of powerful data binding. It accomplishes this by keeping a watch on its scope variables. When we change the the variable on $scope object, the $scope object gets automatically changed and vice-versa. Most of the time angu...

Insert data into database from form in PHP

Below is a form which contain id field, name field, phone number filed, gender radio button and we are sending these data  by using post method. <form name="user_registration" method="post" > Name: <input type="text" name...

Different ways to create objects

Different ways to create object: We can create objects in java in four different ways.  Using new keyword Using Class.forName() Using clone() Using object deserialization Creating an object with the help of new keyword: ...

AppDelegate,UIApplicationDelegate,UIApplication Object,Singleton

UIApplicationDelegate-> UIApplicationDelegate is a protocol which consists some predefine methods. These methods are called by singleton UIApplication object. UIApplication Object-> UiApplication Object is the object of UIApplication...

Tips For Bug Analysis

Hello Readers.. By this blog i am trying to explain the few important tips for the bug analysis. Before creating any new bug we have to analysis in well manner. Here i am mentioning few points and i hope these points will very helpful for all ...

Difference between include(), require() and require_once()

The include() function The include() function is used to include the whole text of a specific file to another file where we want to include that file. While including the file if there will be any error in loading the file, it will only produc...

Animations in AngularJS using CSS

Animations are the effects that makes the visualization attractive and illusionary moving. In AngularJS we can use animations with the following directives :- Directive Animation Type ngRepeat enter, leave and m...

SQLite3 with Unity5 : Connectivity

First you have to add an extension (named.. SQLite Manager) in the Mozilla Firefox browser. (It is simply for managing database in some cases). Then you need three .dll files (known as ASSEMBLIES)..., (these files are simply PLUGINS for SQLite...

How to create Bounce Text animation function in android

In the below example I have created a Bounce Text animation function. Here I have added Button and TextView in activity_main.xml layout then I have created new directory (anim). In anim directory I have created bounce.xml layout and in MainActivi...

Different AppStates in iOS

        THESE ARE THE APPSTATES IN IOS   AppState tell that whether the app is running in foreground or background or when the state changes.. In early versions of iOS three states were supported : n...

How to add RecyclerView in dialog box

In the below layout example, I have created a dialog box with RecyclerView. Here I have added first RecyclerView dependency to Grandle file. Now in next step I have Created a Main RelativeLayout. All layout added in Main RelativeLayout then creat...

AppDelegate

AppDelegate-> AppDelegate is a class which inherit  from UIAppDelegate and contains basics launching methods of any applications . It contains many methods but five basic methods are given below. - (BOOL)application:(UIApplication *...

How to move to next image through swipe in android

For changing the image on swipe can be done by implementing the ViewPager in your android app. For implementation of ViewPager we need to follow the steps mentioned below:- 1) Create ViewPager tag in your xml file . activity_main.xml ...

AngularJS $timeout and $interval

$timeout and $interval are two AngularJS timer services. We use these services to call functions and these are similar to javascript’s setTimeout and setInterval functions. $timeout- This is used to call a function and schedules a single c...

Android app development for Beginners 1

In this tutorial following points are covered: 1. Getting started with Android application development 2. Installing Java JDK 3. Installing Android studio 4. Creating android studio project

Leadership to be Boost Up.

A President is a leader of a nation. A Father is a leader of a family. You are a leader of yourself. It is truly genuine that you are the leader. Need proof? All things considered, who controls your hands? Who controls your feet? Who controls you...

replaceAll() to replace square brackets in a String

To replace any character from a String, we generally use replaceAll() method of String. Below is the example String Str = new String("Hello + world +"); System.out.print("Output Value :" ); System.out.println(Str.replaceAl...

Looking for Software Developer for Mumbai

Position: Software Developer   Roles and Responsibilities:   Requirement gathering, design, development, testing of web applications using ASP .net Maintain existing websites by identifying and correcting software defe...

BroadcastReceiver in Android Tutorial

What is a BroadcastReceiver: Application component Its usage: Notify the receiver for an event How we can register broadcast: Static & dynamic Lifecycle of a BroadcastReceiver Key points while implementi...

Benefits of Being a Visionary

Being a visionary in whatever you do whether as a CEO, a chief, a group leader, a manager, an entrepreneur, a representative, an expert specialist, a specialist, a dental practitioner, a designer, a legal counselor, a group volunteer, a mentor, a...

Marker interface in java - Serialization

Marker Interface in java: Marker Interface is an interface in which there are no members. i.e we don't define any methods or data members inside the marker interface. It is also called tag interface. A very obvious question comes in m...

java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JavaType.isReferenceType()Z

I was integrating solr with java using maven dependencies  <dependency> <groupId>org.apache.solr</groupId> <artifactId>solr-solrj</artifactId> <version>5.5.0</version> ...

Get the list of All Available Font in ios

To get the list of all the font that is available in xCode you can use this code. for (NSString *name in fontnamesArray) { NSLog(@"Font Family: %@",name); NSArray *fontFaces = [UIFont fontNamesForFamilyName:name]; ...

How to create Toolbar text animation in android

In the below example I have created Toolbar text animation function. Here In activity_main.xml layout first I have created Toolbar and added a TextView, then In MainActivity I have used ObjectAnimator class. You can see below program it will clea...

Program to count how many integers from 1 to N contains 0's as a digit

#include<bits/stdc++.h> using namespace std; int main() { int n,remainder,cnt=0,i,temp1; scanf("%d",&n); for(i=1;i<=n;i++) { temp1=i; while(temp1) { remainder=temp1%10; ...

Executive Leadership Development-Organizational Success

Executive leadership development is the need of great importance. Leadership advancement programs adjusted to your authoritative goals offer you some assistance with staying at the highest point of your business development activities. These prog...

Copy Text from android application

I am writing code to copy specific content on any event. Android provides clipboard-based framework to do this task. Clipboard is represented by ClipboardManager class. To instantiate it, we need to call getSystemService(CLIPBOARD_SERVICE) T...

Iterate json data in angularJS

While working for an autocomplete funtionality in angularJS encountered a problem where instead of the JSON we need to iterate each element and have to make an Array of string. For iterating the JSON data(from server side), we used: $scop...

Hide an Element - display:none or visibility:hidden?

display:none: An element can be hidden by setting the display property to none. This property hides element in such a way that when the page will be displayed it is displayed as if the element is not there. The layout is as there w...

How to design Business details layout in android

 In the below example I have created Business details screen layout. Here, first I have created LinearLayout and added all layouts in this Main(Parent) LinearLayout, After this I have added ScrollView for page scrolling. I have also used Tex...
1 136 292
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: