How To Fry An Egg On A Piece Of Paper

2011年12月12日 T 没有评论

source: kitchen daily

Fascinating! I would try this right now unless I’m still at work. So…maybe later. I hope that when I doing this, my kids will think they have a miracle father.


p.s.: Remember, remember, put some water besides you like the video mentioned, in case you got things messed up.

分类: study_note, 心情文章 标签: ,

Reading Note–about Family Relationship

2011年12月11日 T 没有评论

Remember, They’re Family: You Don’t Have to Like Them

Family is important, but there’s no rule that says you have to like or get along with everyone you’re related to. If you do, you’re very lucky, but just being related to someone doesn’t automatically mean the two of you will get along in every situation, share the same views, or even enjoy each other’s company. The holidays—that time of year when everyone is stuck together no matter what—is a particularly trying time when you know that family members you don’t get along with will be present.

It’s a romantic to assume you can push through the stress and irritation at the Thanksgiving dinner table to suddenly become close with a family member you can’t stand. If it happens, you’re lucky, but it’s unlikely. Be kind, respectful, and cordial, but don’t force yourself to spend extended periods with someone you dislike just because you “feel like you should.” Be assertive enough to excuse yourself from awkward conversations, and choose to spend your time with family members you enjoy instead. In the end, you’ll have a happier, healthier, stress-free holiday with family.

This is what I just read in a lifehacker article whose author named Alan Henry. When I saw it for the first time, I thought it was something wrong with my eyes. How could anyone suggest that you don’t have to like a family member? We have always been taught to be nice to our family members, be tolerant  and try to figure out how to get along with them. But if you let yourself calm down and think it again, you may find it get some sense.

We all have different experience, ideas and perspective, if we can reach an agreement, we’re just lucky, if we cannot, so what? You should know it is unlikely beforehand. Instead of making yourself miserable to deal with such stuff, why not just admit it and stick your way. Family members are blood-bonded, that’s true…and that’s all. If your ever sincerely tried to be a reasonable person and they still don’t give some positive responds, then let it go. Like the article said, “Be kind, respectful, and cordial, but don’t force yourself to spend extended periods with someone you dislike just because you ‘feel like you should’”.

How to Embed Videoes in WordPress

2011年11月6日 T 没有评论

As usual, this supposed to be an easy task, just copy the embed codes and all should work out fine. But in wordpress it didn’t… it turns out to be a bug or an error or anything you name it. Once you copy the embed codes into the HTML mode and switch to the normal edit mode, the codes simply disappeared. So it really a painful experience for me if I want embed any videos in my post, it seems that wordpress only accept certain kind of the embed codes. I resort to Google and found an easy way to fix the problem, though I don’t know exactly why it worked.

Find your theme’s function.php file. It usually located in your wordpress fold/themes/your theme/function.php or you can find it in your wordpress board, Appearance–Edit–function.php. Copy the following codes into this file, make sure to put  them in the right place, do not insert them to some functions.

function mytheme_tinymce_config( $init ) {
$valid_iframe = 'iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]';
if ( isset( $init['extended_valid_elements'] ) ) {
$init['extended_valid_elements'] .= ',' . $valid_iframe;
} else {
$init['extended_valid_elements'] = $valid_iframe;
}
return $init;
}
add_filter('tiny_mce_before_init', 'mytheme_tinymce_config');

Now, everything should be O.K.

分类: study_note 标签:

Dedicate to a man with conscience

2011年11月5日 T 2 条评论

What the government has done made me gross. That’s why I want to make the donation to this man, Ai weiwei, a man with conscience, though he has claimed that he merely intended to borrow some money. But I still have my worries, what will the government do next time? If they have done it once, why they cannot do it for the second time and why they cannot do it more viciously? After all, they’re shameless and afraid of nothing. So this time I won’t donate much(even if I did, it won’t make much difference I suppose), $10 is just my attitude, appreciate the brave man and despise the shameless authority.

From November 5, 2011

p.s: Remember, Remember, the Fifth of November. via “V for Vendetta”

分类: 心情文章 标签:

I Believe I can Fly

2011年10月30日 T 没有评论

It’s been a long time since the last time I saw such encouraging video. I do should watch these videos every day to draw energy from them and keep following my dream. Like what has been said in this video,

A free man is someone who is true to be himself. Who follows his dreams and turns them into reality. You have to put fear to one side, it will always be there…but you have to follow your path. It’s all possible, if you put enough energy into it.

You know what? After watching this video, my blood is getting hot. Seriously!

I Believe I can Fly ( flight of the frenchies ). Free segment from sebastien montaz-rosset on Vimeo.

分类: 心情文章 标签:

What’s the Differences among Long, Medium and Short Grain Types

2011年10月7日 T 没有评论

grain

NOTE : Pictures and data are from here.

These days I become interested in some healthy diet, so I want to figure out the exact food energy of each kind. It’s not hard to find these data out with the help of Google — thecaloriecounter.com. But what confused me is how to distinguish the differences among long, medium and short grain types. The pictures cannot offer any useful help, because I don’t have any basic idea of a “standard” grain type, without such conception how can you tell which one is longer or shorter? So maybe using some mathematical method will be better.Here’s how:

We can use length to width ratio to determine the grain types.

Rough or Paddy Rice (before milling, hulls intact)
Long        3.4 to 1 and more
Medium   2.3 to 3.3 to 1
Short        2.2 to 1 and less

Brown Rice (hulls have been removed but bran intact)
Long        3.1 to 1 and more
Medium   2.1 to 3.0 to 1
Short        2.0 to 1 and less

Milled Rice (hulls and bran layers have been removed)
Long        3.0 to 1 and more
Medium   2.0 to 2.9 to 1
Short        1.9 to 1 and less

We may see milled rice for most of the cases. And I tried some of my rice, both turned out to be the short ones. Now I get it all clear.

分类: study_note 标签:

We’ll Miss You, Jobs…

2011年10月6日 T 没有评论

Jobs

I’m not an Apple fan, and probably I will never be. The only Apple product I had is an iPod classic, a birthday present I bought for my wife. But I suppose you don’t have to be a loyal and crazy Apple fan to appreciate the beauty of the artistic Apple products. Undoubtedly, iPod, iPhone, iPad, iMac have changed the world, in both ways of the stereotypes of these products and how great a product could achieve. I guess that a world without Apple or an Apple without Jobs will turn out to be much boring. Now the second assumption has unfortunately become true, I hope the Apple could sustain and the world could sustain.

Steve Jobs, you’ll be missed for sure.
sad

分类: 心情文章 标签:

Now Loading…

2011年9月20日 T 没有评论
From 孕妇照
From 孕妇照
From 孕妇照
From 孕妇照
分类: 心情文章 标签:

How to change the hints settings of Pentadactyl

2011年8月25日 T 没有评论

When using Pentadactyl in XP, I found the hints are too small to distinct. It doesn’t happen when I run Ubuntu. Anyway, I googled and figured it out. Here I think I should take a note, in case my memories don’t serve me some day. Actually Pentadactyl do leaves a lot of options, but sometimes I just don’t know how to change them.

:hi Hint font-family: Verdana; font-size: 10px; font-weight: bold; color:
white; background-color: red; border-color: ButtonShadow; border-width: 0px;
border-style: solid; padding: 0px 1px 0px 1px;

And, don’t forget to write it to your RC file.

:mkp!

分类: computer, study_note 标签: ,

Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox

2011年8月22日 T 没有评论

First of all, if you don’t have any idea what Pentadactyl is, then this post maybe not worth your time.

Secondly, I should tell you about my system environments: Ubuntu 11.04; Firefox 6.0. If yours are differ from mine, I suppose it will still be ok, in most of the cases, they share the same steps.

Now, let’s start.

  1. Why use Firefox? It’s the only browser what can have Pentadactyl as the add-on.
  2. Why use Pentadactyl? It’s vim-like add-on, designed for some keyboard addicted users to make life easier and more efficiently. If you ever heard about vim, you should know how powerful it is.
  3. Why bother to use encrypted google search engine? It’s really something personal, I like it, because I like it. If you insist to ask, I think the main reason is I don’t want my search queries to be intercepted. Besides, it makes me cool and different.

In Pentadactyl, when you want search something, just type “o”(open the results in current tab) or “t”(open the results in new tab) followed the search words. By default, Pentadactyl use google as the search engine, Not google ssl. So how to change it? Add it as a bookmark will be the first step. Since we use Pentadactyl, let’s do it in some cool way:

  1. Press “:” to begin to typing command.

    bmark -keyword gssl https://encrypted.google.com/search?sclient=psy&hl=en&safe=off&site=webhp&source=hp&q=%s&pbx=1&oq=&aq=&aqi=&aql=&gs_sm=&gs_upl=

  2. Press “Enter” to execute the command. And now you add it to your bookmark. Then press “:” again to type another command.

    set defsearch=gssl

  3. Job done!

Command no.1: “-keyword” is an option for you to name a search engine which will be used in the second command. The url I provided maybe only functional in my system environment, I’m not sure. But if it doesn’t work, you could find it by yourself. AND it’s more easier.

  1. Open https://encrypted.google.com
  2. Right click of the search box
  3. Choose “Add a Keyword for this Search…”
  4. Name a keyword as you like, in my case it will be “gssl

It’s exactly the same result as command no.1. You will find the url when you check this bookmark’s property.

Command no.2: is used to set the default search engine. I really try hard to find this option of Pentadactyl…

Well, over…