Wednesday, March 23, 2005

Page Hijack Exploit: 302, redirects and Google

Page Hijack Exploit: 302, redirects and Google: "racked this and related problems with the search engines literally for years. If there was something that you could easily do to fix it as a webmaster, I would have published it a long time ago. That said; the points listed below will most likely make your pages harder to hijack. I will and can not promise immunity, though, and I specifically don't want to spread false hopes by promising that these will help you once a hijack has already taken place. On the other hand, once hijacked you will lose nothing by trying them.
Always redirect your 'non-www' domain (example.com) to the www version (www.example.com) - or the other way round (I personally prefer non-www domains, but that's just because it appeals to my personal sense of convenience). The direction is not important. It is important that you do it with a 301 redirect and not a 302, as the 302 is the one leading to duplicate pages. If you use the Apache web server, the way to do this is to insert the following in your root '.htaccess' file:"

Tuesday, March 08, 2005

sqlclient.sqlexception incorrect syntax parameter near ?

the sqlclient does not accept '?' as a parameter, you must use '@' instead.

Wednesday, March 02, 2005

ABC News: Getting Sick on an Ocean Cruise

ABC News: Getting Sick on an Ocean Cruise: "Margolin, a leading microbiologist and viral expert at the University of New Hampshire who consults for the government, told ABC News he thinks such stains are not uncommon on cruise ships or in hotels and motels. 'I think what's new is that we have new ways of detecting it so that we now know that it really exists,' he said. "

Monday, February 28, 2005

Server Application Unavailable

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.


I had to uninstall VS 2005 Beta before it would work again.

Monday, February 21, 2005

Microsoft Office Assistance: ASCII character chart

Microsoft Office Assistance: ASCII character chart

Remove unwanted line breaks from data

Remove unwanted line breaks from data: "Sub CarriageBegone()
Dim rng As Range
For Each rng In Selection
rng.Replace vbLf, ', '
rng.Replace vbCr, ', '
Next rng
Set rng = Nothing
End Sub "

Tuesday, February 01, 2005


farm Posted by Hello

VNC disable tray icon

ImageShack� - Hosting: "Thanks to ImageShack for [URL=http://www.imageshack.us]Free Image Hosting[/URL]"

Change default Word font

Change the Normal template (Normal.dot)

The Normal template (Normal template: A global template that you can use for any type of document. You can modify this template to change the default document formatting or content.) opens whenever you start Word, and it includes default styles, AutoText, macros, toolbars, and other customizations that determine the basic look of your document.

On the File menu, click Open, and then navigate to

C:\Documents and Settings\user name\Application Data\Microsoft\Templates.
If no templates are listed in the Open dialog box, click the arrow next to the Files of type box, and then click Document Templates.

Double-click the Normal.dot file to open it. To be certain that you're working in the default template, check to see that Normal.dot appears in the Word title bar.
Make any changes you want, using the menus and dialog boxes just as you would to change default settings for a document, but remember that any changes you make to Normal.dot will be applied to documents that you create in the future.
When you have finished, on the Standard toolbar (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, click Customize on the Tools menu, and then click the Toolbars tab.), click Save .
Note If Normal.dot is renamed, damaged, or moved, Word automatically creates a new version (which uses the original default settings) the next time that you start Word. The new version will not include any customizations you made to the version that you renamed or moved.