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

Search In

MongoDB Query Plan & Optimization

Indexes improve the efficiency of read operations by reducing the amount of data that query operations need to process. Create index for a collection : The index can be defined in schema of collection. Consider the following collection Accounts: Acc

Relational fields in Odoo

If you want to make relational fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - name = fields.Char(string="Title", required=True) description = fields.Text() responsible_id = fields.Many2one('res.

Create a dictionary which contain an array

To create a dictionary which contain an array below tutorial will help you. In this blog firstly we create a NSArray which contain some value and after that I have displayed all the value and then created a NSMutableDictioary and provide a key to the

How to underline label text of UIButton?

Underlining title text of UIButton can be done with attributed string using following code (In this case yourTitleLabelText is title text for button and yourButtonObject is button object): NSMutableAttributedString *titleString = [[NSMutableAttribut

BIN (N) string function mysql

String-valued functions return NULL, if the the result's length would be greater than the value of the max_allowed_packet system variable. The first position of a string (for those functions which operate on string), is numbered 1. Noninteger argum

INTERSECT Clause

INTERSECT Clause: It works similar like union clause as it is used to combine two SELECT statements, but it returns  tuples only from first SELECT statement which are common to tuples in the second SELECT statement. Syntax: SELECT colum

Exploring closures in functions in depth

var ClosureDem = function (arg1) { return function (arg2) { return arg1 + arg2; } } ClosureDem("Hello")(" world!");//-> "Hello world!" Recently, I started learning about closures in functions and found a lot of new things for myself bu

Date Picker embeded in UIActionsheet with toolbar

Sometimes a user is required to input a date in the application for example to provide the date of birth. The programmer have to make sure that the date entered by the user is in correct format that can be used by the app or the server. If a numpad i

NSSplitView delegate for controlling minimum and maximum sizes of views

NSSplitView have delegate methods where we control the minimum and maximum sizes of sections and which views expand or collapse by what amount. Constraining the coordinates in the splitView:constrainMinCoordinate:ofSubviewAt: sets the minimum size o

Pagination in Cakephp

In cakephp framework there is a way which features pagination easily on your web page. This can be done as : Controller Code : public $components = array('Paginator','Flash'); public function index() { $this->paginate = array(

1 67 109
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: