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

Search In

Need help making this code more easy to understand

Given are the following three functions on integers: f(x) = x2 g(x) = x + 1 h(x) = x  - 1 Implement these functions in C. Next, write a program that accepts on its input an integer n followed by a series of letters f, g, and h terminated by

How to detect collision between two elements.

Can any one give me the idea. How I can detect collision between 2 dom element. I have got this code form MDN. But can't go thorough it. Please help me. var rect1 = {x: 5, y: 5, width: 50, height: 50} var rect2 = {x: 20, y: 10, width: 10, height: 10

Testing

kllkjk kjo !1 lkjkol kojlkj pkjlkj kjlk

htaccess to allow for more then one address without asking for Authentication

Suppose we are working on a project in a local area network where all developer have same IP Address. then most of times its a requirement that project must be accessed directly without authentication. But at the same case if any one trying to acc

How to hide the selection but still use it in Photoshop?

I am doing some painting work and it involves creating complex selection and that selection highlight distracts me. If there is any way to hide that please let me know. Thanks

How to use multi Fields in OpenERP(Odoo)?

The multi function is used to compute multiple values. In below code i have used api.multi to compute multiple values @api.multi @api.depends('field.relation', 'an_otherfield.relation') def _amount(self): for x in self: x.total = an_algo x.untaxed

How to create Ruby hash in just one line ?

When we have to create a hash in just one line we can use this particular ruby code: @users = User.find :all user_hash = Hash[@users.map {|x| [x.id, x.name]}] Here we created a hash in just one line with Id as the key of hash and name of

JavaScript Validator for String Expression that Allow Arithmetic Expressions

I need a help in writing a validator in javascript or JQuery for a string expression that will allow arithmetic expressions like (),+,-,*,/,min(),max(),avg(). In the string, min(),max(),avg() should allow only two arguments. Sample string expressi

Test Project

This is a test project.

test it 18-03-2015

test it 18-03-2015

1 3 217
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: