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

Search In

How to control the media playback using JavaScript:

While embedding a video to your webpage, very first thing you need to keep in mind is the browser support, like where this will work and where it will not. Only the latest versions of most browsers support native video playback using HTML5's "video"

Using Loopback API Explorer

Hello All, In this blog we will discuss about how to use Loopbacks explorer. LoopBack basically provides the developer portal / API Explorer which consits of the methods defined for performing CRUD application with the database. You can use these m

How to split a string in C++?

// A C++ program for splitting a string using strtok() #include <stdio.h> #include <string.h> int main() { char str[] = "First-Demo-Example"; char *token = strtok(str, "-"); // Returns first token while (token != NUL

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; if(re

How to create Picking List when planned date if it is greater than value in OpenERP

To create the picking list of User defined argument and to the calculates planned date if it is greater than value and than if condition is true and its also user defined argument so you have to validate the Name of field and also Value of field and

How to add floating action button with RecyclerView xml layout

In the below xml layout first I have created Framelayout then I have added RecyclerView and FloatingActionButton within Framelayout. You can see below program it will clearly describe you to add floating action button with RecyclerView xml layout in

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 fine t

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 << "Yes\n":

How to encode string using MD5 in Java?

Generally we need to encode the password in our Applications for security purpose and we can use MD5 for this purpose. Example - In the below method I'm encoding sting by using MD5 import java.security.MessageDigest; import java.security.NoSuc

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(self, na

1 205 408
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: