Featured Posts
How to Develop using Google Android SDK on a real Android Phone connected to Windows USB port

How to Develop using Google Android SDK on a real Android Phone connected to Windows USB port

Assumptions: I assume that you have downloaded the Android SDK from the Android homepage at http://developer.android.com/sdk/index.html Also, you have Eclipse fitted with Android Development Tools (ADT) plugin from https://dl-ssl.google.com/android/eclipse/ And, you know how to create the Hello World Android application via Eclipse and run it on the emulator that comes with the Android ...

Read More

How to include jQuery data table in drupal web site

First of all, you have to download jQuery datatable plugin files from following url:http://www.datatables.net. After that, copy the jquery.dataTables.js and jquery.js files from /media/js/ to your drupal module folder. Then copy the demo_page.css and demo_table.css files from /media/css to your drupal module folder. Then open your .module file and include following line in ...

Read More

How to get chrome.tabs.executeScript to work

Just started my experimentation with Chrome extensions and got stuck at this point: chrome.tabs.executeScript will just not work! In the Chrome error console I kept getting this error: Error during tabs.executeScript: Cannot access contents of url "http://google.com". Extension manifest must request permission to access this host. I went through the documentations but, just ...

Read More

PHP function for ISO 4217 country and currency codes.

PHP function for ISO 4217 country and currency codes.

ISO 4217 is the international standard describing three-letter codes (also known as the currency code) to define the names of currencies established by the International Organization for Standardization (ISO). more at http://en.wikipedia.org/wiki/ISO_4217 function get_iso_4217_currency_codes(){ $a = array(); $a['AFA'] = array('Afghan Afghani', '971'); $a['AWG'] = array('Aruban Florin', '533'); $a['AUD'] = array('Australian Dollars', '036'); $a['ARS'] = array('Argentine ...

Read More

Create a simple Google chrome extension

Create a simple Google chrome extension

How to create a simple Google chrome extension This tutorial helps you to go through the easiest way of creating a simple extension for Google’s newly launched browser “Chrome”.  Basically this browser extension adds an icon to Google Chrome Toolbar which when clicked will displays the recent tweets of a Twitter ...

Read More

How to Setup a Multiple Currency Magento Shop

How to Setup a Multiple Currency Magento Shop

Setting up a Multiple Currency for your Magento Shop is very easy to do. These are the basic steps to do that. Login as admin and select System->Configuration, then select ’Currency Setup’ fromGENERAL section, then select Base currency, Default display currency, allowed currencies (press Control Key and Click the needed currencies) ...

Read More


How to connect 2 RFID readers to an Arduino ?

We can connect two RFID reader simultaneously to an arduino board and get data from there serial pin without using RX0 and TX1 pin of  arduino.
We can declare two new new serial port in the arduino digital pin 2,3 and 8,9 using <NewSoftSerial.h>.
Sample code is given below.
Code :
/*
Connection details :
1. SOUT pin of RFID1 in [...]

Setting up multiple website urls in Mozilla Firefox Home page

From Tools Menu select Options:

There is one Home Page TextBox, click on it and enter website urls separated by  pipe symbols ( | ). Thats all.

A simple objective C program for sorting an array….

#include<Foundation/Foundation.h>
@interface Sort:NSObject
{
}
-(void)sort:(NSMutableArray *)elt;
@end
@implementation Sort
-(void)sort:(NSMutableArray *)elt
{
int i;
[elt sortUsingSelector: @selector (compare:)];
NSLog(@”\n%@”,elt);
}
@end
int main(int argc,char *argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSMutableArray *savingArray = [[NSMutableArray alloc] init];
int i,n,a;
id show;
show=[[Sort alloc] init];
NSLog(@”Enter the number of numbers”);
scanf(“%d”,&n);
NSLog(@”Enter the numbers”);
for(i=0;i<n;i++)
{
scanf(“%d”,&a);
NSNumber *nu = [[NSNumber alloc] initWithInt:a];
[savingArray addObject:nu];
}
[show sort:savingArray];
[show release];
[pool drain];
}

GNUStep Objective-C using Cocoa Framework on Windows

GNUStep Objective-C using Cocoa Framework on Windows

Mac OS-X Objective-C Cocoa Command Line How To

Come to/Login to the Mac OS-X shell prompt via the Terminal application or via SSH from a remote client. In the example I have used nano text editor to create these Objective C files using the Cocoa foundation framework.

How to Set Shipping Options For Customers during Checkout

First,Login as admin and in the admin Home Page select  System ->Configuration.
Under the Configuration tab on the left Side Select Shipping Settings.Here you can Find two options Origin and Options.From that you Can Change Settings Such as Country,Regional,etc.
Now Select Shipping Methods next to Shipping Settings.Under that you can find Flat rate,Table rate,Free Shipping,UPS etc.Let us [...]

An Introduction to Artificial Neural Network(ANN)

What is ANN?
ANN is an information processing concept which is inspired from one of the most powerful and complex thing known to mankind-The Human Brain.The ANN is based on how the human brain processes information.The key element of this concept is the novel structure of the information processing system. It is composed of a large [...]

How To Solve a Rubik’s Cube

Introduction
There are many different methods for solving the Rubik’s cube. They can be divided into two broad categories: layer methods and corners first methods (and there are sub-categories within these broad categories). The method I use for speedsolving is a layer based method.
Terminology
When describing the solution for the 2nd and 3rd layers, standard cube notation [...]