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

Search In

How to use a unique cron job for all subscriptions system ?

If you want to use a unique cron job for all subscriptions system then follow the following code in your subscription module in .py file. def set_process(self, cr, uid, ids, context=None): for row in self.read(cr, uid, ids, context=contex

How to manage the account cashflow operations in OpenERP(Odoo)?

In below example, I have written Python script for account cashflow operations. see below python code in .py file : import time from datetime import datetime, date, timedelta import tools from osv import osv, fields import decimal_precision as dp fr

Generating Encrypted and Decrypted Password with Salt

In SQL while storing or retrieving passwords we need to ensure that it should be in encrypted format. So for doing that we first need to store it in encrypted form CREATE PROC [dbo].[uspRegisterUser] @FirstName VARCHAR(50), @LastNam

  • 239
Property List of MPMoviePlayerController for iOS

There are several properties available for MPMoviePlayerController in iOS. We just need to use them to play the movie according to our need. You can access these properties like this:- Create property in .h file @property (strong, nonatomic)

Tomcat Address already in use: JVM_Bind

If you are facing following issue while starting tomcat: SEVERE: StandardServer.await: create[localhost:8005]: java.net.BindException: Address already in use: JVM_Bind at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method) at java.n

Best way to create a singleton class in Objective-C

There are different ways to create a singleton/shared instance of a class in Objective-C. Here I have explained two most preferred methods for it and both are thread safe. 1) Using "@synthesize" #define SINGLETON_FOR_CLASS(yourclassname) \

Customize commit editing style delete button in UITableViewCell

Hello All, Following lines of code will customize the delete button in UITableView editing style. This is an override method of UITableViewCell which is called when UITableView goes in editing mode. So to customize the delete button in UITableView e

How to Create and Retrieve Array in Javascript?

If you want to store multiple values in a single variable javaScript arrays are used. There are few ways to store values in array in javascript which are mentioned below. First way: HTML: <div id="fruitList"></div> Javascript: var fr

What is rand() function in php?

The rand() function is used to generate a random integer number. How to use rand() function? Syntax of rand() function:rand(); or rand(min,max); min:- min is use for Specifieing the lowest number that is retuned. Default min is 0. max:-max is use

How to add placeholder inside UITextView

To add placeholder UITextView first take outlet of UITextField ex- @property (weak, nonatomic) IBOutlet UITextView *yourTextView; Then follow these steps 1. In viewDidLoad add these line of code self.yourTextView.text = @“Please type here.”;

1 432 481
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: