☆干煸牛肉丝☆

June 21st, 2012
0

干煸牛肉丝

主料: 牛肉丝(400g)

辅料: 芹菜(2~3根), 姜(1小片), 蒜(2瓣)

调味料: 料酒, 花椒, 郫县辣豆瓣酱, 生抽, 鸡精, 糖

30min - 5prep - £2.20

Read the rest of this entry »

★小鸡炖蘑菇★

March 19th, 2012
2

小鸡炖蘑菇

主料: 鸡腿肉(400g)

辅料: 东北榛蘑(半小盒) 和/或 [香菇(适量)],葱白(2根), 姜(1大片)

调味料: 白糖(1小勺), 料酒(1小勺), 生抽(1大勺), 辣椒(1个), 八角(半个)

30min - 5prep - £1.50

Read the rest of this entry »

0
It's correct (0x27).
It´s ugly (0xb4).
It`s horrible (0x60).
It’s perfect (U+2019).

Today I filed a bug, probably the most trivial bug of the time, about the use of Unicode quotations marks and apostrophes in the Online Help pages :P

It is just indistinguishable: ‘ and ’, in some type fonts, especially size is small. But with the help of Unicode convertor I was able to tell the difference: ‘ is ASCII 0×27, the Apostrophe and ’ is Unicode U+2018, the Right Quotation Mark.

However 0×27 is often overloaded with various meanings (since it is on your keyboard…) such as prime, single quote, apostrophe… So if Unicode is used, it is best to use the Unicode version (the curly ones) in your application/pages.

See Markus Kuhn’s special page for more information.

Read the rest of this entry »

0

Nicely written and worth reading.

No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life’s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.

Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.

Posted in English | No Comments »

Britain, Britain, Britain

October 5th, 2011
0

union jackLol, found this quote from a random arguement between two Brits (one anti-Brit and one pro-Brit):
Obviously, this is the pro-Brit one :D

  1. Generous financial donations to disaster areas.
  2. Both people often apologising when they bump into each other.
  3. Beautifull countryside and coastal areas.
  4. A sense of cultural heritage in the form of historical buildings, local customs and dialect/slang/turns of phrase, local/country fayres and festivals, including in some cities.
  5. A growing slow food movement and increasing availability/awareness of good quality UK sourced food.
  6. English country pubs.
  7. Resteraunts which serve food from many other countries.
  8. A society which is largely accepting of people who are different and which is multicultural.
  9. Racism and homophobia being largely socially unacceptable.
1

Hmm, I got a plenty of SIM cards, all expired (!), what can I do with them?

  1. Throw away.
    Be careful! You shouldn’t just throw it into your bin. My suggestion is to put it into “electronics waste” and recycle. Not sure if there is recycle facility for SIM cards but group them as “electronics waste” will be a good starting point.
  2. Make earrings.

    Trendy and nerdy :)
    http://www.wikihow.com/Make-SIM-Card-Earrings

Read the rest of this entry »

0

I was trying to create a Windows binary using py2exe. When I run the exe file (it is a command line program) without any argument, it should print a usage message and exit. To my great surprise I saw this:

>> NameError: name ‘exit’ is not defined

Very weird. So I changed that line from exit() to sys.exit() and recomplied using py2exe, everything works perfectly now.

So what is the difference between sys.exit() and exit()?

Read the rest of this entry »

The meaning of MiB and GiB

August 11th, 2011
0

Basically MB/GB means the prefixes M (10^6) and G (10^9) are counted in decimal. MiB/GiB means the prefixes are counted in binary - Mi (2^20), Gi (2^30).

See the article on Wikipedia: Binary prefix

Vendors specify capacities (of hard drives for example) using GB/MB which results in a higher value compared to GiB/MiB. However, Windows (and possibly other OSes) will usually only tell you the GiB/MiB value, despite the fact that it writes GB/MB as unit behind the value :)

0

On my packing days, I discovered 10+ SIM cards…. Yeah… I kept all of them… and all of them were expired already… To keep the number alive (hence less rubbish SIM cards) I am going to list my findings on each operator’s policy on PAYG SIMs:

  1. T-Mobile UK: Need to make a chargeable connection every 180 days (6 months, every good!), top up also extend this period
  2. Virgin Mobile UK: Need to make a chargeable calls/text every 90 days (3 months).
  3. Lyca Mobile: Need to make a chargeable calls/text every 90 days (3 months).
  4. To be continued…
Posted in English | No Comments »

鬼吹灯电影预告片

July 29th, 2011
0

灯丝剪接拼凑的鬼吹灯电影预告片, 做的很不错, 要是真的能拍出来绝对是大片呵呵:

Posted in 中文 | No Comments »