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

Search In

Handle NSLog in iPhone sdk

Through this code we can use NSLOG whenever required. Write this snippet in some common file(say utility) so that it would be easily handled throughout the project. Make sure class should import utility class to handle NSLog. All you need is to chang

How can we find the number of days between given two dates on php 5.3 and above

Hi if you are using php version 5.3 or greater then some functions are really very quick to write and use. In this blog I am calculating the days between your given two dates. This is by far the most accurate way of calculating the difference: This

How to calculate the difference between two dates using PHP?

Hello Readers If you want to calculate difference between two dates using PHP , use below code. comment: Suppose we have the two dates below date1 and date2 $date1 = "2014-06-11"; $date2 = "2015-07-16"; comment:then we get diffrence with absolute

How to run two server in same machine at a same time in openerp-7 (Odoo)

If you want to run two server on a same machine at a same time in openerp-7 (Odoo) follow these two simple step 1-Do this in your Terminal to run first server `/workspace/openerp/openerp-6.1-1$` ---> (this is server location ) Now run the below

How to validate the date using preg_match function in PHP?

The syntax of the preg_match function is that: preg_match (string pattern, string string [, array pattern_array],[, int $flags [, int $offset]]]); In the above function first and second parameter are mandatory and the rest of the parameters are opt

Escaping string in Javascript

The escape function returns a hexadecimal encoding of an argument in the ISO Latin-1 character set that contains the contents of charstring. The Syntax is: escape("string") String is a string in the ISO Latin-1 character set. The value returned b

get_encodings, ustr and exception_to_unicode were originally from tools.misc in openerp

Set encoding to default and find value to get_encodings, ustr and exception_to_unicode were originally from tools.misc in openerp and use this method in openerp. Use this code in .py file in openerp ef get_encodings(hint_encoding='utf-8'): fallb

Difference between array_key_exits and isset in array

Hello Reader we almost have header about array_key_exits and isset but you need to know the diffrence between them. Lets take an example below:- array_key_exists will only work when your key have an element and doesnt matter it is null, but isset wi

Table specific customization

How to customize a table to your requirement. We can also apply specific characterstics for a table.To define special style for a table we can add id attribute to the table. <table id="t01"> <tr> <th>Firstname</th>

How to delete duplicate data in Oracle SQL?

Let's create a table with duplicate rows in SQL. create table CustomerDuplicate(customer_id int,customer_name varchar(20)) insert into CustomerDuplicate values(1,'Adam') insert into CustomerDuplicate values (1,'Adam') insert into CustomerDuplicate

1 74 949
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: