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

Animating an object along a path in Maya

Hello Guys , In this tutorial we will learn how to animate a car along a curved road . In the scene you will see we have a path and a car placed . We will first draw an EP curve on top of the path so that it follows the path. ...

ScrollBar using Jquery

ScrollBar using Jquery To apply a scrollbar you need to write your html in the div below :- <div id="outerholder" style="float:left"> <div id="smidscroller" style="overflow:hidden; width:auto; height:500px;"> ...

How to give space to a Text input

How to give space after 4 characters to an TextBox input as well as retrict alphabets. We have a TextBox as :- <asp:TextBox ID="txtCardNumber" class="cardnumber" runat="server" onkeyup="GiveSpace(this,4)" MaxLength="...

How to modify a Datatable

Steps to modify data in a DataTable Suppose we have a DataTable with columns Name,Age, Status //DataTable dtRecords; DataRow[] rows = dtRecords.Select(); if (rows != null && rows.Length > 0) { ...

Create sequences in OpenERP

For any module or a part of the module we may have to have a field which is sequential and auto generated. For this we can create a sequence through the OpenERP UI and include in our model pragmatically through python code. First create a s...

Launch a report through a wizard in OpenERP 6.1

Printing a report from a button a wizard is quite easy and very fast in execution. Its really awesome when you created a report on your own format using OpenOffice or any other report designing tool for OpenERP, and you can call that report on a ...

selecting multiple rows in a UITableView

The UITableView is the most used tool by the iPhone developers to display various types of data in a neat, clean and easy to manage format. The programmer can search the cells for data, can arrange the data according to the users need by sorting ...

How to display multiple images one after another in some time interval

Sometimes we need to display ads in our application.To display the multiple images one after another in some time interval write the following code: Create a customTimerTask class that extends the TimerTask class public class customTime...

How to handle UIPanGestureRecognizer and moving your all images w.r.t moving image.

The following code help your image to move using UIPanGestureRecognizer. While moving your selected image other images set there location automatically. -(void)addImageToScrollView { float x=5,y=40,width = 100,height = 100,spaceH = 5...

Adding a field to an existing module using Inheritance in OpenERP 6.1

To add a new field to an existing module, the best practice is to create a new module that inherits the model you want this field to add in. And your module will depend on the required module. For example adding field cartage to account.invoic...

getting contact information from contact list in Android

We can get a contact information for any contact from contact list of an Android Device easily. For this follow the steps below: Write the permission to read Contact's data into your AndroidManifest.xml <uses-permission android:name="a...

Using Ternary operator instead of If/Else in Php

Evaluating If Else statements is very common in programming paradigm. But 'If Else' statements are long and they can be easily replaced by simply using Ternary operators. Here is a tutorial on the usage of ternary operators and their implementati...

What does Virtual Machine (VM) means?

Virtual Machine (VM) Definition - What does Virtual Machine (VM) mean? A virtual machine (VM) is a software program or operating system that not only exhibits the behavior of a separate computer, but is also capable of performing tasks such...

ASIFORMADATA uploading Bar

Hello Guys, There are different issues while uploading a video to a server. -videoSize video Quality. Now uploading depends on internet speed and file sizes and it can take almost a minute to upload a video. Developers use Activity Indi...

NGUI: Custom Atlas

NGUI: Create Custom Atlas When we install NGUI in our game it contains some built in Atlas such as - Fantasy, Refractive, SciFi, Wooden. We use them to create buttons, image buttons, progress bar, popup list, scroll bar etc., in which we can o...

Get Familiar with Texture Packer

Texture Packer is a wonderful program to create Sprite Sheet with in seconds for different data format like, cocos2d & Unity3D. Its not a free program but Texture packer's demo version works pretty well too.If you are a 2d animator & cre...

Making Custom Select Box Using JQuery

While designing an HTML form, a lot of time there is a requirement of custom form elements. Below is a tutorial on how to create some nice custom select box with CSS and jQuery. <div class="selectBox"> <div c...

How talent is luring technology to smaller towns

Resources have to be made available for people to learn to adapt to them. In the past, people traveled by foot to major cities to get their hands on better seeds and fertilizers. The ones who took the pains, fared way better than the ones who din...

Get Date Interval in iPhone

Compare two dates to get number of days without calculation. 1 day = 86400 seconds.. NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"EE LLL d,yyyy"]; NSString *dateStr = @"Tue Dec 17, 2013"; N...

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 ...

NSSplitView delegate for priority based resizing

The default resizing mechanism in NSSplitView is proportional resizing in which if the NSSplitView changes size, each column resizes by an equal percent. But it is not successful in case where the columns in a split view are used to separate a si...

UI Principles to keep

In our day to day life, we come across different interfaces. There can be several; One which eventually gains our admiration,the other may be kind what we become reluctant of using. Some are the interfaces that inspire us.. They itself give us a ...

Effortlessly managing your website using a Content Management System

The way that the internet has gripped the entire world compels every business to have a web presence. A web presence is a gateway to higher clients and in turn more business. Till not so long back creating and managing a website was like teaching...

Summing a column in an OpenERP report

Its is very obvious that you would need reports in accounting where you are supposed to analyse the sales, refunds, and many more accounting documents, this means you would require maths functions too while creating OpenOffice reports for OpenERP...

Changing the Behavior of a Dialog Box with Effects

The options used when creating the dialog box can be modified by the dialog ("option", param, value) method. The param parameter is the name of the option, while the value corresponds to its new value. lets change the effect for the opening and ...

The Art Of Animation

What is Animation? Animation is a simulation of movement created by displaying a series of pictures or frames. It is the process of creating a continuous motion and shape change illusion. The word animation is derived from animate, which mean...

Changing row color on clicking radio button

Consider an HTML table with multiple rows having radio button in first column of each row. Now, if we want to change the row color when radio button associated with it is clicked, we have to write following code. // HTML // Untitled ...

Finding the Dimensions of an Element

You want to determine the space occupied by an element. The width and height methods can be applied to any element, and they are useful for determining the computed width or height of an element. However, they fall short if you need to deter...

Finding the Dimensions of the Window and Document

You want to get the width and height of the window and document in pixels. jQuerys width and height methods provide easy access to the basic dimensions of the window or document: $(function() { alert('Window height:'+jQuery(window).height(...

DNN7 Common Error

DNN7 Common Error After installation of your DNN site sometime show given blow error on Default.aspx. HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. ...

Set predefault current date in datebox

How to set pre default current date in datebox before choose any other new date: We have to follow following steps. Step 1:- Download below 2 files. jquery.datepick.js jquery.datepick.css Call both file in HTML head <link ...

How to keep the order in ruby hashes

When we insert the data into a ruby hash it reorders the data in some other order when we use it in view file.So there are cases when we have to show the data in the same order in the order we are inserting the data into ruby hash.So in case wher...

Concept Of AJAX

AJAX----- Asynchronous JavaScript and XML. We use AJAX when we are using the concept of " B to B " or "B to C" B to B -- business to business ........................................// user to website. B to C -- business to costumers...........

How to convert ppt file to swf

If we want to convert a PPT (Powerpoint presentation file) into SWF we can use this system command system("java -jar /opt/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar " +pptpath+" "+ppt_convert) where pptpath is the path where PPT file...

Cakephp - Using multiple database

Many a times we need use multiple database as per the domain or some other reason . We can easily achieve it with the following code in cakePhp. Write the following code in app->config->database.php class DATABASE_CONFIG { publ...

How to restore backup from sql script through Postgre console

Restoring backup from sql script through Postgre console is just a 2 step process.They are as follows: Step 1: psql -h hostname -U username database_name Step 2: \i filename.sql

Using TTS(TextToSpeech) in Android

We have a feature called TextToSpeech and is available for Android 1.6 and higher. Usind TTS we can build an app that speaks the text of various languages. Below are the steps to do so: Simply create an xml layout that includes an input ...

Get user FB friends data by itsa access token in php

By knowing the token value and fbid we can get the data of friends in a file which we can use use further in our code. For example: $post_decode = $this->request->input ( 'json_decode', true) ; $fbid = $post_decode['fbi...

Call JavaScript function from C# in Unity3D

Call JavaScript function from C# in Unity3D Mostly developer use a particular language to do code in Unity3D. But some times you need to use two types of Scripts. At same point you also may required to call vise a versa functions of both scr...

Category Bit And Mask Bit Filter

In Cocos2d,when you define a world for a scene by default all object heaving body in scene will collide with each other.In order to make object collidable with specific one,simply set body mask and category bit at the time of defining fixtures,an...

Format floating number

"%g" % (float_number) Above function formats float number to natural number if it contains zero's after decimal point otherwise format float upto one decimal point Helpful in showing working days(like 22.5 days)

How to Use Services in Android Simple Example

Using Services In Android Service is an application component which runs in the background and do not have a user interface.Services can be of two forms:: Started Service can be started from an application component such ...

Saving layerstyles in photoshop

Saving layer styles in Photoshop: Layer styles are the layer blending and effects which are used in the photoshop for the purpose of shadows, gradients and creating depth within the images or illustrations. In this tutorial we are going to cre...

Upload image in ruby on rails through AJAX

Upload image in ruby on rails through AJAX This is HTML and JavaScript code. <% remote_form_for(:image_upload_form, :url => "/meeting/save_image/", :html => { :method => :post, :id => 'imgForm', :multipart => true }) do |f...

Web RTC : Strongest Api of HTML5 Part -ii

holla amigos In my last blog i shared the power of web rtc and the first api getUserMedia of the web Rtc . This article will be focus on the Peer to Peer connection of the Web Rtc. Let me explain you first what is Peer-to-Peer connection ex...

Sending private messages to Facebook users

Many of us have this requirement of sending private message to your facebook friends and we usally struggle to get it done. The main reason behind this is that graph api provided by facebook does not provide this. We have to look for other option...

Load And Parse XML in Action script

It is very easy to load and parse XML in Action Script 3.0 Suppose we have xml like this - <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <images> <image> <url>"first.jpg"</url> </image> &l...

How to check and uncheck all checkbox on single click?

When we have multiple check box to select then we need to check all these one by one it will take more time to check all so by using jsscript we can check and unchecked all check box on a single click. In the below script can check and uncheck al...

Image tag error- no image found

There was an error in img tag when no image source found. I used this below code to resolve this issue, if you are also facing the same issue, please go a head with this code. <img src="profileimage.png" onerror="this.src='noimage.png'">...

Make payment using PayPal MPL(Mobile Payment Libraries) in Android

There are certain applications in which we need to integrate the PayPal for enabling the user to pay certain amount to use further features of the app. Before starting, download the PayPal_MPL.jar file from PayPal developer's website and copy ...
1 262 269
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: