Microsoft says: How to correct “disable Autorun registry key” enforcement in Windows

Article ID: 953252

Article at Microsofts Help and Support pages: How to correct “disable Autorun registry key” enforcement in Windows (http://support.microsoft.com/kb/953252)

According to Technical Cyber Security Alert TA09-020A (http://www.us-cert.gov/cas/techalerts/TA09-020A.html) this has to be done manually for Windows 2000, XP and 2003.

Advertisements

Emacs Duplicate line

From: http://computingfunnyfacts.blogspot.com/2007/12/duplicate-line-in-emacs.html

;; Duplicate line
(defun duplicate-line()
 "Duplicate line."
 (interactive)
 (let (
       (beg (line-beginning-position))
       (end (line-end-position)))
   (copy-region-as-kill beg end)
   (beginning-of-line)
   (forward-line 1)
   (yank)
   (newline)
   (forward-line -1)))