Categories

Our Sponsors

Exporting Tomcat SSL keys to Apache httpd

Apache Tomcat SSL keys created with keytool are, by default, in der format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in pem(X509) format. Using the below steps you can export the tomcat’s keys to Apache httpd format and use it for Apache.

I assume that you already [...]

Share

Killing windows processes from the command line

Use TASKLIST and TASKKILL :  Good web site on this http://commandwindows.com/taskkill.htm

(F)orce Kill running processes for ImageName of java.exe taskkill.exe /F /IM java.exe

NOTE: Wildcard ‘*’ for the /IM switch is accepted only with filters, use /FI taskkill /F /FI “IMAGENAME eq note*”

Find all running Java processes command line tasklist /FI “IMAGENAME eq java.exe”

[...]

Share

Windows XP 2003 timestamps

I needed to do a little research on how timestamps work in Winders, XP and 2003 server.

Creation date later than modified date (“date modified” less than “date created”) In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says “When the document is copied [...]

Share

Launch Application from Excel

I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.

In Microsoft Excel

1) View/Toolbars Visual Basic 2) Click the Control Toolbox icon 3) Click on the Command Button icon and then click in your worksheet or drag the [...]

Share

Command Line Search and Replace

So you want to change some text in many unix files.

Try the following.

perl -pi -e ‘s/find/replace/g’ *.txt

or to script it out. Find the TEXT in regular files and replace with NEWTEXT

for file in `find ./ -type f -exec grep -l TEXT {} \;` do perl -pi -e ‘s/TEXT/NEWTEXT/g’ $file done

[...]

Share

Find hidden internet files on XP

I thought I had this listed once before.

There are hidden IE files on your system loaded at C:\Documents and Settings\$USER\Local Settings\Temporary Internet Files\Content.IE5

You can not see these files, and the Content.IE5 directory is totally hidden unless you manually type it in the File Exploder window.

Share

Turn off MS Word autocorrect

There is nothing more annoying that to have MS Word try and guess how you want your document formatted.

Have you encountered one or more of the many annoying habits of MS word?

1) Always capitalizing your first word in the sentence, even if you are try to write some sort of code. 2) Auto [...]

Share
Get Adobe Flash playerPlugin by wpburn.com wordpress themes