For some work I have been doing for GridGiant I have been adding Skype buttons to static sites. The Microsoft built JS Skype buttons offer useful device integration, however they also inject some inline css – rather unhelpful. Fortunately you can override inline css using ‘!important’ (a technique I was remind of here).

The following css cancels out the inline style applied.

#genSkypeCall p a img[style]{<br /> margin:0px !important;<br /> vertical-align:-7px !important;<br /> }

The -7px deals with the fact that supplied image has white space under it.

The other elements introduced to the html body are below which seem to required to be all set to inline to get a horizontal navigation rather than a vertical one.

#genSkypeCall{ display:inline; }<br /> #genSkypeCall p{ display:inline; }<br /> #genSkypeCall_paraElement{ display:inline: }

So was carrying out a security audit and came across an SSH key pair that had been setup without a password. Easy to fix just run this command on the file,

ssh-keygen -p -f keyfile

and it will ask you for the new password. If the key permissions are setup strictly you may find the command fails when it attempts to write the new file, in which case sudo the command as that way the file permission will remain unchanged.

Discovered this today,

M-x string-insert-rectangle

Just awesome allows you to modify multiple lines at the same time, ideal for covernting yaml tags to liquid tags. Such as,

---
layout:
---

to

{}

Emacs rocks!!

image

image