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

Search In

Difference between Angular.service and Angular.factory

.thisN b{font-size:14px;} .thisN h4{padding: 8px 0 ;margin: 0;font-size:16px;} .snippet-wrap pre.sh_sourceCode , .thisN pre{margin: 0 0 0 5px;display:inline-block;font-style:normal;padding: 0 5px;border-radius:0;} Services Syntax:

How to crop images in PHP

Hello Reader's if you want to crop the images and save them then you can use this code liberay, its a very easy to implement and very useful for thumbnail generation <?php $targ_w = $targ_h = 150; $jpeg_quality = 90; $src = 'demo_files/pool.jpg'

Auto Layout Using NSLayoutConstraint In Swift

Hi All, You can add auto layout constraints by using Storyboard Interface OR by adding constraints dynamically. There are three ways to add constraint dynamically (as per Apple Inc.) NSLayoutConstraint is one of the way is used to add autolayout co

How to create cron job in liferay

Cron job is a UNIX tool, its scheduling capabilities are powerful and proven. The CronTrigger class of cron is based on the scheduling capabilities.   CronTrigger uses “cron expressions”, which are able to create firing schedules s

Install symfony using composer

To install symfony following are the list of required requirement: - The minimum version of PHP should be 5.5.9 - Need to enable JSON - Need to enable ctype - Your php.ini should have the date.timezone setting   Run the following command: #

3D Spinning Cube Using CSS3

Hello reader's. I have created a 3D spinning cubes using CSS3 by simply using the transform,animation and transition property over the elements. In my example, I have taken a cube element comprising of each face of the cube having its own elemen

How to set the partner's sale currency in OpenERP (Odoo) ?

In below example I have written Python script to the partner's sale currency . Use below python code in .py file : for order in self.pool.get('pos.order').browse(cr, uid, ids, context=context): if order.invoice_id: i

How to each product partial reconciliation in OpenERP(Odoo)

In OpenERP first, create custom module and than override the function in .py file in custom module  and pass this file to the __init__.py file. Then get the correct line residual amount  and pass this line in account invoice. using thi

OnTrigger Event in unity

I am using OnTrigger event in my game, I have one player moving on a plane ,And i have mark 3 transform empty object on the plane, Start ,Centre and End. Now i have given tags to these 3 specific positions.  When my player passes through these

Taking Screenshots

Hello everyone!! Today, we will learn how to take screenshots in HTML 5. HTML 5 provide a method called ctx.drawImage(video, 0, 0), by the help of this  method we can take screenshots of the video and save it. In this e

1 20 76
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: