Friday, December 6, 2013

How to Prevent Gmail from Styling href:mailto and telephone in your email

By default, if you compose a HTML email with email address and telephone number, Gmail will  auto convert it to mailto and tel link respectively with Google own CSS.

I have tried using inline CSS to change it but it does not work.

So far, the following solution is one that found to be working:

use <input type="text" style="border:0pt;background-color:transparent" value="example@a.com" readOnly/>

Use input and style it by removing the background and border

Monday, January 14, 2013

How to mount smb share directory with space and ampersand

<CentOS>
How to mount smb share directory with space and ampersand


Tested on Centos 5.7, the following command works by escaping the special character using \ (backslash)

space  -> \(space)
ampersand (&) -> \&

E.g. For a smb share with the name "My Documents & Musics"

\\<Server IP>\My\ Documents\ \&\ Musics

*Take note that there is a space after the backlashes after "My", "..nts" and before "Music.."


There a some posts states that the space should be escaped with ascii code (\040) and ampersand with (\046)

I have tested but it does not work on my CentOS 5.7 instance.