2012/01/17

又是開心的一天

以前看到蘇花又有人出事了,結果在FB PO上:以後不知道怎麼開了。
小J 說開快一點就對啦~
反問:那你開現在這台FOCUS 要多久?
二個半小時(忘了,反正差不多)

本來以為他不想講、不敢講,想唬嚨我。(對不起,我誤會你了)
今天聽同事在講車的事,才發現原來一般都2~3個小時,我現在聽過最快的是二個小時。

嗯…原來是50分鐘的我太不正常了…
不過心情還是很好~

當初載前女友去玩時,還被小J 欺負新手上路的我
我開車的資歷也不過半年,原來現在可以欺負小J了 XDDD

對了,我一直還是無車階級…這些說再多也沒用 :(

****本人開車:安全第一、舒適第二,速度第三。請不要沒事想要挑戰!****

2012/01/13

Asp.net 寫的網頁,用IE 去下載時檔案變成亂碼/亂數英文的問題

寫了一個績效人事的小網站,以便會計計算產線人員的績效。
結果前一天會計還可以正確下載總表(檔案名稱可以正確顯示中文),結果第二天就不行了。
狀況如下:
會計的IE:下載時會出現約八碼不固定名稱的xls
我的IE:出現1___蔥.xls
我的chrome:正常!!

後來修改了code

原始的相關code:
fileName = "attachment;filename=" + fileName + ".xls";
Response.AddHeader("content-disposition", fileName);

新的相關code:
fileName = "attachment;filename=" + fileName + ".xls";
fileName = Server.UrlPathEncode(fileName);
Response.AddHeader("content-disposition", fileName);

多加了一行來處理即可。

2011/12/13

2012 海洋年

2012 的年度目標:
  • 去學一堆有關海的知識,包含去淡水社區大學報名學獨木舟!!
  • PHP 學會! 包含XML 與開發框架的整合應用
以前一直對海有興趣,今年就來好好看這方面的資料吧~上星期有去教育部網站看了一些,真的蠻有趣的。
希望今年宅在家裡可以涉獵這類東西:
  1. 地球科學(有關海)
  2. 潮汐、洋流
  3. 航海相關的
  4. 航海的歷史
  5. 船隻本身的構造、歷史、船員、
  6. 導航儀器、圖學
  7. 海軍歷史
我也不知道還要再看些什麼東西,之前有看到人家在開遊艇的駕訓班,只要快二萬多
但是再加三天假的成本…也不少錢…最後只好放棄了
希望今年有機會去~

不知不覺~我記得我有寫過2011 的目標的…?結果一回首,
原來我是在2010寫的…
2010:
  • 研究所
  • ISO27001 的專家 --> 2010 10月底前
  • 圍棋
2011:
  • 射箭/馬術
  • 開車技術
  • 德文
其中只有開車技術和ISO27001 有達到滿意的水準…
開車技術…其實也沒練,2011整年好像只有開過一次吧?但是50分鐘內…應該夠快了 :p
射箭的話,以上次去花蓮南濱的表現,應該還能算及格啦~

但是另外幾項就都死在地上了…
研究所正在準備中…不花錢的德文…在我K 夠有關海的事情之後再來說囉~

2011/11/17

Nelson Mandela 於1994的演講

Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness, that most frightens us. We ask ourselves, who am I to be brilliant, gorgeous, talented, and fabulous? Actually, who are you not to be? You are a child of God. Your playing small doesn't serve the world.

There's nothing enlightened about shrinking so that other people won't feel insecure around you.We are all meant to shine, as children do.We are born to make manifest the glory of God that is within us.

It's not just in some of us, it's in everyone. And as we let our own light shine, we unconsciously give other people permission to do the same. As we are liberated from our own fear, our presence automatically liberates others.