Search

7/30/2011

新店古早傳說(聚會聊天的好地方)

新店古早傳說(聚會聊天的好地方)

新店古早傳說
地址:新店市民權路108號
電話:2218-1111
路線:由捷運大坪林站1號出口,往前走約500公尺,在對面即可看到古早傳說了~

7/19/2011

Vary: Accept-Encoding

Vary: Accept-Encoding

If you open the Net panel in Firebug (or use LiveHTTPHeaders or some other packet sniffer), you can verify that the content is compressed by looking for a Content-Encoding header in the response, as shown in the following example:

Example request:

GET /2.2.2/build/utilities/utilities.js HTTP/1.1
Host: yui.yahooapis.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Accept-Encoding: gzip,deflate

Example response:

HTTP/1.x 200 OK
Last-Modified: Wed, 18 Apr 2007 17:36:33 GMT
Vary: Accept-Encoding
Content-Type: application/x-javascript
Content-Encoding: gzip
Cache-Control: max-age=306470616
Expires: Sun, 16 Apr 2017 00:01:52 GMT Date: Mon, 30 Jul 2007 21:18:16 GMT Content-Length: 22657
Connection: keep-alive

In this request, the browser informed the server that it understands gzip and deflate encodings (Accept-Encoding: gzip,deflate) and the server responded with gzip-encoded content (Content-Encoding: gzip).

There’s one gotcha when it comes to serving gzipped content: you must make sure that proxies do not get in your way. If an ISP’s proxy caches your gzipped content and serves it to all of its customers, chances are that someone with a browser that doesn’t support compression will receive your compressed content.

To avoid this you can use the Vary: Accept-Encoding response header to tell the proxy to cache this response only for clients that send the same Accept-Encoding request header. In the example above, the browser said it supports gzip and deflate, and the server responded with some extra information for any proxy between the server and client, saying that gzip-encoded content is okay for any client that sends the same Accept-Encoding content.

There is one additional problem here: some browsers (IE 5.5, IE 6 SP 1, for instance) claim they support gzip, but can actually experience problems reading it (as described on the Microsoft downloads site, and the support site). If you care about people using these browsers (they usually account for less than 1% of a site’s visitors) you can use a different header — Cache-Control: Private — which eliminates proxy caching completely. Another way to prevent proxy caching is to use the header Vary: *.

[食記] 三訪通化街日本食堂

[食記] 三訪通化街日本食堂

日本食堂
Add: 台北市通化街19巷3號
Tel: (02) 2700-9425

7/15/2011

There's no speed limit. (The lessons that changed my life.) | Derek Sivers

There's no speed limit. (The lessons that changed my life.) | Derek Sivers

Kimo's high expectations set a new pace for me. He taught me “the standard pace is for chumps” - that the system is designed so anyone can keep up. If you're more driven than “just anyone” - you can do so much more than anyone expects. And this applies to ALL of life - not just school.

Before I met him, I was just a kid who wanted to be a musician, doing it casually.

Ever since our five lessons, high expectations became my norm, and still are to this day. Whether music, business, or personal - whether I actually achieve my expectations or not - the point is that I owe every great thing that's happened in my life to Kimo's raised expectations. That's all it took. A random meeting and five music lessons to convince me I can do anything more effectively than anyone expects.

6 things I wish I knew the day I started Berklee | Derek Sivers

#1 : Focus. Disconnect. Do not be distracted.
While you're here, presidents will change, the world will change, and the media will try to convince you how important it all is.
But it's not. None of it matters to you now.
You are being tested.
Your enemy is distraction.
Stay offline. Shut off your computer. Stay in the shed.
When you emerge in a few years, you can ask someone what you missed, and you'll find it can be summed up in a few minutes.
#2 : Do not accept their speed limit.
If you want to be above average, you must push yourself to do more than required.
There's a martial arts saying, “When you are not practicing, someone else is. When you meet him, he will win.”
#3 : Nobody will teach you anything. You have to teach yourself.
#4 : Learn from your heroes, not only theirs.
#5 : Don't get stuck in the past.
#6 : When done, be valuable.
Making sure you're making money is just a way of making sure you're doing something of value to others.
Remember that this usually comes from doing the things that most people don't do.
For example : how much does the world pay people to play video games? Nothing, because everyone does it.
How much does the world pay people to make video games? A ton, because very few can do it, and lots of people want it.

不要在功能上竞争 - 阮一峰的网络日志

不要在功能上竞争 - 阮一峰的网络日志

如果市场上都是复杂的企业级工具,那就开发一个针对个人用户的简化版;如果市场上都是很正式的高端葡萄酒,那就开发一种便宜的、针对年轻人的、更休闲的酒精饮料;如果市场上都是提供长篇Blog服务的网站,那就开发一个很简单的、每次只能写140个字的网站;如果市场上都是技术性的、廉价的电子设备,那就开发人性化的、高价的电子设备。

所以,更好的策略是,开发一个简化的产品,突出某种不同的市场定位,争夺现有厂商的低端用户。这样的话,你不用开发一个全功能的产品,节省了时间,而且由于设计目标不同,更容易做出颠覆式创新(disruptive innovation)。
下面是开发新产品时,几点可行的做法:
  (1)你不是做一个比竞争对手"更好"的产品,而是做一个"不同"的产品。
  (2)你只提供部分功能,但是很好地满足了用户的需求。
  (3)如果新产品的市场反响不好,增加新功能并不能解决问题。你应该重新定位你的产品,想想它能向消费者提供哪些不同的价值。
  (4)在产品设计和推广的每一个环节,都突出它的不同定位。

八年得麻辣臭豆腐鴨血

八年得麻辣臭豆腐鴨血

公館店:台北市羅斯福路三段316巷8弄2號(陳三鼎青蛙撞奶旁邊台大正門對面入)
忠孝店--台北市忠孝東路四段223巷22-1號(捷運忠孝敦化統頒出口微風後面)
敦化sogo店--忠孝東路四段124-13號(敦化SOGO後方
安和遠店--台北市安和路二段173-1號(雄獅旅行社.21世紀旁邊)
新埔店--- 台北縣板橋市民生路三段11號 (新埔捷運站一號出口右方)
西門町店---台北市成都路6號(西門町捷運站一號出口左方)
輔大店---台北縣新莊市中正路514巷67號(輔仁大學側門口)
清華大學店--新竹市光復路二段440號(建新路口.清華大學側門對面 )
陽明大學店:台北市石牌立農街2段299號(ok便利店對面)
中壢SOGO店--桃園縣中壢市新生路202號(SOGO對面海華大廈)
淡水老街分店: 台北縣淡水鎮淡水老街中正路135號(阿婆鐵蛋隔壁)
台北永康店: 台北市大安區永康街15-2號(永康冰館隔壁)
士林中正店: 台北市士林區中正路199-2號(世華銀行旁)

7/14/2011

note

This is about getting stuff done - not hanging out in the office 24/7. Make sure to sleep, exercise, and spend time with friends and family to keep your energy and creativity high.

7/13/2011

ssh config

edit ~/.ssh/config

Host aws
HostName ec2-175-41-181-219.ap-southeast-1.compute.amazonaws.com
User ubuntu
IdentityFile ~/chunghekey.pem


ssh aws
equals
ssh chunghe@ec2-175-41-181-219.ap-southeast-1.compute.amazonaws.com –I ~/chunghekey.pem

7/11/2011

商業周刊-專欄部落格-哈佛人聊行銷-28歲當上外商總經理的代價

商業周刊-專欄部落格-哈佛人聊行銷-28歲當上外商總經理的代價

「生命中每一個經驗,都一定會有機會成本。每個成功背後都有犧牲。很快你就會被問到你最珍貴的是什麼,而速度比你想像的還要快。你想要在三十歲有一個升遷機會,還是和你的另外一半有穩定的生活?你想要一個永遠豐富的旅行生活,還是一個健康的身體?早點想想並誠實面對自己:什麼在你生命中是重要的,而什麼是可以放手的。」

7/07/2011

ruby books

The Rails 3 Way
The Well-Grounded Rubyist

美国只有两样东西比中国贵 - 司徒正美 - 博客园

美国只有两样东西比中国贵 - 司徒正美 - 博客园


首先是智慧财产权。美国的生产效率为何高?内需为何那么大?国家为何那么富有?完全和这个民族的创造力有关系。这个创造力不但体现在物质生产上面,同时在精神 文化,娱乐消遣等所有的方面都能够淋漓尽致地体现出来,那么这个社会就高效产出,同时又有强大的内需消耗,加上资源配置最优化,这是所有西方国家走向发达 的关键。如果到现在为止还有很多人竟然觉得美国的发达是靠掠夺而来,那么你受穷显然是必然的,因为你没抓住关键问题。

一个良好的社会鼓励两种人,勤劳的人和富有创造力的人,这就是美国先进的秘诀。

7/06/2011

Shift-Insert on the Mac

Shift-Insert on the Mac

I think its a little different in my macbook .. Fn+apple+v does the “shift-insert’ function in windows/linux and Fn+backspace does the delete function.

36個台灣秘境 Amazing Places To Experience Around Taiwan, Asia

36個台灣秘境 Amazing Places To Experience Around Taiwan, Asia

南湖 http://www.flickr.com/photos/cmca/1138389565/ By CMCA_駱駝登山會
武嶺 http://www.flickr.com/photos/enixii/4810957011/ By *嘟*
神秘谷 http://www.flickr.com/photos/sunshine_chuang/1341495533/ By sunshine莊信賢影像世界
牛稠坑 http://www.flickr.com/photos/masusuu/356751878/ By 麻酥酥
西勢溪 http://www.flickr.com/photos/jrwei/3197680563/ By COLORFUL SPACE
七彩湖 http://www.flickr.com/photos/benjenq/4002303356/ By Ben(憋~)
深澳 (番仔澳) http://www.flickr.com/photos/c0466/3709206329/ By c0466art
二子山 http://www.backpackers.com.tw/forum/showthread.php?p=1957903 來自leontsai部落格
崎頂鐵路 http://gclayli.blogspot.com/2007/11/blog-post.html by gclayli
赤柯山 我去過這邊寫生,真的是很美!http://www.flickr.com/photos/maxchu/1305190014/ By MaxChu
多納 http://tw.myblog.yahoo.com/twno1-view/article?mid=136&prev=147&next=134&l=f&fid=11 by twno1野山春樵
大霸尖山 http://www.flickr.com/photos/weijay/5428128684/in/set-72157625878271783 By 冒險家
栗松 http://blog.istyle.idv.tw/archives/286 By istyle
鹿谷 http://www.flickr.com/photos/sunshine_chuang/5145053541/ By sunshine莊信賢影像世界
九份金瓜石交界 樹梅 不厭亭 http://www.flickr.com/photos/dtinakevin/4492030410/ By dtina.kevin
竹山 太極 中杭峽谷 http://photo.xuite.net/ystanz/1568502/62.jpg by ystanz
白楊瀑布 水簾洞 隧道 小學的時候有去過,夏天去很涼呢!還要帶雨衣,不過要走到很深山裡,好像記得是總共走了48km吧!http://www.flickr.com/photos/doddlu/3364610114/ By Dodd Lu
萬里桐 http://www.flickr.com/photos/chung660326/5362829830/ By Ming – chu
嘉明湖 先生有去過,海拔太高我不能去。真的超級美,而且要很好命才會遇到正確的藍天白雲喔!http://www.flickr.com/photos/startsou/4076089403/ By star‧tsou
四草 http://www.flickr.com/photos/27663846@N07/5605956097/ By id-evil
老梅 http://www.flickr.com/photos/beautiful-taiwan/4411974477/ By Beautiful Taiwan 美麗的寶島
塗潭 http://www.pse100i.idv.tw/n/kwtofucefy/kwtofucefy001.htm by pse100i.idv.tw 楊安生
綠島的水底教堂 http://www.flickr.com/photos/peteling/3632139164/ By 美籍台客
奎壁山 http://www.flickr.com/photos/fex/280634017/ By Fex
南竿 http://www.flickr.com/photos/wee_photo/2998786305/ By wee_photo
能高草原 http://www.flickr.com/photos/surform/4192729420/ By Surform
目斗嶼 http://landscape.phc.edu.tw/exhibit/img/ap008x520.jpg by 澎湖地景資源網
目斗嶼 海底隧道 http://yungang.myweb.hinet.net/06-1-1.htm By 海之島
利吉 月世界 http://www.flickr.com/photos/lovefool416/3241132939/in/set-72157613354032490/ By lovefool416
石門山 http://www.flickr.com/photos/peioserv/5318823706/ By Peioserv
東勢林場 螢火蟲 http://www.flickr.com/photos/microrna850/5661719174/ By miCroRNA
薩克亞金溪 http://www.flickr.com/photos/sunshine_chuang/3143196701/ By sunshine莊信賢影像世界
南雅 http://pcchen.com/html/R080717NanYa.html By PCchen
南化 http://yu1760.pixnet.net/blog/post/25091019 by 漂鳥飛行
姑姑子 http://forum.gfes.tpc.edu.tw/blog/index.php?op=ViewArticle&articleId=128&blogId=39 by masayasu
卓蘭 大安峽谷 http://www.flickr.com/photos/rla579/4046286743/in/photostream/ By rla579
六龜 http://blog.yam.com/tcc/article/6664969 by 老鄧