Rabu, 29 Agustus 2012

How to get free CU.CC Domain URL for 2 years.

You might be tired of your free hosting Domain URL.In this post I am gonna show you how to get free cu.cc (E.g. xxxxx.cu.cc)domain for your site.Yester day i came across the site which provide free domain name(s) for 2 years for free.So I tried to register my blog there and it's very easy.Here is the step to get free domain name

Step-1:

First of all check availability of Domain Name(Enter name of domain in text box below):


OR

Click here to Check for availability.

Step-2:

If you find it available, Select "register 1 year "or "register 2 year" and Click on "Ckeckout".See Below:

Step-3:

Sign up for new account.And then Sign in to your account.Now you have to redirect this URL to your free hosting site URL(E.g. xxxxx.yyyyy.com).For this Click on "My Domains".You will see your domain URL there(E.g. xxxxx.cu.cc).

Step-4:

Click on Pencil tools immeadiately after URL.

Step-5:

Click on "URL Forwarding".Now fill details.Then Click on "Setup URL forwarding".

Step-6:

Now you just type your new URL into Address Bar of your browser. You will see your website there. That's it!

You can see this blog at:

Bytesinfo.cu.cc


Was this Information helpful?

Yes No

See Also:


Sabtu, 25 Agustus 2012

Easy way to earn money online with advertisements

Ads:

Best selling and shopping at: ebay


Hello there,

In this post i'm gonna giving you information about site which gives you ads to display on your site if you are continuously disapproved by Google Adsense.

I apply many time for Google AdSense but disapproved every time.Suddenly i come come across some site which are alternatives to Google AdSense.

The first one is VigLink. This site provide you in text link for your contents.it will detect some specific product name and will put link to that site.when user click on that link your link count will increase. Click here to register with VigLink

The second is clicksor .This site provides text link with graphic link also. it will also show pop-up on your site and you will get money for every click and referral.Payment will be done using paypal or check. Click Here to register with clicksor

The next is CBPROADSit will provide you a direct link of ads with various types of ads(e.g ontextual ads,widget ads for mobile ,block image ads etc.).Click here to register with CBPROADS

The next is adpruddenceit will provide you a direct CODE of ads with various types and size of ad blocks.Click here to register with adprudence

The next is infolinks.This site is good if your site have enough textual content on it.it will provide in text link for your page.

The next is eDomz.you just need to register your site here.they will verify your site and reply you.need minimum 25$ to withdraw money.Click Here to register for eDomz


Some more are also avalable:

www.affinity.com/
www.infolinks.com/join-us
www.luminate.com/
www.hubpages.com/
www.tagvillage.com
www.breezeads.com/
Protected by Copyscape DMCA Copyright Detector

See Also:


Minggu, 19 Agustus 2012

Example of polymorphism in java with abstract class

Ads:

Best selling and shopping at: ebay

free Download unlimited wallpaper at: Photoshare.byethost3.com


Program definition:

Write a program to create abstract class shape having instance variables dim1(dimension) in double and color and two member methods: 1.void display():displays the color of the specific shape. 2.abstract void area(): gives the area for given shape.

Note:

A method for which you want to ensure that it must be overridden(In following example area()),you can define such method as abstract methodand class that contains one or more abstract method must be abstract class.Just put keyword abstract to define it as abstract class


abstract class shape
{
private double dim1;
String color;
shape(double d1,String c)
{
dim1=d1;color=c;
}
void display()
{
System.out.println("Color :"+color);
}
abstract void area();
public double getdim1(){return(dim1);}
}
class triangle extends shape
{
private double dim2;//dim1=base,dim2-altitude
triangle(double d1,double d2,String c)
{
super(d1,c);
dim2=d2;
}
void area()
{
double d1=getdim1();
double a;
a =d1*dim2/2;
System.out.println("Area :"+a);
}
}
class square extends shape
{

square(double d1,String c)
{
super(d1,c);
}
void area()
{
double d1=getdim1();
double a=d1*d1;
System.out.println("Area :"+a);
}
}
class rectangle extends shape
{
private double dim2;//dim1=width,dim2=breath
rectangle(double d1,double d2,String c)
{
super(d1,c);
dim2=d2;
}
void area()
{
double d1=getdim1();
double a= d1*dim2;
System.out.println("Area :"+a);
}
}
class circle extends shape
{

circle(double d1,String c)
{
super(d1,c);
}
void area()
{
double d1=getdim1();
double pi=3.1416;
double a= 2*pi*d1;
System.out.println("Area :"+a);

}
}
class a9
{
public static void main(String args[])
{
triangle t = new triangle(2,4,"red");
t.display();
t.area();
square s = new square(4,"green");
s.display();
s.area();
rectangle r = new rectangle(4,8,"yellow");
r.display();
r.area();
circle c = new circle(6,"orange");
c.display();
c.area();
}
}

For more Assignment problems Click Here


See Also:

Sabtu, 28 Juli 2012

How to Make the Blogger Posts Have a Calendar for the Date in

It's quite common to see calendar style dates next to some WordPress posts but for the Blogger platform it isn't always easy adding it. But who said you can't do it? You need to look no further than this blog. In this tutorial, we'll learn how to create a calendar style for your Blogger posts date!


How to create calendar style dates in Blogger



Step 1. Go to "Settings" > "Language and Formatting" - "Date Header Format" and change the date format as you can see in this example below (first add day, month and finally year)
 

Step 2. Go to Template > click the "Edit HTML" button


Step 3. Click anywhere inside the code area and press CTRL + F to open the blogger' search box

Step 4. Type or paste the following line inside the search box and hit Enter to find it:
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
Step 5. In case you find it twice, replace it twice with this code:
<div id='Date'>
<script>changeDate(&#39;<data:post.dateHeader/>&#39;);</script>
</div>
<b:else/>
<div id='Date'>
<script>changeDate(&#39;&#39;);</script>
</div>
Step 6. Now type this tag inside the search box and hit Enter to find it:
</head>
Step 7. Just above the </head> tag, paste this code:
<script type='text/javascript'>
//<![CDATA[
var DateCalendar;
function changeDate(d){
if (d == "") {
d = DateCalendar;
}
var da = d.split(' ');
day = "<strong class='date_day'>"+da[0]+"</strong>";
month = "<strong class='date_month'>"+da[1].slice(0,3)+"</strong>";
year = "<strong class='date_year'>"+da[2]+"</strong>";
document.write(month+day+year);
DateCalendar = d;
}
//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<style type='text/css'>
/* Calendar style date
----------------------------------------------- */
#Date {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUREzYT-M695IVif6wAT1IdseLNBg5jPXHDc7xgrWiBNY0Oe-CZTkBGarAxnCmf8CjYSTdMeaMUq-81WNEah44_GtaQCas8ElLWJnG926CIHyoCmOE4iiiG933OiiIKJQ3VIB5dwGsvuk/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px -40px -108px;
padding: 0 0 8px 0px;
border: 0;
text-transform: uppercase;
}
.date_month {
display: block;
font-size: 15px;
font-weight:bold;
margin-top:-1px;
text-align:center;
color:#ffffff; /* Month's color */
}
.date_day {
display: block;
font-size: 28px;
font-weight:bold;
margin-top:-8px;
text-align:center;
color:#282828; /* Day's color */
}
.date_year {
display: block;
font-size: 10px;
margin-top:-8px;
text-align:center;
color:#282828; /* Year's color */
}
</style>
</b:if>
Before saving the Template, here we can make some changes:

- To change the calendar style, replace the url in blue with yours;
- If the calendar doesn't appear as it should, change -108 with 0;
- With green are marked the areas where you can change the color of the dates

Step 8. Now Preview your Template and if everything looks ok, hit the Save Template button.

That was all... Enjoy!

Sabtu, 21 Juli 2012

Quick Sort Algorithm in C


Quick Sort algorithm is algo. for sorting given no of data with complexity 'in order of' n2[O(n2)].Here is the complete program Implemented in C language for Microsoft Windows OS.




#include
#include
void sort(int [],int,int); //prototype of sort()
void partarray(int [],int,int,int *); // prototype of partition()
void main()
{
int i,j,a[8]={13,24,324,41,55,46,37,38};
clrscr();
sort(a,0,7);// call to sort function
//0 points to lower bound
// 7 points to upper bound
for(i=0;i<8;i++)
printf("%d\n",a[i]); //printing sorted array
getch();
}
void sort(int a[],int lb,int ub)
{
int j;
if(lb >=ub) // condition for recursion breaking
return;
partarray(a,lb,ub,&j);
sort(a,lb,j-1); //recursive call to sort() function
sort(a,j+1,ub);
}
void partarray(int a[],int lb,int ub,int *j)
{
int b,down,up,t; //if you see,left most end is
// pointed by up pointer and
// vice versa
b=a[lb];
down=ub;
up=lb;
while(down > up)
{
while(a[up] <= b && up < ub)
up++; //updating up pointer
while(a[down] > b && down >= lb)
down--; //uadating down pointer
if(down > up)
{
t=a[down];
a[down]=a[up];
a[up]=t;
}

}
a[lb]=a[down];
a[down]=b;
*j=down;
}
Protected by Copyscape Web Plagiarism Detector

You can also analyze the time taken by sort() function in Linux OS using 'gettimeofday()' function.


Ads: ebay :ebay UKBest selling and shopping at:ebayebay.co.uk

See Also:

Kamis, 12 Juli 2012

Submit Blog & Sitemap to Google, Bing & Yahoo

Submit Blog & Sitemap to Google, Bing & Yahoo

Submit-Blog-Sitemap-Google-Bing-Yahoo
Submit Blog & Sitemap to Google, Bing & Yahoo

Submit Blog to Google


1. Go to Google Webmasters
2. Login with your google account
Read the rest of this post »