以下網址有教補救方法:
不外乎是利用線上信用卡或郵局轉帳,但限本人,真是不太方便,尤其要幫忙繳費時,很麻煩!
另外,就是去監理所或農會去補單,去監理所可能會有罰金哦~
http://mypaper.pchome.com.tw/trueshin/post/1322347806
查了一下,超商也可以繳過期的單, 這樣才便民
http://verywed.com/forum/wedlife/1050019-last.html
2012年7月31日 星期二
2012年7月30日 星期一
行動電冰箱
若不想買一台電冰箱來使用,可買一個降溫的行動小冰箱,規格是 低可到3度C,高則是65度C; 這是有條件的,溫度是與環境溫度有關,無法差距太大,就3度C而言,指的是在25度C的環境溫度;也就是夏天,尤其最近動不動就達35度C的情況,大概也只能低到10度出頭,而且一個條件,還要連開十幾個小時才有機會;這可能對沒耐心等的人,可能無法接受!來看看耗電,大約是38WH,一般電扇大概就要60W左右,等於半台電扇的耗電~
再來看看原理;加熱就不用多說,裡頭應該有個線圈迴路,電能轉熱能,其實不是,
以下是從中國汽車用品網找到的資料:
http://shopping.payeasy.com.tw/ECatalog/cms/productAction.do?includes=true&pidNum=708024
再來看看原理;加熱就不用多說,裡頭應該有個線圈迴路,電能轉熱能,其實不是,
以下是從中國汽車用品網找到的資料:
半导体电子制冷又称热电制冷,或者温差电制冷,它是利用“帕尔帖效应”的一种制冷方法,与压缩式制冷和吸收式制冷并称为世界三大制冷方式。
1843年,法国物理学家帕尔帖在铜丝的两头各接一根铋丝,再将两根铋丝分别接到直流电源的正负极上,通电后,他惊奇的发现一个接头变热,另一个接头变冷;这个现象后来就被称为“帕尔帖效应”。
“帕尔帖效应”的物理原理为:电荷载体在导体中运动形成电流,由于电荷载体在不同的材料中处于不同的能级,当它从高能级想低能级运动时,就会释放出多余的热量。反之,就需要从外界吸收热量(即表现为制冷)。
所以,“半导体电子制冷”的效果就主要取决于电荷载体运动的两种材料的能级差,即热电势差。纯金属的导电导热性能好,但制冷效率极低(不到1%)。半导体材料具有极高的热电势,可以成功的用来做小型的热电制冷器。
经过多次实验,科学家发现:P型半导体(Bi2Te3-Sb2Te3)和N型半导体(Bi2Te3-Bi2Se3)的热电势差最大,应用中能够在冷接点处表现出明显制冷效果。
http://shopping.payeasy.com.tw/ECatalog/cms/productAction.do?includes=true&pidNum=708024
CSV file define
The Wikipedia defines "CSV", comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. Plain text means that the file is a sequence of characters, with no data that has to be interpreted instead, as binary numbers.
A user may need to transfer information from a database program that stores data in a proprietary format, to a spreadsheet that uses a completely different format. The database program most likely can export its data as "CSV"; the exported CSV file can then be imported by the spreadsheet program such as MS excel.
Usually the file has the characteristics:
1. Is Plain text (Sequence of characters)
2. One record per line and the end with CRLF for line breaks.
3. Each field is separated by omma, semicolon, or tab
4. Each record has the same fields.
For example:
name,age,render,height,weight
Alan,20,Male,180,89
Tom,30,Male,170,76
Refer to RFC 4180 for one definition that is commonly used
A user may need to transfer information from a database program that stores data in a proprietary format, to a spreadsheet that uses a completely different format. The database program most likely can export its data as "CSV"; the exported CSV file can then be imported by the spreadsheet program such as MS excel.
Usually the file has the characteristics:
1. Is Plain text (Sequence of characters)
2. One record per line and the end with CRLF for line breaks.
3. Each field is separated by omma, semicolon, or tab
4. Each record has the same fields.
For example:
name,age,render,height,weight
Alan,20,Male,180,89
Tom,30,Male,170,76
Refer to RFC 4180 for one definition that is commonly used
2012年7月27日 星期五
Check Segue if not meet check condition then cancel
I use drag source to destination controller to create a seque. But in some condition, don't want to push to the destination. It seems that can not do in prepareforseque function. Search the internet and found the solution as below.
Finally I just to check the condition and disable enable and it also meet my requirement.
From hint:
Finally I just to check the condition and disable enable and it also meet my requirement.
From hint:
Don't create the segue by dragging from the button to the destination controller. Instead, just drag from the source controller to the destination controller to create a segue. Click on the segue and use the attribute inspector to specify the segue is a push and give the segue an identifier (goToDestination). Then connect the button to an IBAction in the source view controller. In the IBAction method do your checking and if you want to do the push add this line of code:
[self performSegueWithIdentifier: @"goToDestination" sender: self];
2012年7月25日 星期三
Add UIButton action
-(IBAction) addAction:(id) sender --> It's need to do the link between UI and code.
-(Void) addAction:(id) sender --> This is just define in .h and implement in .m.
http://note19.com/2009/05/17/objective-c-adding-button-and-its-handler/
-(Void) addAction:(id) sender --> This is just define in .h and implement in .m.
http://note19.com/2009/05/17/objective-c-adding-button-and-its-handler/
Develop multiple UIBarButtonItems for iOS
This article can be added right or left buttons in navigationbar for iOS.
http://stackoverflow.com/questions/6249416/adding-more-than-two-button-on-the-navigationbar
http://stackoverflow.com/questions/6249416/adding-more-than-two-button-on-the-navigationbar
2012年7月24日 星期二
Mobile Web Site
在 Apple 官方的 guidelines 中提到加入一個 meta tag:
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
會讓 iPhone 瀏覽器去定義 viewport,而
maximum-scale
設為 1.0,也就不會因為翻轉手機而讓它去做 scale 的動作。(google.com/m, x.facebook.com, m.flickr.com 以及 photo.xuite.net/_m 都有加這一個 meta tag)以下有一個很詳盡的解說~http://blog.ericsk.org/archives/1299
http://hsinyu00.wordpress.com/2011/04/05/mobile-web-viewport/
2012年7月23日 星期一
MAC serial port application
I would like to test my serial-to-USB chip CP210x. First, I plug in USB cable with this chip, then system found CP210x in USB HUB but can't find ttyDevice. So just go to SiLab web site to download the newest driver and it's supported OSX 10.7. After installing the driver, the SLAB_USBtoUART will be found on /dev folder. I use two serial port applications: one is called Zterm is the old tool but it seem can't send hex string. So I use another tools called Coolterm http://www.macupdate.com/app/mac/31352/coolterm/ ,and it's so easy. So I am going to develop serial port tool on MAC.
Chrome online store
It's like App store and has a lot of App for Chrome based on browser. I think Google is my favorite search engine and usually use Chrome as default browser. Apps for chrome sometimes are very useful.
The tools such as "Evernot" you will find it has Apple App, Android App and even Chrome App. It seem App is becoming most useful software in our life.
https://chrome.google.com/webstore
The tools such as "Evernot" you will find it has Apple App, Android App and even Chrome App. It seem App is becoming most useful software in our life.
https://chrome.google.com/webstore
自動化生產
商週在第1286期談到美國製造,其實不外乎是中國工資及相關優惠在減少,導致即使在工資較高的美國生產,仍可能是個划算的選擇,另外美國人比較能發揮創意,使用方法提高生產力,據說是中國的四倍之多,人力也使用的比較少;這其中重點在於,使用自動化的方式生產,自動化所需要的就是便宜的電價,而美國在供電的穩定上,及價格上都是優於中國,這在需要內需美國市場的產品,因為可以減少20﹪左右的運費,及快速到達消費市場 (通常海運要二個月),加上生產力等優點,造成在美國生產不見得就不好;也就是為何,許多大的企業願意在美國南部,主地便宜的地區作投資製造;未來到 2015年,中國的工資又將上漲到一倍的狀況下,製造業在中國會相當的嚴峻!
剛看到台灣在自動化的努力,其中又有推行證照; 這又是個會很熱門的行業;尤其 郭董也說要大舉投資機械人生產! https://maps.google.com/maps?hl=zh-TW&q=delbio,inc+google+map&ie=UTF-8
剛看到台灣在自動化的努力,其中又有推行證照; 這又是個會很熱門的行業;尤其 郭董也說要大舉投資機械人生產! https://maps.google.com/maps?hl=zh-TW&q=delbio,inc+google+map&ie=UTF-8
Word 無法讀取此文件。此文件可能已損壞
花了兩天邊寫的技術檔案,存檔後關閉。之後再開啟時,竟然出現「Word 無法讀取此文件。此文件可能已損壞」,就無法開啟,真的嚇我一跳,試著用開啟修復檔案,卻是還原成舊檔,而且是前幾天編輯前的內容;心臟都快停了,最討厭重覆作一樣的事!好在,找到 Word的 Temp file, 將其 Copy 到檔案所屬目錄,在重新修復,就正常了!不確定是不是這樣就 Okay,但之後在編寫文件,確實要小心!
暫存檔在這個位置
C:\Documents and Settings\<User name>\Application Data\Microsoft\Word
暫存檔在這個位置
C:\Documents and Settings\<User name>\Application Data\Microsoft\Word
Word 頁碼與目錄
點選大網模式後, 可針對表頭或句子, 將其由內文改變階層, 之後在文件引導模式下即可看到更改過的部分, 再使用插入頁碼。
這裡有清楚的解說: http://belleaya.pixnet.net/blog/post/28880113-%5B%E6%95%99%E5%AD%B8%5D-word-2010-%E9%A0%81%E7%A2%BC%E8%88%87%E7%9B%AE%E9%8C%84
這裡有清楚的解說: http://belleaya.pixnet.net/blog/post/28880113-%5B%E6%95%99%E5%AD%B8%5D-word-2010-%E9%A0%81%E7%A2%BC%E8%88%87%E7%9B%AE%E9%8C%84
2012年7月19日 星期四
劣幣驅逐良幣
工作許久, 最近對這種感觸特別的多, 若一領導走上好的方向, 有用對方法, 就會帶動全體往該處走; 相對的, 若偏離, 則會與參與者無法同心, 就會有離去的想法! 想到
(劣幣驅逐良幣), 查了一下典故, 原來是18,19世紀英法等國, 使用金銀兩種錢幣, 且故定其兌換比率, 然而實際上, 市場價格是會波動, 而導致若將金幣熔掉, 可以換更多銀幣!
(劣幣驅逐良幣), 查了一下典故, 原來是18,19世紀英法等國, 使用金銀兩種錢幣, 且故定其兌換比率, 然而實際上, 市場價格是會波動, 而導致若將金幣熔掉, 可以換更多銀幣!
2012年7月17日 星期二
About .dll missing issue
Sometimes we run the application and message show "xxx.dll missing".
The article below is an example for how to recovery it and it may be a little complicated.
The easy way is to download .dll from website but it may hide some virus in it.
http://pcsupport.about.com/od/findbyerrormessage/a/comctl32-dll-not-found-missing-error.htm
The article below is an example for how to recovery it and it may be a little complicated.
The easy way is to download .dll from website but it may hide some virus in it.
http://pcsupport.about.com/od/findbyerrormessage/a/comctl32-dll-not-found-missing-error.htm
2012年7月14日 星期六
About Inno Setup for MFC application
This website lists some important DLLs that MFC application will use.
And also set to have administrative privileges NT/2K/XP.
Also refer to Inno Setup example scripts.
http://www.jrsoftware.org/iskb.php?vc
And also set to have administrative privileges NT/2K/XP.
Also refer to Inno Setup example scripts.
http://www.jrsoftware.org/iskb.php?vc
2012年7月13日 星期五
List DLLs MFC version
[VC++ 6.0] MFC version will MFC 4.2 with MFC42.dll
[Visual Studio .Net 2001] MFC version is MFC 7.0 with mfc70.dll
[Visual Studio .Net 2003] MFC version is MFC 7.1 with mfc71.dll
[Visual Studio .Net 2005] MFC version is MFC 8.0 with mfc80.dll
[Visual Studio .Net 2001] MFC version is MFC 7.0 with mfc70.dll
[Visual Studio .Net 2003] MFC version is MFC 7.1 with mfc71.dll
[Visual Studio .Net 2005] MFC version is MFC 8.0 with mfc80.dll
Visual Studio C ++ MFC install DLLs
I wrote MFC Visual C++ program and use shared MFC dl.
So I need to redistribute the required DLLs and follow the two ways introduced in codeproject. Use dumpbin / DEPENDENTS tool of VC6 to find the required DLLs and create install file with Inno Setup.
If the file is shared libraries, installing them in the System32 folder and set shared flag for that files.
If it's my private libraries. then installing them in the same folder of my project located.
So I need to redistribute the required DLLs and follow the two ways introduced in codeproject. Use dumpbin / DEPENDENTS tool of VC6 to find the required DLLs and create install file with Inno Setup.
If the file is shared libraries, installing them in the System32 folder and set shared flag for that files.
If it's my private libraries. then installing them in the same folder of my project located.
2012年7月11日 星期三
KD 指標
簡單來說就是若是牛市, 收盤大多是當日高點, 若是熊市則是低點; 經由計算數日值收盤靠近高點或低點的百分比, 大體說是 80% 是市場熱; 20%則是冷;
另外由功式拉出兩個值; K & D;
公式為:
RSV值相對穩定為n天的計算,故 K值相對 D值較有 n天代表, 若平均來說, K值 > D, 平均大於當日; 也就是市場是向上;
適合用來判斷買點~
http://www.ezchart.com.tw/inds.php?IND=KD 這裡有更詳細解說
另外由功式拉出兩個值; K & D;
公式為:
第n天收盤價-最近n天內最低價
RSV =────────────────×100
最近n天內最高價-最近n天內最低價
|
計算出RSV之後,再來計算K值與D值。 |
當日K值(%K)= 2/3 前一日 K值 + 1/3 RSV |
當日D值(%D)= 2/3 前一日 D值+ 1/3
當日K值 參考: http://www.ezchart.com.tw/inds.php?IND=KD |
RSV值相對穩定為n天的計算,故 K值相對 D值較有 n天代表, 若平均來說, K值 > D, 平均大於當日; 也就是市場是向上;
適合用來判斷買點~
http://www.ezchart.com.tw/inds.php?IND=KD 這裡有更詳細解說
白努力定律
氣體流速快的地方壓力越小, 所以像小白球於小方施以一定風速, 因球體圓形, 氣體同一時間要多繞過去一段路, 而使得小白球兩邊壓力小, 更外側壓力大, 而使得球體不會亂漂移!
近日看到的無葉風扇及air plan向上昇都是相同原理! 以下有一個很好的解釋~
http://203.71.72.230/teach/nature/new_page_15.htm
近日看到的無葉風扇及air plan向上昇都是相同原理! 以下有一個很好的解釋~
http://203.71.72.230/teach/nature/new_page_15.htm
2012年7月10日 星期二
2012年7月9日 星期一
Localizing iPhone Apps – Internationalization
包含有語言, 日期時間格式 及使用單位
1. 語言設定在 Localizable.strings, 並以增加語言的方式, 來編寫字串檔案
“key” = “value”
2. 使用 Formatter 針對日期及使用單位設定其 Locale
詳細參考如下:
http://www.iphonesdkarticles.com/2008/11/localizing-iphone-apps.html
1. 語言設定在 Localizable.strings, 並以增加語言的方式, 來編寫字串檔案
“key” = “value”
2. 使用 Formatter 針對日期及使用單位設定其 Locale
詳細參考如下:
http://www.iphonesdkarticles.com/2008/11/localizing-iphone-apps.html
2012年7月8日 星期日
Multiple Gmail address
之前一直沒注意到, 當你有一個 Gmail Account時, 如: MyID@gmail.com, 使用
1. My.ID@gmail.com 在MyID中間 加入 "." , 對 Gmail 都是同一個 Account
2. MyID+abcdef@gmail.com 在MyID後加上任意字串, 也是指到同一個 Account
這樣的好處是, 可以使用不同的 Gmail , 而收信都是同一個帳號!
1. My.ID@gmail.com 在MyID中間 加入 "." , 對 Gmail 都是同一個 Account
2. MyID+abcdef@gmail.com 在MyID後加上任意字串, 也是指到同一個 Account
這樣的好處是, 可以使用不同的 Gmail , 而收信都是同一個帳號!
Use Google drive
Google drive 是由 Google doc 在線上 edit 及檔案分享, 升級成 5 GBytes free space, 並且有 client application 作為 data sharing 和 sync, 類似 dropbox
訂閱:
文章 (Atom)