Tuesday, December 27, 2011

Top Websites to Watch Live TV on Your Computer or Laptop

List of Websites to Watch Free TV Channels



1.Free live cricket (fastest cricket streaming)
2.Live Indian Channels (more than 3000 tv channels)
3. TV Channels Free (Watch Free 4500 TV Channels)


4. Free TV Video Online (Watch 500 Channels)
5. Crafty TV (Watch 1000 Channels)
6. TV Video (Great website for watching free Channels)
7. The TV Bay (thetvinfo.info is also a free way to watch tv on your PC)
8. Watch Free TV Online (Watch online free tv on your Laptop)
9. JumpTV (Watch all latest and live shows)
10. Watch Free TV (Free TV on your Laptop and PC)
Still there are allot of websites available, where you can watch free tv online on internet.   If you have another website which provide such free service then don’t forget to share with us.

Saturday, April 23, 2011

list of hosting companies and free webhosts

My Dedicated Server Host

http://www.serverbeach.com/catalog/index.php

Most Used Free Hosts

http://www.tripod.lycos.com/

http://pages.google.com

http://www.geocities.com/

http://www.freewebs.com/

http://www.bravenet.com

Free Hosts with Advanced Features

Some with no ads, some with mysql, some with php, etc.

http://www.awardspace.com/web_hosting.html

http://www.atspace.com/

http://www.000webhost.com/

http://www.memebot.com/

http://byethost.com/freeplans.php

http://www.globalweb.com.ru/hosting.php

http://www.110mb.com/ (PHP safe_mode off)

http://www.t35.com/free-web-hosting.php

http://www.myjavaserver.com/signup

http://www.propercomfy.co.uk/

http://www.100webspace.com/web_hosting/free_plan.html

http://www.own-free-website.com

http://www.cwahi.net//

Free Domains

Free ".com / .net / .org" domains don't exist. Many webhosts give you a free domain registration if you signup to one of their paid packages.

co.nr domain
.tk domain
zones.in domain
no-ip domain

Most common Paid Domain Registrars

http://www.godaddy.com/gdshop/default.asp

http://smallbusiness.yahoo.com/domains/

Paid Dedicated or Shared Hosting

Compare the features on a bunch of paid hosts. They usually have php / mysql and a slew of other features. The bandwidth they offer is important. Shared hosting means that multiple accounts / sites are hosted on the same computer. Dedicated servers are servers that are just for you, but cost more. Co-location is where you buy a spot in server farm and install configure everything yourself at that physical location.

Shared hosting is a great way to start, some are as cheap as 7 dollars a month, much less than many people spend on sodas.

http://www.serverbeach.com/catalog/index.php
http://www.dreamhost.com/
http://www.lunarpages.com/
http://www.slicehost.com/

http://www.bluehost.com/tell_me_more.html

http://www.hostican.com/hosting/shared-hosting.php

http://www.x10hosting.com/hosting/adenhanced

http://www.1and1.com/

http://www.ecosnap.com/hosting_plans.php

http://www.readyhosting.com/

http://www.yrhost.com/

http://trustyhost.com/

http://www.anhosting.com/all-inclusive-web-hosting.php

http://www.active-domain.com/

http://www.cogentco.com/

http://www.noago.com/add/

http://www.surpasshosting.com/affordable-web-hosting-plans.html

http://www.ardenthosting.com/index.php

http://www.arishost.com/

http://www.bchosting.com/

http://www.lonex.com/

http://www.canaca.com/
http://www.webhostingnetwork.biz/

http://www.advancednetworkhosts.com/

http://www.servermatrix.com/

http://www.valueweb.com/promos/dedicatedserverhosting2.htm

http://www.rackforce.com/

http://www.deleteddomains.com/

http://www.dnbuy.com/

http://www.free-webmaster-tools.com/domain_expired_domain.htm

http://www.fivebuckhost.com/index.php

http://www.flatface.net/index.php?page=hosting

http://www.getfreedomain.biz/

http://www.webhosts4free.com/

http://www.fuseblast.com/home/index.htm

http://www.globat.com/

http://www.hostingu.com/

http://www.hostrocket.com/

http://www.hostrocket.com/home/index.htm

http://www.imhosted.com/

http://inmotionhosting.com/

http://www.ipage.com/learnmore_webhosting.html

http://www.jtlnet.com/dedicated.html

http://www.omnis.com/webhosting.php

http://www.onedollarhost.net/

http://www.onsmart.net/

http://www.portland.co.uk/

http://www.powweb.com/

http://rackhost.net/

http://www.resellersway.com/

http://sagonet.com/

http://www.sassydomains.com/

http://www.hostwhere.com/top-5-web-hosting-comparison.html

http://www.gisol.com/hosting/

http://webhostingtalk.com/

http://www.backy.cc/

http://www.micfo.com/

http://www.sphosting.com/

http://www.networksolutions.com/

http://www.zaxhost.com/hosting.htm

http://hostbreak.com/

http://servermatrix.com/

http://www.ehostsource.com/

http://infinology.com/dbasicserver.html

http://mediatemple.net/

http://oc12hosting.com/

http://olm.net/

http://www.allthewebsites.org/webdirectory/

http://www.cellnethost.com/

http://www.concordhosting.com/

http://www.crystaltech.com/

http://www.ecmshosting.com/

http://www.geekhosting.com/

http://www.h2hosting.com/

http://www.tyte-hosting.com/

http://www.ev1.net/english/index.asp

http://linux-acpi.bkbits.net/

http://www.hostultra.com/

http://www.www-hosts.net/downloads.shtml

http://trustyhost.com/

http://www.anhosts.com/

http://www.active-domain.com/

http://www.cogentco.com/

http://www.noago.com/add/

http://www.surpasshosting.com/affordable-web-hosting-plans.html

http://www.ardenthosting.com/index.php

http://www.arishost.com/

http://www.bchosting.com/

http://www.lonex.com/

http://www.canaca.com/

http://www.webhostingnetwork.biz/

http://www.advancednetworkhosts.com/

http://www.servermatrix.com/

http://www.valueweb.com/promos/dedicatedserverhosting2.htm

http://www.rackforce.com/

http://www.deleteddomains.com/

http://www.dnbuy.com/

http://www.free-webmaster-tools.com/domain_expired_domain.htm

http://www.fivebuckhost.com/index.php

http://www.flatface.net/index.php?page=hosting

http://www.getfreedomain.biz/

http://www.webhosts4free.com/

http://www.fuseblast.com/home/index.htm

http://www.globat.com/

http://www.hostingu.com/

http://www.hostrocket.com/

http://www.hostrocket.com/home/index.htm

http://www.imhosted.com/

http://inmotionhosting.com/

http://www.ipage.com/learnmore_webhosting.html

http://www.jtlnet.com/dedicated.html

http://www.omnis.com/webhosting.php

http://www.onedollarhost.net/

http://www.onsmart.net/

http://www.portland.co.uk/

http://www.powweb.com/

http://rackhost.net/

http://www.resellersway.com/

http://sagonet.com/

http://www.sassydomains.com/

http://www.hostwhere.com/top-5-web-hosting-comparison.html

http://www.gisol.com/hosting/

http://webhostingtalk.com/

http://www.backy.cc/

http://www.micfo.com/

http://www.sphosting.com/

http://www.networksolutions.com/

http://www.zaxhost.com/hosting.htm

http://hostbreak.com/

http://servermatrix.com/

http://www.ehostsource.com/

http://infinology.com/dbasicserver.html

http://mediatemple.net/

http://oc12hosting.com/

http://olm.net/

http://www.allthewebsites.org/webdirectory/

http://www.cellnethost.com/

http://www.concordhosting.com/

http://www.crystaltech.com/

http://www.ecmshosting.com/

http://www.geekhosting.com/

http://www.h2hosting.com/

http://www.tyte-hosting.com/

http://www.dreamhost.com/

http://www.ev1.net/english/index.asp

http://linux-acpi.bkbits.net/

http://www.hostultra.com/

http://www.www-hosts.net/downloads.shtml

Tags: list of hosting companies, free webhosts, safe mode off php webhost, webserver free website, ftp access, mysql databases, fsockopen fopen access

Friday, December 17, 2010

Update set of tuples with new values : Oracle

declare

rCount integer;

j integer;

cursor cur_my_cursor is select * from my_table_name;

tRecordSet cur_my_cursor%Rowtype;

begin

rCount := 0; j:=1;

select count(id) into rCount from my_table_name;

dbms_output.put_line(rCount ' Records to be updated');

open cur_my_cursor; for j in 1..rCount

loop

fetch cur_my_cursor into tRecordSet;

update my_table_name mtn set mtn.unique_key = j

where mtn.field_one = tRecordSet.field_one

and mtn.field_two = tRecordSet.field_two

and mtn.field_three = tRecordSet.field_three

and mtn.field_four = tRecordSet.field_four

and mtn.field_five = tRecordSet.five;

dbms_output.put_line('Record id ' tRecordSet.field_one ' has been associated with an unique key of ' j );

end loop;

close cur_my_cursor; end;

ORA-24338: statement handle not executed

This happens when you try to read a cursor after fetching data from it. Try to read the cursor before you fetch data from it



PROCEDURE GetAffiliateCouriers(paffiliate_id number, io_cursor IN OUT appCursor)

IS

vcursor appCursor; tcursor appCursor; retCursor appCursor;

affiliate_id INTEGER; t_allow_courier_selection INTEGER;

v_row AFFILIATE%ROWTYPE; t_row AFFILIATE_COURIER%ROWTYPE;

BEGIN

vcursor := NULL;

tcursor := NULL;

affiliate_id := paffiliate_id;

LOOP

OPEN vcursor FOR SELECT * FROM affiliate WHERE id = affiliate_id AND allowcourierselection = 1;

FETCH vcursor INTO v_row;

IF (vcursor%FOUND) THEN

OPEN tcursor FOR SELECT * FROM affiliate_courier WHERE affiliate_courier.fk_affiliate_id = affiliate_id;

FETCH tcursor INTO t_row;

IF (tcursor%FOUND) THEN

OPEN retCursor FOR SELECT * FROM affiliate_courier WHERE affiliate_courier.fk_affiliate_id = affiliate_id;

io_cursor := retCursor;

RETURN;

END IF;

END IF;

SELECT fk_parent_id INTO affiliate_id FROM affiliate WHERE affiliate.id = affiliate_id;

EXIT WHEN affiliate_id IS NULL;

END LOOP;

io_cursor := retCursor;

END GetAffiliateCouriers;

Overriding Index of a Generic List

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Application.DomainModel.Collections
{
    public class Couriers<Courier> : List<Courier>
    {
        public Courier this[string courierCode]
        {
            get
            {
                return this.Find(delegate(Courier courier)
                { return (string.Compare(courier.CourierCode, courierCode) == 0); });
            }
        }
    }
    public class Courier
    {
        public string CourierCode { get; set; }
    }
}

List.IndexOf(Object o) .NET 3.0

this.ddlCourier.SelectedIndex = affiliatecouriers.IndexOf(affiliatecouriers
        .Find(delegate(Courier courier)
        {
            return courier.ID ==
                int.Parse(iOrder.Supplementary.DeliveryCode);
        }));



References http://msdn2.microsoft.com/en-us/library/x0b5b5bc.aspx

XML Serialization and Deserialization in .NET

/// <summary>
/// Serialize
/// </summary>
/// <param name="clientList">List of objects</param>
/// <returns>success/fail (bool)</returns>
private static bool SaveClientAttributes(List clientList)
{
    try
    {
        XmlSerializer serializer = new XmlSerializer(typeof(List));
        StreamWriter writer =
        new StreamWriter((Server.MapPath(string.Empty)) 
            + "\\ClientData.xml");
        List ClientList = new List();
        serializer.Serialize(writer, clientList);
        return true;
    }
    catch (Exception ex)
    {
        return false;
    }

}
/// <summary>
/// Deserialize
/// </summary>
/// <returns>List of objects</returns>
private static List LoadClientAttributes()
{
    List clientList = new List();
    try
    {
        XmlSerializer serializer = new XmlSerializer(typeof(List));
        FileStream fileStream =
        new FileStream((Server.MapPath(string.Empty))
            + "\\ClientData.xml", FileAccess.Read);
        clientList = (List)serializer.Deserialize(fileStream);
    }
    catch (Exception ex)
    {
        //Do nothing
    }
    return clientList;
}