Thursday, February 23, 2012

Adding Tables in Blogs

We are going to fix an annoying problem in Blogger which renders too much white space above the table. We do this by adding the following styling denoted in red directly above the table tag and adding a closing </div> at the end of the table code
<style type="text/css">.nobrtable br { display: none }</style><div class="nobrtable">
<table border="1" bordercolor="#000000" width="100%" cellpadding="3" cellspacing="0">
<tr>
<th>Table Header</th>
<th>Table Header</th>
<th>Table Header</th>
</tr>
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr">
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
</table>
</div>

Let's add some further styling to our table header to improve the look of our table.
Modify the following section
<tr style="background-color:#5555FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
<th>Table Header</th>
<th>Table Header</th>
<th>Table Header</th>
</tr>

Now we are going to jazz up our Blogger table by adding alternating colored rows to improve readibility and appearance. Also text alignment to center. By far the easiest way to do this is to assign a class.

<style type="text/css">.nobrtable br { display: none }tr {text-align: center;} tr.alt td {background-color: #eeeecc; color: black;} </style><div class="nobrtable">
<table border="1" bordercolor="#000000" width="100%" cellpadding="3" cellspacing="0">
<tr>
<th>Table Header</th>
<th>Table Header</th>
<th>Table Header</th>
</tr>
<tr class="alt">
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr class="alt">
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
</table>
</div>

Google Search - Know More




















































































Basic Examples
Search KeyResult
Smart ChildrenThe words Smart and Children
Recycle steel OR ironInformation on recycling steel or recycling iron
"Burn after reading"Exact phrase Burn after reading
salsa -danceThe word salsa but NOT the word dance
castle ~glossaryGlossaries about castles, as well as dictonaries, lists of terms, terminology, etc.
fortune-tellingAll forms of the term, whether spelled as a single word, a phrase, or hyphenated
define:optimistdefinitions of the word optimist from the Web




















































































































































































































































































































































































































































































































































































































































Restricted Searches
OperatorMeaningExamples and Results
+ - * /Basic Arithmetic10+2-3/9
% ofPercentage of40% of 286
^ or **Raise to a power5^2 or 5**2
Units in UnitsConverts Units100 Euros in USD, 50 lbs in kg, 27 in hex
City1 City2Book Flights



ekm bos





Flight details and booking options from Ernakulam to Boston

site:Search only one website or domainindia site:www.cricinfo.com
#..#Search within two numbersAccidents 2010..2012
filetype: or ext:Find the documents of the specified tyoeABC application form ext:pdf
link:Find linked pages



link:youtube.com





Show pages that have link to youtube website

book or booksSearch full text of booksbook the godfather
define, what is, what areDefinition for a word or phrasedefine podcast OR what is autopsy
movie:Find reviews and show timesmovie:traffic
author:Find groups messages from the authorkayar author:basheer
intext:The terms must appear inthe text of the page.



Dan Sugar intext:powerlight





Find pages mentioning Dan Shugar where his company, Powerlight, is included in the text of the page.

inurl:The terms must appear in the URL of the page.


pharmaceutical inurl:investor




Search for pages in which the URL contains the word investor.

intitle:The terms must appear in the title of the page.


movies comedy intitle: top ten




Search for pages with the words movie and comedy that include top ten in the title of the page.

Wednesday, February 22, 2012

Public DNS IP Addresses

By changing the settings to these DNS servers may increase your internet speed and reliability. Also these servers are always available. Some of the service providers and their free DNS IP addresses are














































































































Service ProviderIP Address
OpenDNS208.67.222.222



208.67.220.220

Google8.8.8.8



8.8.4.4

Dnsadvantage156.154.70.1



156.154.71.1

Norton198.153.192.1



198.153.194.1

GTEI DNS4.2.2.1




4.2.2.2


4.2.2.3


4.2.2.4


4.2.2.5


4.2.2.6

ScrubIt67.138.54.100


207.225.209.66

Create Shortcut for Task Manager

It will be easy to launch task manager from the quick launch bar...


  1. Right click on the open area on Desktop

  2. Select New/Shortcut

  3. Browse to \Windows\System32\taskmgr.exe

  4. Click Next

  5. Type a name for the shortcut (Task Manager)

  6. OK

  7. Drag the shortcut to the Quick Launch bar

Thats it....

Some Common Processes in Windows

Sometimes we open the Task Manager and wonder what is this process? is it required? Here are some of those..

svchost.exe
According to Microsoft: “svchost.exe is a generic host process name for services that run from dynamic-link libraries”. Could we have that in english please?
Some time ago, Microsoft started moving all of the functionality from internal Windows services into .dll files instead of .exe files. From a programming perspective this makes more sense for reusability… but the problem is that you can’t launch a .dll file directly from Windows, it has to be loaded up from a running executable (.exe). Thus the svchost.exe process was born. If you notice you can see somany svchost are running at the same time. We know there are somany services running in windows. If every service ran under a single svchost instance, a failure in one might bring down all of windows. So they are seperted out...
We can check this by using command:
C:\>tasklist /svc
See what service is running and if it is an unwanted service stop or disable it. We can also use command:
C:\>sc config ServiceName start= disabled

jusched.exe
Don't get panic this one is less dangerous than we think.. This is Java Update SCHEDuler, which is a process that wastes memory all the time just to check once a month whether there are new updates to Java. To get rid of this:
* Goto Control Panel
* Click on Java Icon (Inside Additional Options in Vista)
* Open java control panel
* Select Update tab
* Uncheck the box for "Check for Updates Automatically”
Now create 1 scheduled task for checking java update once in a month.
Browse and select “C:\Program Files\Java\jre1.6.0_01\bin\jucheck.exe”

ctfmon.exe
Ctfmon is the Microsoft process that controls Alternative User Input and the Office Language bar. It’s how you can control the computer via speech or a pen tablet, or using the onscreen keyboard inputs for asian languages. If you are using any of the above leave it..
Do the following to disable it

Win XP
* Control Panel
* Regional and Language options
* Languages Tab
* Details
* Advanced Tab
* “Turn off advanced text services”

Win Vista
· Control Panel
· Regional and Language options
· Change keyboards or other input methods
· Change keyboards
· Follow the steps as in windows xp

After that open msconfig and find ctfmon in startup tab and unchek it

You want to get rid of this thing from your system..?
Run this :
Regsvr32.exe /u msimtf.dll
Regsvr32.exe /u msctf.dll


Then Reboot

rundll32.exe
This is also a windows file to launch shared dll files. Normally this is a not harmful but some spyware uses the same file name. To check this look in the original file location which is \windows\system32\rundll32.exe. Delete other files. Open msconfig and remove it from the startup.

dwm.exe
Desktop Window Manager
Its used on windows vista and windows 7 to display the pretty effects -Transparent windows, Live taskbar thumbnails, Flip 3d switch, etc -which are microsoft's masterpiece as they say. Simply switching to the vista basic theme will no turn off dwn but it will reduce the memory usage a lot. It is not recommended to turn it off unless playing game in full screen mode.To disable it


  • Control Panel

  • Services

  • Desktop Window Manager Session Manager

  • Stop or take properties and disable it permenently

wmpnscfg.exe and wmpnetwk.exe

Windows media player can share media between different computers in a network. Both of these files are part of the sharing system. To disable this


  • Control Panel

  • Administrative tools

  • Services

  • Windows Media Player Network Sharing Service

  • Properties

  • Disable
Alternative Method using regedit
Reach here
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\HME
DisableDiscovery DWORD value; set the value to 2 (1 also should work)
then got here
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Delete entries for the above files.

Tuesday, February 14, 2012

Enable Task Manager

1) Run regedit
2) Go to
HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\system
3) In the right pane, look for the value: DisableTaskMgr
4) Delete the subkey (Give yes when prompted)
5) Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\system
6) In the right pane, look for the value: DisableTaskMgr
7) Delete the subkey (Give yes when prompted)
8) File/Exit
9) If it is still not accessable then reboot to safe mode and start from the beginning.

Regain Access to the Windows Registry Editor

Some malware will disable access to the Registry Editor. To prevent access to the Registry, malware generally does one of the following:
1) Makes changes to the Shell Open Command;
2) Changes system policies (i.e. group policy editor);
3) Drops a bogus regedit.com file

Depending on the method used, this might result in one of the following symptoms:
The registry appears to open but then quickly closes,
or
You receive the error: "Registry editing has been disabled by your administrator"
To regain access to the Registry, try the following:
1) Make sure you have enabled "View hidden files and folders"
2) Download Symantec's free UnHookExec.inf
http://securityresponse.symantec.com/avcenter/UnHookExec.inf
3) Boot into Safe Mode and access regedit from there.
4) If you still can't access then right click the UnHookExec.inf file and select Install.
This tool will correct unwanted modifications to the Shell Open Command and
and it will correct changes to System Policy which may be preventing access to the Registry editor. This tool runs silently - no messages will appear. After running, attempt to access the Registry.
5) If the registry appears to open but then quickly closes, it is likely that the malware has added a bogus regedit.com file to the system. The system will try to load regedit.com first, instead of regedit.exe
To resolve, try each of the following steps in order until resolution:
1) Search for and rename the bogus regedit.com file and see if the valid regedit.exe will now open.
2) Copy the legitimate regedit.exe to another folder and try to run it from the new location.
3) If none of these steps works, boot from a BART PE Recovery CD and open the registry from there.
http://antivirus.about.com/b/2007/11/12/bartpe-bootable-cd-for-windows.htm
4) Once you gained the control of the registry, remove the malware from the system and check the starup points (Previous post) for preventing it to reaffect your system.

AutoStart Entry Points in Windows

Except in the case of rootkit-enabled malware, it's often possible to remove an infection (at least the active components) by removing their startup points. Following is a list of some of the more frequently used autostart entry points in Windows, including startup folders, registry keys, and ini files.

WIN.INI file
The WIN.INI file was used in earlier versions of Windows (3.x and 9x) to load applications and configuration settings at startup. Though no longer used by default on newer operating systems such as Windows XP, values included in these files will still be acted upon. Thus, some malware authors will leverage the WIN.INI file to load viruses or other malicious software.
The pertinent sections to check in the WIN.INI file are the and lines located under the [Windows] heading.

System.ini File
The system.ini file was used in earlier versions of Windows to load device drivers and the explorer shell. The reliance on system.ini was phased out and is no longer relied upon by Windows XP and above. In the case of an upgrade from an older OS, such as 9x, to Windows XP or above, the settings contained in system.ini will be retained. Though a fresh installation of Windows XP or above will not include any data in the system.ini, subsequent inclusions will be acted upon by the OS. Hence malware authors still occasionally use the system.ini to cause viruses and other malicious software to load.
The pertinent line to check in the system.ini file is , located under the [boot] heading.

Startup Folder
%USERPROFILE%\Start Menu\Programs\Startup
%ALLUSERSPROFILE%\Start Menu\Programs\Startup

System Registry Run Keys
Check subkeys in Run and RunOnce
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
also
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

System Registry - Winlogon
Winlogon is responsible for supporting the DLL responsible for managing the interactive logon when Windows starts. Even booting into Safe Mode will not deactivate it. The string values that customize the Winlogon process are located in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows NT\CurrentVersion\Winlogon

Active Setup
The Active Setup registry key is an often overlooked load point. Programs register themselves using CLSIDs. For each CLSID listed under the Active Setip key, look for the value "StubPath". Any program specified by the StubPath value will be loaded when Windows is started. Pertinent key location is:
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\

ASEP Loading Sequence
The order in which Windows processes the autostart entry points is as follows:
RunServices / RunServicesOnce - HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER RunServices/RunServicesOnce will be launched concurrently. In the event of a conflict, precedent is given to HKEY_LOCAL_MACHINE. These ASEPS may continue loading during and after the login dialog.
Login Dialog (Winlogon)
RunOnce / Run for HKEY_LOCAL_MACHINE hive
Run key in HKEY_CURRENT_USER hive
Startup Folder
RunOnce in HKEY_CURRENT_USER hive

Disable the Windows XP Splash Screen

Disable the Windows XP Splash Screen using MSCONFIG

1. Run msconfig
2. Go to Boot.ini tab
3. Check the checkbox next to /NOGUIBOOT and click OK
4 Restart


To re-enable the splash screen
Choose the Normal Startup radio button and click OK.

Start System Restore From Command Prompt

Start Windows XP System Restore From a Command Prompt

1. Boot system in Safemode with Command prompt
2. At the prompt type C:\windows\system32\restore\rstrui.exe
3. Press enter it will launch the restore window

Remove GoogleUpdate.exe

How to Remove GoogleUpdate.exe

Google Chrome, Google Lively, Google Earth, and an untold number of other Google applications may install an update mechanism named googleupdate.exe, googleupdater.exe, or something similar. The googleupdate may continually attempt to access the Internet without requesting permission and without providing an option to disable it.

1. Instead of removal, a permission-based firewall such as ZoneAlarm can be used to temporarily block Googleupdate.
2. If manually removing take a system backup (seperate registry backup is good)
3. Locate instances of googleupdate, search all local fixed drives for googleupd or googleupd*.
4. The following may be found:
Google Update (Task Scheduler Object)
Googleupdate.exe (Application) (two or more locations)
GoogleUpdateHelper.msi (Windows Installer Package)
5. Delete Task scheduler object and GoogleUpdateHelper.msi.
6. Launch Task Manager and end the GoogleUpdate.exe process.
7. Open services console and check for any istalled service if it is then stop the service and Delete the GoogleUpdate.exe file.
8. Open the Registry Editor and go to HKCU\Software\Microsoft\Windows\CurrentVersion\Run\
9. In right pane look for 'Google Update' and delete it.
10. Reboot the system.....

Monday, February 13, 2012

Sorting Images, Documents, Music, Videos in 1 Click

REM To Sort Images, Documents, Music Files and Video Files
@echo off
echo Please wait....
md Images
move *.jpg .\Images\
move *.gif .\Images\
move *.bmp .\Images\
md Documents
move *.doc* .\Documents\
md Worksheets
move *.xls* .\Worksheets\
md PDF
move *pdf .\PDF\
md Music
move *.mp3 .\Music\
move *.wma .\Music\
md Videos
move *.avi .\Videos\
move *.3gp .\Videos\
move *.wmv .\Videos\
move *.mkv .\Videos\
move *.mpg .\Videos\
@cls

USB storage enable and disable

To Disable Storage
@echo off
REG add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f
@cls

To Enable Storage
@echo off
net start "IMAPI CD-Burning COM Service"
REG add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f
@cls