Removing ^M From File in Emacs

If you edit a text file on Windows and you then use it in emacs under a Linux environment you will see the ^M character at the end of each lin.

Do the following to remove it in emacs.

; goto top of buffer
M-x replace-string C-q C-m RET

The control-q will allow you to type control characters into the
input buffer.

Additionally, you could use the dos2unix command.

100 Open Computer Courses

While doing my usual random searching through Google I stumbled across a wonderful resource. Something I think every individual not only computer savvy persons or geeks would find useful. It’s a list of 100 open computer courses. Yes, open as in FREE!

The are split into the following categories:

  1. Computer Science and Engineering
  2. Computer Security
  3. Programming
  4. The Web
  5. Software
  6. Information Technology
  7. Communication Technology
  8. Technology in Education
  9. Tech Math
  10. Technology and Society

To see the full list head over to Fred Palmer’s website over at

Converting keystores between JKS and P12

Found these keytool commands that saved me some valuable time working with an already existing .p12 certificate for signing an applet.

It withs in JDK6 and onwards (not in JDK5 and earlier).

JKS → P12

keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS  -deststoretype PKCS12 -destkeystore keystore.p12

P12 → JKS

keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12  -deststoretype JKS -destkeystore keystore.jks

Original post by tomas at