
Search In
Binary search as the name suggests mainly concerns with the searching of elements which are already in sorted order.
For binary search we need few things to consider
Mid Point is find by the following way
m
CakePhp supports functional programming. Functional Programming in CakePhp is a criterion as are crucial, logical and Object Oreinted programming. In CakePhp everything resides inside a function, in the mathematical sense. The
consequence o
How to Convert SVG to Image (JPEG, PNG) in Browser & Save on Server for product preview to checkout
I'm converting svg using html2canvas to save on server side as png product preview before checkout with base64. The svg works fine. I
Sometimes you require to run two versions of any software on a same machine. To run OpenERP with two different versions, you can have issues even if you try to use different browsers or windows at the same time.
To run OpenERP 6.1 and 7.0 versions o
Sometimes we need to find the extension (file-type) of a file at the time of uploading to apply some validation on it. We can do this by handling "change" event of input-file.
Example: In the below example I want to upload the file having extension
QWeb is an XML-based templating language, similar to Genshi, Thymeleaf or Facelets. It has the following characteristics:
It's implemented fully in JavaScript and rendered in the browser
Each template file (XML files) contains multiple templates.
It
Adding Button Selector
to add button selector to the button in the android xlm layout file, create a new xml file named button selector and use the following code :
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http:
Hello Readers,
I will show you how to copy text in clipboard without using ctrl+c.
<html>
<head>
<script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<script src="jquery.zclip.js"></script>
<
Workflow transitions can be restricted to a specific group. Users outside the group can not trigger the transition.For example code is like below..
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record mode
When a workflow is embedded in an activity (as a subflow) of a workflow, the sublow can send a signal from its own activities to the parent workflow by giving a signal name in the attribute signal_send. Odoo processes those activities by sending the
