How to remove/block Ads in Yahoo Messenger (Yahoo chat)

If you are an Yahoo's user and you using their Messenger called Yahoo Messenger, maybe you'll see some annoying ads that stealing focus from your current work. You can search the Internet & see many solution like changing Registry, download & run an application,..... but in my opinion, using hosts file of Windows to block these ads working 100%.

Let's talk less & do now:

- Go to Start menu -> Run (or typing directly to the search box for Windows Vista/Windows 7), type the command below to open hosts file & press Enter:
notepad %systemroot%\system32\drivers\etc\hosts
- Add the following lines to the end of the hosts file:
127.0.0.1 insider.msg.yahoo.com (skip this line if you want to see the NEWS from Yahoo)
127.0.0.1 tr.adinterax.com
127.0.0.1 ad.yieldmanager.com
127.0.0.1 content.yieldmanager.edgesuite.net
127.0.0.1 us.adserver.yahoo.com
127.0.0.1 sg.adserver.yahoo.com

- Save the hosts file & Enjoy Ads Free Yahoo Messenger

Please write the source: blogbynoob.blogspot.com
If you want to copy this article. Thanks

How to install & run 20dollars2surf on Linux

20dollars2surf is a program you can use to make money online doing nothing. But, if you use LINUX, the program can't run or run with error using WINE.

I just found the way to install & run 20dollars2surf cashbar on Linux. I'll show you how.

First, you need to upgrade your WINE to the latest verion (mine is wine-1.2.3).
Download WINETRICKS to /usr/bin (click here for instruction to download WINETRICKS)
Use WINETRICKS to install "vb6 runtime", "ie6" (or ie7, ie8) by type into Terminal these command:

sh winetricks vb6run
sh winetricks ie6

Download the installation file of 20dollars2surf to your disk (ex. /root/cashbar/)
Open Terminal as root, move the current directory to the folder you just download installation file (ex. cd root/cashbar), type wine setup.exe (the installation file name downloaded is setup.exe). And install like normal.

After that, your 20dollars2surf cashbar should run normally without any error. Enjoy!

P/S: After install, you can run 20dollars2surf by using command
wine "C:\Program files\20Dollars2surf\20dollars2surf.exe" > Windows 2008 R2

Java - connect to SQL Server using JDBC ODBC in win 64bit

When I do my School Project (Create an Java App connect to an DB), I found it's can't be done in windows 64bit, so I search the Internet and I found my own way to finish it in Windows 64bit. Just follow these step below.

Step 1
Run the 32-bit odbc driver using
WinKey+R, then copy-paste the below command
C:\Windows\SysWOW64\odbcad32.exe

Step 2
Make a dsn named “SQLDB” or whatever name you want to.

Step 3
Create a new project in eclipse.

Step 4
Change the jre to the java installed inside
C:\Program Files (x86)\java
Use this as “JRE System Library”


Step 5
Use the below code to connect to connect to SQL Server (It's a SQL_Connection class)
import java.sql.*;


public class SQL_Connection {
    public static Connection GetConnection()
    {
        try{
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     Connection connect=DriverManager.getConnection("jdbc:odbc:SQLDB");
     return connect;
        }
        catch(Exception ex)
        {
            ex.printStackTrace();
            return null;
        }
    }
    public static int ExecuteQueryString(String querystring)
    {
        try{
            Statement st= GetConnection().createStatement();
            return st.executeUpdate(querystring);
        }
        catch(Exception ex)
        {
            ex.printStackTrace();
        }
        return -1;
    }
    public static ResultSet getResultSet(String querystring)
    {
        try{
            Statement st= GetConnection().createStatement();
            ResultSet rs= st.executeQuery(querystring);
            return rs;
        }
        catch(Exception ex)
        {
            //ex.printStackTrace();
            return null;
        }
    }
    public static void Close_Connection(Connection conn)
    {
        try
        {conn.close();}
        catch(Exception ex)
        {}
    }
}
DONE!!!!

YouTube Easter Egg let's you play Snake while loading Clip (Video)

No, not Metal Gear Solid's Snake. We're talking about the Snake that was popular before the smartphone was a twinkle in the industry's eye. Google has imbued YouTube videos with an engaging new easter egg that lets you play the apple-chasing game while your video stream buffers -- simply mash your keyboard's up and down arrow keys during most any clip to increase YouTube's time-wasting potential tenfold. What's that you say -- your internet connection is so ludicrously fast that videos play instantly? Ah, my lucky friend, let us introduce you to YouTube's 4K mode. Or, for a special treat, hijack the footage we've provided after the break to get your meta-giggles going.

Access data in MS-Access database using Javascript

You know that javascript is a client-side programming language. But if you want to use the local database like MS-Access in your HTML page just using javascript? Here is some code that help you access the data of MS-Access DB in HTML page using JavaScript:

Adding a Record

function AddRecord() {
var adoConn = new ActiveXObject("ADODB.Connection");
var adoRS = new ActiveXObject("ADODB.Recordset");

adoConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='/\dbName.mdb'");
adoRS.Open("Select * From tblName", adoConn, 1, 3);

adoRS.AddNew;
adoRS.Fields("FieldName").value = "Quentin";
adoRS.Update;

adoRS.Close();
adoConn.Close();
}

Removing a Record

function DeleteRecord() {
var adoConn = new ActiveXObject("ADODB.Connection");
var adoRS = new ActiveXObject("ADODB.Recordset");

adoConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='\\dbName.mdb'");
adoRS.Open("Select * From tblName Where FieldName = 'Quentin'", adoConn, 1, 3);
adoRS.Delete;
adoRS.Delete;

adoRS.Close();
adoConn.Close();
}

Editing a Record

function EditRecord() {
var adoConn = new ActiveXObject("ADODB.Connection");
var adoRS = new ActiveXObject("ADODB.Recordset");

adoConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='\\dbName.mdb'");
adoRS.Open("Select * From tblName Where FieldName = 'Quentin'", adoConn, 1, 3);

adoRS.Edit;
adoRS.Fields("FieldName").value = "New Name";
adoRS.Update;

adoRS.Close();
adoConn.Close();
}


Querying data:


var pad = "C:\\My Documents\\data.mdb";
var cn = new ActiveXObject("ADODB.Connection");
var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + pad;
cn.Open(strConn);
var rs = new ActiveXObject("ADODB.Recordset");
var SQL = "SELECT * FROM datatable";
rs.Open(SQL, cn);
if(!rs.bof) {
rs.MoveFirst();
if(!rs.eof) {
document.write("<p>" + rs.fields(1).value + ", ");
document.write(rs.fields(2).value + ", ");
document.write(rs.fields(3).value + ".</p>");
}
}
else {
document.write("No data found");
};
rs.Close();
cn.Close();

Best Free Anonymous Surfing Service

Introduction

Anonymous Browsing ApplicationsThis is the 21st century, the so-called Digital Age, an age where information is more public than it is private. The sheer growth of the Internet has led to privacy concerns for a great number of people.
We are entitled to our privacy in the real world so why not in the virtual one? There are many genuine reasons why people wish to stay anonymous on the Internet; ranging from simple paranoia, to hiding browsing activities from a spouse and averting your authority.
We are not here to debate the legal, moral or ethical issues surrounding anonymity on the Internet, but merely to provide you with reviews on some of the methods you can take to achieve it. The programs listed here are classified as free software and you will never have to pay a penny for any of them. If you have already paid for any of them then I suggest you demand a refund.

The places where these programs help are internet cafes, libraries, schools, workplaces, public and prepaid Wi-Fi hotspots where there is a greater need for privacy. Depending on your reasons, they are also perfect products for use in your home to prevent prying eyes and even your ISP from monitoring you. Whilst there are no guarantees of achieving 100% anonymity online the following free programs do a great job in the vast ether we know as the Internet.
Ultimately, anonymity comes down to two essential points:
  1. The Browser - this is the point of entry to the World Wide Web and the way people can access data about you. If you are serious about your anonymity on the Internet, changing the configuration of your browser is essential.
  2. The Software - this is the nuts and bolts of the anonymity machine that deals with network data traffic and where to route it. Normally, our network data flows straight through to our ISP and out, which means our ISP keeps tabs on us all the time. Specialised software allows us to encrypt our network data so that when it passes through our ISP, they won't be able to see what it is.
There are a few types of connections which enable anonymous surfing:
  • p2p - peer to peer is a decentralized network that routes data through peers as identifiable data pieces by location independent keys. Generally secure but could potentially be insecure as a peer could log information about the data that is passing through it.
  • Proxies - routing machines named proxy servers continuously act upon your transfer requests to forward data, avoiding direct communications with the point of contact the data packets usually would be handled at. Secure but to a proportion, factually routes can only be technically random and any logging of this passing data means vulnerability. 
  • VPN - a Virtual Private Network that securely tunnels all of your information from one point to another in essence meaning your data transfer appears to initiate from a remote machine. Generally very secure but could potentially be insecure as a server could log information about the data that is passing through it.
With the popularity of portable USB devices increasing, it is now possible to run portable versions of software which do not interfere with the client machine configuration. JonDo, Tor and many other anonymity programs listed here are now fully portable and may work under restricted conditions such as being behind a corporate firewall. However, this does not warrant the fact you can breach your company's acceptable use policy.

Read more at Best Free Anonymous Surfing Service

PC tricks programs - for fun

You want to trick your friends? You want to make they believe that their computer has some problems? Download these below program and have fun (EVIL).


Fake Virus: The Ultimate Virus & Lappet
Download The Ultimate Virus: http://www.mediafire.com/?uqo4i5voryyqo8k (565.83 kB)
Download Lappet: http://www.mediafire.com/?0zwg8p9r49bc2nd (6.48 kB)

Sponsors