
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
What is hook in Codeigniter and how to use this
Hello Friends,
Some time we need some functionality before execution of our controller function or after execution of controller. For example you need to check a user is login or not before execution of any controller. Codeigniter hook is a ve...
How to get full date with time in Java?
To get the full date with time you can use the below code. You can pass any date that you wan to change, I'm getting date in full date format in the below example:
/**
* Get full month day year format from Da...
String Comparison using equals() and equalsIgnoreCase():
equals() and equalsIgnoreCase():
Both are used to compare two strings for equality and both methods are of String class.
equals() general form:
boolean equals(Object str)
It returns true if the invoking string and the string passed ...
How to given presence of the current user in OpenERP
In OpenERP first we create users and then validate to the trigger. Users register then status will not be sent if not necessary. In usres form type is user_presence.
Use this function show in given below
def updates(self, user_presence=T...
Edit most recent Commit Message
Hi,
Committing is a way in GIT, that adds changes to the repository history and assigns a understandable commit name to it. If by mistake one added a wrong commit message and want to edit it, he can use the below command:
git commit --ame...
How to notifychannel API and logging module instead in OpenERP
In OpenERP notifyChannel API shouldn't be used anymore because API is used to connect to other framework. OpenERP provide the logging module instead and it is used for any one in OpenERP server.
Use this funtion given below
def notify...
How to handle a rpc call in OpenERP
In OpenERP rpc help to change the post, like user want to excute two server in same systems then use rpc and change port number of other server. Basically rpc is used to run server in local systems.
Use this function given below
def rpc(s...
How to design chat app in android
In the below example I have created a simple chat app . Here first I have added ListView , TextView , EditText and Button in activity_main.xml layout. After then I have created two new layout left.xml and right.xml , In both layout I have a...
How to identify whehter the zip file contains valid files or not?
Sometimes we need to find whehter the zip file contains valid files or not. Suppose you have a zip file which contains multiple file you want to upload that zip file only if it contains files having extension jpeg,jpg,png,gif,tiff only, so we can...
ViewData in Asp.Net Mvc application
ViewData in Asp.Net Mvc application
ViewData is one of the property of ControllerBase class.
It is described as dictionary object whichis derived from ViewDataDictionary class.Thse syntax of it is as follows:-
public ViewDataDictio...
Difference between ereg_replace() and eregi_replace() function
ereg_replace()
ereg_replace() function is used to replace regular expression case sensitive.
Syntax of ereg_replace() is:
string ereg_replace ( string $pattern , string $replacemen...
Implementing Slider with Angular UI Bootstrap
To create slider with angular UI, carousel is used as it is same as bootstrap's image carousel. But It also supports swiping in the touch devices. ngTouch is used to enable the swiping in the touch devices. We have to load ngTouch module as a...
How to push values in array in jQuery?
Sometimes we need to insert valuse in an array, we can do this by using push() method of jQuery very easily.
Example
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-...
How to integrate progress bar with Angular UI Bootstrap
How to integrate progress bar with Angular UI:
To use progress bar in angular, you need to include the following code in your controller:
Syntax:
<uib-progressbar value="" max=></uib-progressbar>
It has attributes like m...
What Is Grey Box Testing ?
What Is Grey Box Testing ?
‘Grey Box’ testing is a testing approach which is executed with the restricted information or intelligence around the inner utility of the application or software.
The testers who perform this testing ...
How to lookup address & city location on live search using google
Hello Reader's!Sometime you want to use the auto complete as a text suggestion on your search field. Here I am going to explain how you can search city with suggestion.
It's a very simple to use in any application.
First you need to u...
login form in cakephp
Its really easy to create a login form by using cake php, for creating a form a user have to mention its type,action or url for pointing the form to the login() action to the controller, user would supply array like this. And for further fields t...
How to change the Magento Admin URL / Path
How to change the Magento Admin URL / Path: By default url to the magento admin panel is www.yoursite.com/admin but If you want to change Magento admin login path, then you have to change the front name in local.xml file (app/etc/local.xml).
...
How to use the jQuery validate() to validate the reset password form.
This tutorial will help to setup front-end form validation for reset password form using jQuery validate() in a short time. This tutorial carries very basic and clear instructions to help anyone in implementing some validation on their reset pass...
The Initializer Block in Java.
The Initializer Block in Java
The initializer block in Java contains code which is executed whenever an instance of class is created therefore this block contains common part for various constructor of a class. The order in which constructor a...
Cakephp: How to retrieve video url from Google App Engine
About Google App Engne
Google App Engine applications are used to create data storage. We do not require to maintain servers with App Engine. We just need to upload applications and can access the site from the web.
How to Upload Video? Wri...
Difference between int main() and int main(void) in C.
Consider definition of int main():
int main()
{
return 0;
}
Consider definition of int main(void):
int main(void)
{
return 0;
}
The above two definition work perfectly fine in C but the difference between two...
How to make multilanguage website in Codeigniter
Hello Reader's if you are looking to desing the multilaunge website then codeigniter offers you to do this with very easy steps. First learn what is multilanguage website.
A multilanguage website is which can run in any langauge ...
How to make dynamic session routing in PHP
Hello Reader's, if you are making the website in which you want to redirect the user on the same page after the user login. Then you can learn it from this blog.
For example if a user hit 'my profile' without making the l...
How to make Parent Child tree in PHP
Hello Reader's if your making the parent child relationship then this blog is very helpful to you. Here we are making parent child tree by using the Iteration functions. The output of this will a tree which showing the childs on branches and ...
How get only selected keys of an array using PHP
Hello Reader's, If you having a multidimensional array from which you only want a single key values column then this blog is helpful to you.
Let consider a array with full of key values:-
$exArray=array(
array(...
memcpy() in C
memcpy()
This method as the name suggest memcpy() i.e memory copy is used to copy a number of bytes i.e a block of memory from one location to another location.
Syntax of memcpy():
void * memcpy(void *to, const void *from, size_t numBy...
How to check whether a number is in range[low,high] using one comparison?
#include <iostream>
using namespace std;
// Returns true if x is in range [low..high], else false
bool inRange(int low, int high, int x)
{
return ((x-high)*(x-low) <= 0);
}
int main()
{
inRange(10, 100, 25)? cout &...
How to create Multilingual website in PHP
Hello all!,Nowadays everyone wants that their website visited by every users in every countries and this can be possible with make your website multilingual, so in this blog I am going to describe you how to make your website multilingual.
Fir...
How to Create stylish (animation) login page
In the below Example, I have created a stylish login page. Here I have design first login activity_main.xml layout here I have added FrameLayout, LinearLayout, TextView, EditText and Button. Now In MainActivity I have used ViewCompat.animat...
How to Add Popup function in CardView
In the below example I have Created a Popup function, so when we will click on CardView it shows Popup on our screen and when we will click outside popup then automatically popup window will close.
For this First I have added I have added...
Benefits of Mind Mapping usage in Project Management
The use of a planning tool is an imperative, especially when aiming to bring project success and effective task management. Mind mapping is a technique that is greatly appreciated and widely used, especially when approaching the project planning ...
What Is Software Testing Estimation ?
Estimation is a crucial feature which collaborate with every project. The same point cooperate to the testing assignment and also testing team or qa team that how many time do they needed to perform the testing operations.
For any pr...
How to add Task to Projects in SharePoint 2013 using CSOM?
In SharePoint, each project has its own tasks, assignments, team members etc.While creating projects in SharePoint we have to also create its tasks, assignments, team members and custom fields.
Here below is the sample code for creating tasks ...
Overwrite Existing SQLite DB with new
Hi friends
Please help me, how can we overwrite or replace existing SQLite DB in android automatically, I tried with change dbversion but still not getting new DB. how can overcome this. please help me.
How to create notification in android.
1) To create notification UI content and action we make use of NotificationCompat.Builder object and Builder object must include the following:-
Small icon that would be shown when your notification will arrive at your device and it i...
Array of dates between two dates
Hello Friends,
To create an array of dates between two dates you may use the following code:
1.Create an NSMutableArray
NSMutableArray *datesArray = [NSMutableArray new];
2.Set the date formatter according to your requi...
Collapsable UITableView header in Swift
To collapse table header in swift ->
1. Make a property of NSMutableSet, name it "collapsedSections", this property will be use to check Collapsed section in the UItableViewCell.
var collapsedSections:NSMutableSet =...
How to add dynamic effects on Button symbol?
Hi,
I'm working on a project in Adobe flash & as per project's requirement I have to use the Button symbol with dynamic effects.
I had worked on Movie clip symbol & Graphic symbol in flash but never used Button sym...
Difference between val and text in jquery.
text
This attribute is used to set or return the text content of the elements which are selected. HTML markup is removed when this attribute is used to return text content i.e returns that text content that can be displayed in the browse...
Hide prices and Add to Cart button in Magento
Hello Readers, Here is small example which will explain how to hide prices and ‘Add to Cart’ buttons for non-logged users in Magento.
Hide prices in all pages:
Go to Current theme (Path: app/design/frontend/currenttheme/default/te...
What does $(div[id*='box']) in jQuery mean?
$(“div[id*='box']”) in jQuery
The above expression mean selecting all div elements whose id attribute contain box word anywhere like firstbox, secondbox, box1, box2, middleboxexample etc.
Program to demonstrat...
What does $(div[id$='box']) in jQuery mean?
$(“div[id$='box']”) in jQuery
The above expression mean selecting all div elements whose id attribute end with box like firstbox, secondbox etc.
Program to demonstrate above expression:
<html lang...
Building Credibility
The foundation of "credibility" is "credo," which signifies "I accept" in Latin. Put essentially, credibility is the sentiment trust and regard that you motivate in others.
No single thing makes credibil...
How to calculates quantity and Confirms production order in OpenERP
In OpenERP first we create the product and then calculates the quantity of product. In product form picking Id is generated and picking id will return to the value of this product and then product will calculated automatically in stock.
U...
How to install in Codelgniter
Hello Friends,
If you are looking to install in Codelgniter. Please review the below process:
Step 1 :: Download Codelgniter from "https://www.codeigniter.com/download"
Step 2 :: Unzip this folder and place this on root folder
...
How to Create Emoticons using jquery
Hello all,
Every time you see some graphic emoticons in comment they look like sad, funny, jolly, naughty. With the help of this blog you can add these emoticons in your project.
Here I am using emoticons plugins Basically it replace your sim...
How to retrun partner delivery address in OpenERP
In OpenERP first create delivery address in delivery form and then we need to define a partner for the brand of the product and also dedicated_delivery_address stand for the case a new type of address. In stock form move all the delivery address ...
how to remove index.php in codeigniter url
Hello Friends,
When we are working on Codelgniter the URL in the browser appear with index.php generally, the URL appear like ::
"http://localhost/codelgniter/index.php/app/setuser"
and we would like to see this as
...
How to create users in login form in OpenERp
In OpenERP first create the users and then users is retrieve an active resource of model res_users with the specified login. When users login in web page then verify all the rights and authentication. If users rights and authentication both is fi...