Friday, March 16, 2012

Skype causes HTML format lost when pasted to word 2010?

It was very frustrating when I found that my Word lost format of copied HTML contents. I did a lot of research on internet but found nothing helpful.

I checked the software I installed just before the first time I noticed the problem and caught Skype. I uninstalled it and now it is fine.

Is that you, Skype?

Thursday, October 27, 2011

Configuring OS X Mail For Gmail

Configuring OS X Mail For Gmail

from http://jamietalbot.com/2011/07/26/configuring-os-x-mail-for-gmail-without-duplicates/

I’ve been using Gmail tied to my Google Apps account for the last couple of years and I love it. However, travelling around with intermittent Wi-Fi access for the last 6 months has meant there have been a couple of occasions where I really could have done with getting to email but haven’t been able to. I’d resisted the urge in the past to use a local Mail client, but with the big improvements to OSX Mail that came with Lion (in particular the full-screen mode that just lets it sit in its own space out of the way), I took the plunge and set it up this week.

Linking Mail to my Gmail account was relatively painless, with the following settings for the account:

Account Type: IMAP

Incoming Mail Server: imap.gmail.com
Username: {Google Apps Account Email Address}
SSL: Yes

Outgoing Mail Server: smtp.gmail.com
Authentication: Password
Username: {Google Apps Account Email Address}
SSL: Yes

Everything was up and running pretty quickly. The only major issue I had was duplication of messages. Each Gmail label is interpreted by Mail as a folder and so items that are labelled will appear once in the Inbox and once in the Label folder. As I label everything, that’s a pretty big issue. Plus, the “All Mail” folder that is created as part of Google’s Priority Inbox feature means everything is duplicated there as well.

Luckily, the solution to this is also straightforward. First, in Gmail, I visited Settings => Labels. There is a column specifying “Show in IMAP” and the simple solution was to uncheck this box for every single label apart from Trash, Drafts and Sent Mail. (Inbox can’t be unselected but that’s ok.) Next, I opened up Mail and gave it a few seconds to refresh the mailboxes. There were now only the 3 folders I’d selected. The final step was to tell Mail how to treat those folders. First, I clicked on the Sent Messages in the sidebar underneath my Gmail account, then clicked Mailbox => Use This Mailbox For => Sent. I repeated the appropriate steps with Trash and Drafts. After a couple of minutes, Presto!, everything is as it should be. The Inbox, Sent and Trash folders are exact representations of what’s in GMail and there are no duplicates on the machine, saving space and Spotlight results. The final step to unifying the two was to go to Preferences => Viewing and then check the option for “Include Related Messages”. Now the conversations are threaded by default with Sent and Received messages interleaved as expected.

The only slight drawback is that obviously you can’t view subsets of your messages by label on the client. That’s no problem for me though, as I rarely need to look at all the messages of a given label at the same time, and fast full-text search on the client makes it unnecessary.

By all accounts, IMAP support in Mail.app was pretty poor in the past. However, setting it up in the most recent version is a breeze. Now when I need to access archived information locked away in my email, I can!

Wednesday, October 5, 2011

微软拼音输入法的全角符号问题

在用微软拼音输入法的时候,在中/英文之间切换几次以后,总是自动变成输入全角符号,这样一来那个英文字母和数字就非常难看了。还好有快捷键可以用:
Shift+Space键可以在全角符号和半角符号之间切换
Ctrl+. 键可以在中文标点/英文标点之间切换。

Saturday, August 13, 2011

increase font size in word

Select all text, use the shortcuts below, and you will increase the fonts of the whole paper. It works great if you want to keep their font sizes formatted differently.

CTRL + SHIFT + > to increase font size by 1 point
CTRL + SHIFT + < to decrease font size by 1 point

Tuesday, June 14, 2011

Bill and Steve

S: My doctor told me that I have cancer.
B: Oh, sorry to know that.
S: But I am not worry about it.
B: Why?
S: There is an app for it.

Bill and Steve

S: I am going to have my genome sequenced.
B: for what?
S: To find out why I am so smart.

Friday, June 10, 2011

Bill and Steve

Bill: Steve, what software should I use if I am interested in interactions of a set of proteins?
Steve: PREPPI.
B: Why?
S: It just works.