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

JMeter Parameterization by using CSV Data set Config

Parametrization can be implemented in different ways using the following elements: a)Using CSV Data Set Configuration: Steps: Thread Group > ADD > Config Elements > CSV data set Config b.)Using User Parameters: Steps: Thread Group &...

How To Connect With SQL Server DB .

Below is the C sharp code to connect with the sql data base in .net usingSystem.Data.Sql; usingSystem.Data.SqlClient; // FUNCTION TO CONNECT TO THE SQL SERVER DATABASE privatevoidconnectToSQLServer() { // SQL CONNECTION...

toString() in java

toString() method is very useful and frequently used by java developer. What is toString() ? As per java doc: 'toString() method returns the string representation of the object.' toString() method belongs to Object class, So each and every o...

Create Carnival Girl Face Illustration in Easy Steps

I am not the master in creating perfect Illustrations using Brush or Pen Tool but still I am trying to made this tutorial to help the less experienced or beginners. In this tutorial I will draw this pretty girl ;-) wearing a carnival mask. ...

How To use dataBase in Your android App

Use DataBase Helper Class in your code, Which extends the base class SQLiteOpenHelper Class Sample code package com.searchoffers.android; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; ...

Adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call

There might be a case where user wants to add data to jqxtree on click of each individual node. Below is the code which help us to achieve the above functionality where user can get data from JSON file or database on click of each individual tre...

Hide div by slide effect and show another div

This code is used to hide div by slding effect towards right to left and show another div by the same sliding effect on its place . <script src="js/jquery.min.js" language="javascript" type='text/javascript'></script> <script...

Beginners guide to Search Engine Optimization-Quality of content

This is the second important factor from the series in Beginners guide to SEO. As discussed before proper keyword research and tagging are important aspects of Search engine optimization, but the importance of Quality content cannot be undermined...

Player Settings for Android in Unity3D

When we build our project to see how it looks, we need to set the Player Settings- Today I'll describe you the Player Settings for Android After building the project in Android Go To Edit->Project Settings-> Player Following Playe...

Disabling All Effects

Your user or web application may require that all animations are disabled, but the effect of revealing information or scrolling (or whichever animation type) may still be required. jQuery has a way to disable all animations from one access point...

How to show a div or a label on Click or MouseOver of a link in gridview.

How to toggle the visibility a div or a label on Click/MouseOver of a link in gridview. This demonstration is very useful to make a pop up like window opens on click/Mouse Over on every link in a row in a grid view. To begin this lets start w...

IPhone alert view

To show alert view in IPhone, the following snippet will help you. UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Message" message:@"Network error. Try again?" delegate:self cancelButtonTitle:@"NO" otherButtonTitles:@"YES", nil]; ...

Track in HTML 5

The track element allows specifying explicit external timed text tracks for media elements. It does not represent anything on its own. Its provide a simple standardized way to add subtitles, captions, screen descriptions and chapters to video and...

UIImagePickerController

Often it is required to integrate the iPhone's camera in the app to take pictures and photos to be used by the app. This is made possible by UIImagePickerController. The UIImagePickerController gives the programmer the capability to integrate ...

Formatting jQuery date picker

Sometime you may need to use the jQuery calender in some project. you writes the following code: jQuery( ".in_time" ).datepicker(); and it gives you: 1- if you need to show all the dates which are previous to the current date: If ...

Checking the date entered is according to a predefined format or not ?

Checking the date entered by the user correct of not as according to a predefined format or not. Example 1) $format = 'd-m-Y'; $input = 'asasasawasa-sldjs'; $date = DateTime::createFromFormat($format, $input); if($date) echo '...

Declaring variables in jquery / javascript (for ie8)

Sometime we need to perform some operations in variables values in jquery or javascript. We generally uses: a = jQuery('input#marks').val(); It will be working fine in all the browsers except ie8. This type of assignment doesn't works i...

How to create profile url in cakephp?

Hello readers ! Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine. Router::connect( '/:usernam...

Paint app with undo functionality

One way to add undo functionality to a paint app is by storing state of the view and taking the view back to previous state on undoing. We can store state in arrays. And the state here will be all the lines being drawn and properties of the lines...

Html normally problem

Hello readers ! In this blog i show how can we solve html problems usually we face that are :- 1) How to align center a absolute position div : Its a normally problem which we face always we can solve it using this attribute of css ....

Write text on video

Here is the function that tells how to write text on any sample video:- function videoConversion($videoId, $batchId){ $font_path = "/var/www/html/james/LeagueGothic-Regular.otf";//path of the fonts $ffmpeg_path = "/...

Update/Syncing the fork with master

Here is a good link to sync the fork with master https://help.github.com/articles/syncing-a-fork NOTE :This link will not update your repository on GitHub. To update the repository you need to run git push origin

To make the absolute position of block in center with respect to parent block using css only.

If you want to make the absolute position of the block in center from all the sides with respect to parent block using css only. <style> .base{ width:900px; height:500px; position:relative;background:#dddddd} .top{...

Solution of flickering issue in phonegap

Flickering issue come at the time of page transition due to jQuery mobile zoom function, which can be remove by deleting these two lines from jquery mobile: meta.attr( "content", disabledZoom ); meta.attr( "content", enabledZoom ); I hop...

Handling audio files in iOS 7

The general idea for playing an audio file in iOS 6 was to create an object of AVAudioPlayer and pass the file path to it as follows: NSURL *fileURL = [NSURL fileURLWithPath:audioFilePath]; player = [[AVAudioPlayer alloc] initWithCont...

How to create flexigrid in MVC3

Flexigrid is a free Lightweight data grid with resizable columns and scrollable data. We can create flexigrids by using javascript or jquery.We can apply sorting,searching and paging in these grid.Flexigrids accepts two types data sources xml or ...

Applying if condition on some specific index of select box

If we want to apply condition on changing of specific indexed value of select box we simply do this: $('#select_id').change(function(){ if(((parseInt($('option:selected',$(this)).val()))==2)||((parseInt($('option:selected',$(this)).val...

What is the Document Management Systems?

What is the Document Management System ?: Ans: Document management system is a process concerning the creation, distribution and deletion of documents within an organisation. Synonyms: Document management System has been named...

Delete a row from list on a click of a button

If you want to delete a particular list (li) from the listing, you can easily do this with the following code. $('#demo ul li[rel="'+id2+'"]').remove(); <div is="demo "> <ul> <li rel="id1">This is just a demo....

Difference between Decimal,Float,Double in terms of exact calculation

Difference between float,double and decimal in terms of exact calculation(Tested in mysql) I was creating an application where I need exact values from mysql procedure so I have to find better data type which gives me exact value so I tested i...

Get a rotated image

A very good stuff that allows you to get rotated image. Sometimes we rotate the UIImageView, it appears like image is rotated but in actual it's the UIImageView which is being rotated. If we try to fetch the image from rotated UIImageView it will...

Delete duplicate row in table

You can delete the duplicate row without using the temporary table. You can use the self join concept. Suppose we have person table contain 3 columns named id, name, and city. INSERT INTO person(id,name,city) VALUES (1,'a', 'aa'), (2,'b','b...

Customized back button

The default back button in the navigation bar that pops the current view and takes the screen to the previous ViewController, can be easily customized and made to look fancy, trendy and in relation with the rest of the theme of the app. This i...

Restricting the textbox to enter number only using thier ASCII codes

We can disable the keys to enter inside the textbox. For example if we have a textbox for entering user's age then a user only need to enter numbers (The age will only be in number format ie 12,18 and so on) We can use the following javascript...

How to pass Parameters and Stored Procedure using Linq

How to pass Parameters and Stored Procedure using Linq ExecuteFunction executes stored procedure with specified parameters.This function accepts 2 parameters i.e stored procedure name and parameter list. public List<GetCustomerSearchResu...

How to make a paint/drawing app in iphone

With the help of Core Graphics Framework and touch methods of UIResponder we can easily draw on iphone screen. There are two ways to do this : Either create a UIView subclass and draw directly on it, or use imageview from the View controller....

How to play,pause and stop sound using as3.

To play,stop and pause sound using as3 we have to use following: flash.media.Sound : Sound class is used to handle the loading and playing a sound. flash.media.SoundChannel: SoundChannel object is used to handle the playback like play,pause ...

Restricting data in Oracle

This blog will help you to restrict data from a database. You can restrict the rows returned from the query by using the WHERE clause. A WHERE clause contains a condition that must be met, and it directly follows the FROM clause. If the condi...

Game design: Working with silhouette (article 2)

Game design: Working with silhouette: As I have provided the basic information regarding the silhouette principle using on the concept character for game art, lets resume the topic further and see it through details. While developing the ba...

How to open a .pdf file in a new window in C#

Opening a .pdf file in new window On the First page write the following code:- string Url = "Wite the url of the page to be opened"; ClientScript.RegisterStartupScript(this.GetType(), "", "window.open('" + Url + "');", true); On the s...

Difference between Integration and system testing?

Most of the user gets confused to differentiate between Integration and System testing. The basic difference as per my understanding is as follows: Integration Testing: To validate whether applications integrated modules or integration with th...

How to create Cool 3d Text in Photoshop

Photoshop has evolved a lot than it used to be in early phase, now Features like Content aware, 3d and Puppet tool have boosted its awesomeness. 3d is one of the feature that i love to use in photoshop CS6. as its Handy and can give you amazing...

Best way to Concatenate Strings in java

Optimized techniques for Concatenating Strings in java. We can concatenate multiple strings using either + operator or String.concat() or StringBuffer.append(). Which is the best one interms of performance? The choice depends on two scen...

2D Games with Unity3D

2D Games with Unity3D Gaming is becoming more powerful and popular in these days. As we know Unity is basically used for 3D games but it also provides the feature to build the 2D games. Orthello is the most common and powerful tool for the...

How to Split Datatable into multiple Datatables

Split Datatable into multiple Datatables private List<DataTable> CloneCustomerDataTable(DataTable dtClone, int numberOfRecords) { List<DataTable> dttables = new List<DataTable>(); int count = 0; ...

Loading 3d Model with Away3d

When working with Away3D youll eventually need to load a complex model. The code for loading a 3D model into Away3D is fairly easy. It is almost as simple as loading a plane, cube, or cone. this code is about loading a 3d stadium. 1.Load ...

Call ajax function on autocomplete in jquery

<h2>//Call ajax function on autocomplete in jquery</h2> $(document).ready(function(){ jQuery("#name").autocomplete({ source: function(request, response) { $.ajax({ url: 'include/get.php',...

String with different colors in iPhone

Using addAttribute method we can add different colors to a string for certain range of characters in that string. Label.text = @"Ashish"; NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithAttributedString: Label...

How to use Gallery for scrolling images with page indicator in android

First of all you need to use a custom class in place of Gallery :- package com.pakagename; import android.content.Context; import android.util.AttributeSet; import android.view.KeyEvent; import android.view.MotionEvent; import android.wid...

Importance Of Color In Web Designing

Color is undoubtedly the essential means to touch the emotions of website visitors. It is a non-verbal communication and creates a physical and emotional reaction of the viewers. Colors are able to set the right tone and carry a necessary message...
1 288 292
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: