Flash Player is not working in Google Chrome Browser – How to install

If there is a problem in viewing videos/flash content  in youtube or facebook etc; through chrome browser,Here is a easy way to resolve it.

Step 1 : Download Adobe Flash Player installer for Google Chrome from Adobe officially website. Click here to download.

Step 2 : You will get a prompt message at the left bottom corner of the screen as  save the file or discard.Click Save button.

Step 3 : Open the path of downloaded  folder and run the install_flash_player.exe.

Step 4 : Restart Chrome.

By installing flash player the problem will be resolved.Enjoy flash content in Google chrome.

Popularity: 20% [?]

How To Print The E-Mail from Gmail – Tip

To print the mail we don’t need to copy the content to doc/notepad and print them. Gmail makes it easy to print the email message with an option.

To print the whole email message,open the email and click on the “Reply” button in the top right corner of the email.This opens a drop down with links, click on Print in it.


A new window/tab will open in the browser with the Gmail logo and the email message content. The print dialog box will also open immediately from which we can print the email.

Popularity: 8% [?]

Steps to Convert the CLOB to VARCHAR2 Data Type

Steps to convert the CLOB(Character Large OBject) to Varchar2 data type.

Step 1: Create a new temporary column with varchar2
Step 2: Move the CLOB column content to new temporary column, if it is needed. (Note : By this situation you may loose the data depending upon Max length)
Step 3: Drop the CLOB column.
Step 4: Rename the temporary column with dropped CLOB column.

Example:

Step 1: ALTER TABLE your_table (temp_column VARCHAR(4000));
Step 2: UPDATE your_table SET temp_column = DBMS_LOB.SUBSTR(clob_column, 4000, 1);
Step 3: ALTER TABLE your_table DROP COLUMN clob_column;
Step 4: ALTER TABLE your_table COLUMN temp_column TO clob_column;

Popularity: 3% [?]

How to Convert the Data Type VARCHAR2 to CLOB in Oracle

We cannot directly convert the data type VARCHAR2 to CLOB(Character Large OBject). Using below two options, we can able to covert it.

Option 1:

Step 1 : Convert the VARCHAR2 To LONG Data Type
Step 2 : Convert the LONG to CLOB Data Type.

Example:

Step 1: ALTER TABLE YOUR_TABLE_NAME MODIFY(Your_Column_Name LONG);
Step 2: ALTER TABLE YOUR_TABLE_NAME MODIFY(Your_Column_Name CLOB;

Option 2:

Step 1: Add a new column as CLOB
Step 2: UPDATE VARCHAR2 date to CLOB column
Step 3: DROP VARCHAR column
Step 4: Rename CLOB column to VARCHAR column name

Popularity: 5% [?]

How to Lock the system/PC just using the mouse – Trick

We usually use Alt+Ctrl+Del or Windows+L to lock our system by the keyboard.Lets see how we can lock the system by the mouse.

Step 1 : Right click on the desktop, point to New->Shortcut.

shortcut
Step 2 : In the Shortcut dialog box, copy and paste ‘rundll32 user32.dll,LockWorkStation‘ without single quote in the ‘Type the location of the item’ text box and Click Next.

ShortcutDialog
Step 3 : In “Type a name for this shortcut” text-box type some name you wish like “Lock the System” and Click Finish.


Step 4 : Just double click on the icon, the desktop will be locked :)

Popularity: 2% [?]

Remove white spaces in a string c#

By using trim() we can remove white space characters from the beginning and end of a string.But to remove white space characters in middle we cannot use trim() method.

we can easily remove the white spaces/empty space in a string by replace method

string strSample = “Test with white space”;
strSample = strSample.Replace(” “, “”);

Result : strSample = “Testwithwhitespace”

Popularity: 6% [?]

How to enable gzip compression in jBoss?

To enable JBoss http protocol gzip compression you have to change the server.xml file.
Location:
Less than 4.0 Version : ${jBoss-home}\server\default\deploy\jbossweb-tomcat50.sar\server.xml
above 4.0 Version     : ${jBoss-home}\server\default\deploy\jboss-web.deployer\server.xml

Find this piece of xml code:
<Connector port=”8080″ address=”${jboss.bind.address}” maxThreads=”250″
maxHttpHeaderSize=”8192″ emptySessionPath=”true” protocol=”HTTP/1.1″
enableLookups=”false” redirectPort=”8443″ acceptCount=”100″ connectionTimeout=”20000″
disableUploadTimeout=”true” compression=”0″></Connector>

When compression is disabled compression parameter is set to 0.
To enable compression set it to 1.

After that you can see the difference.
It can compress HTML,CSS,JavaScript,Images File from 1 MB to around 300kb.

Popularity: 4% [?]

What is Generics in java?

Generics:

Generics provides compile-time (static) type safety for collections and
eliminates the need for most typecasts (type conversion).

For Example:

List<String> stringList = new ArrayList<String>();
stringList.add(“one”);
stringList.add(“two”);
stringList.add(“three”);
stringList.add(“four”);
stringList.add(“five”);

In the above example,we can add only the String in a ArrayList.If we add
Other than String mean it’s throw an error.

Other Uses Of Generics are:
In For loop we directly use without checking condition of length.

Example:
Previously Used For Loop:
========================
String value=”";
for(int i=0;i<stringList.length();i++)
{
value=(String)stringList.get(i);
System.out.println(value);
}

Generic For Loop
================
for(String value : stringList)
{
System.out.println(value);
}

Popularity: 2% [?]

Lighttpd Web Server

lhttpd logoLIGHTTPD (pronounced by Lighty) is an opensource webserver for Security, Speed, compliance and flexibility. Its been optimized for high performance environments. With a small memory footprint, effective management of CPU load and advanced features like FastCGI, SCGI, Auth, Output compression and URL rewriting; lighttpd is the perfect solution for servers suffering from load problems.

lighttpd powers several popular Web 2.0 sites like YouTube, Wikipedia and Meebo. Its high speed io-infrastructure allows them to scale several times better with the same hardware than with alternative web-servers. Its event-driven architecture is optimized for a large number of parallel connections (keep-alive) which is important for high performance AJAX applications.

You can check the Lighty benchmark here.

You may be interested in some of the Lighty extension projects,

Lighty2Go – Portable Lighty webserver configured with MySQL and PHP stack.

yPortableWS – Portable Lighty Webserver with MySQL and PHP stack.

WLMP Project – Windows based Lighty with MySQL database server and PHP support.

Popularity: 3% [?]

How to Clear/Delete the My Recent Documents Opened in Windows XP

If you think that you have opened many documents and want to delete them,Here are the Steps;
We can clear the list through the menu and we can also delete all the documents opened by going to the physical path where the documents are located.
Way 1 : Clearing through Start Menu

1. Right Click Start Menu and select Properties.Click on Customize button.This will open Customize Start Menu window.
Start Menu Properties
2. Click on Advanced tab.In the Recent Documents panel,Click Clear List button.Which will clear all the recent documents.
Customized Start Menu

Way 2 : Deleting recent documents through recent document folder.

Recent document folder would be located at the Documents and Settings of that profile folder.
1. Go to Start Menu.Click Run and type “recent”  without quotes in the open textbox.This will open the physical path of the recent documnets folder.
run-recent
2. Select All(Ctrl+A) the files and delete them.
Recent Folder

Popularity: 3% [?]

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars