Sunday, January 27, 2013

Sublime text 2 auto format HTML

1. Go to Edit / Line / Reindent
2. Type Alt+E+L+R
     3.A. Go to Preferences / Key Bindings - User (a blank file will open)
     3.B. In that file paste the following piece of code:
      { "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line":      false}}
     3.C. Save and close that file.

Zenburn for gedit

Zenburn is a low contrast theme suitable for coding. How to get that theme for gedit, Ubuntu's default text editor?

Get the XML theme file here:

download it, and import to gedit via edit/preferences/font & colours/+

Note: if you can't see anything when you highlight a word, add these two lines to the downloaded zenburn.xml file:

<style name="selection" background="#ef7950"/>
<style name="selection-unfocused" background="#ef7950"/> 

 and import it to gedit again

#ef7950 is a softer brother of the #dd4814, which is Ubuntu's trademark orange

Monday, January 21, 2013

Remove IE extension data manually


Send to OneNote
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{2670000A-7350-4f3c-8081-5663EE0C6C49}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Extensions\{2670000A-7350-4f3c-8081-5663EE0C6C49}
Onenote Linked Notes
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{789FE86F-6FC4-46A1-9849-EDE0DB0C95CA}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Extensions\{789FE86F-6FC4-46A1-9849-EDE0DB0C95CA}

Remove them all!