adsense

2010-04-27

4/27 java 作業

//試寫出一段程式,可產生1~100之間是3的倍數的串列

/**


* @(#)abc.java

*

*

* @author

* @version 1.00 2010/4/27

*/





public class abc {



public static void main (String[] arg){

for(int i=3;i<=100;i+=3){



System.out.print(i +" ");

}

System.out.println(" ");

}

}

2010-04-20

google 繪圖 <流程圖>

今天發現google有新的東西  那就是"繪圖功能"
通常就是拿來畫流程圖
傳統的流程圖有限制在
紙張的大小 但現在有了google的繪圖功能
就不用擔心這個問題啦
只要分享一下  就ok了 




 一開始點選  繪圖


 可以很簡單的調整百分比




這個像蛇一樣的圖案  是可以畫出自由的線條
但還是需要滑鼠拖曳

接下來這個就不用啦






可以多點連成一個不規則圖形
最後只要回到起始點
他就會自動變成一個圖形了

2010-04-18

Exposed Hidden Termainal Problem


Exposed Hidden Termainal Problem
A(RTS)-->B
B(CTS)-->A  (C,D也會收到)

當A發送RTS時會順便加上時間

當C,D收到CTS時 會先看封包的Header
如果不是自己的,就會丟掉(那個封包)

2010-04-16

static router dynamic router 靜態路由器/動態路由器

static router 靜態路由器
使用static router的
缺點 當網路線斷了 它還是走同一條線路
優點 簡單、效率高 因為它不需要再去找其它路徑    靜態路由網路比較安全
    




dynamic router 動態路由器
路由器器會自動偵測網際網路中的異動狀態
並依據這些異動來更新並設定路徑
路徑表不只是告訴路由器遠端網路的存取與否
且會建立網路的最佳路徑  即使是一條的站存的路徑 路徑表都必須要更新


當動態路由與靜態路由發生衝突時,以靜態路由為準。

在網路環境較為單純的區域網路中,管理者還是可以選擇以靜態路由為主的管理方式,
許多只有一台路由器的公司,其內部連至外部網路只經過一台路由器,這時就可以選擇靜態路由的方式。由於效率高、安全性佳的優點,使靜態路由還是有存在的價值


以下圖為例 如果 今天靜態Router設定台灣和美國  當網路發生問題時  Router不會改變路徑
去做傳輸  然後就會發生 找不到網頁 或 資料  等錯誤訊息
如果今天是動態的話  那麼它就會透過日本的Router進行傳輸


sorce:http://web.meiho.edu.tw/~x00002151/

2010-04-15

TCP/UDP

Tcp: 對於資料正確性有要求            例如:FTP
     為了讓資料正確所以它的資料較為肥大  但資料正確
     當確定之後  會回傳ARC
    
     為什麼不全部都用TCP來傳送
     為了回傳的動作  要花較多的時間、CPU時間、頻寬


UDP: Read time 對資料正確性 較不要求
     如果上面那句話看不太懂  您就想想
     如果你今天使用MSN或即時通使用麥克風跟別人說話的時候
     都要等五六秒  這樣就達不到即時
     就好像今天您在玩線上遊戲的時候 突然一小塊地圖看不到
     對您的整體性是沒有影響的 

例如:網路電話  串流影音  線上遊戲

2010-04-14

java 4/13 3倍數總和 hello 字串及變數 用+號連起來

昨天上的java



public class test
{
 public static void main(String args[])
 {
   //將變數宣告為整數變數,且將sum的初值設為0
   int i,sum;
   sum=0;
   //將i的初始值設為3,且每次i值增加3
   for(i=3;i<100;i+=3){
    //計算3倍數的總和
    sum=sum+i; 
   }
   System.out.println("sum="+sum);
 }
}


public class test
{
 public static void main(String args[])
 {
   //將a、b及c宣告為整數變數
   int a,b,c;
   //設定a值為5;b值為6;c值為 a+b
   a=5;
   b=6;
   c=a+b;
   //將所要顯示的字串及變數利用+號連接起來
   System.out.println("數值"+a+"加數值"+b+"等於"+c);  
 }
}


public class test
//public 將該類別設為共有狀態
//class 定義類別
{
  public static void main(String args[])
//main() 執行java時會自動執行的方法,需宣告為public才可讓其他類別呼叫
{
    //設定顯示的文字為Hello!
// 說明
    System.out.println("Hello!");
  }
}

英文學習網

in the middle of the night 
wild league on ice
bad for them good for me
http://www.tumblebooks.com/syndi ... htdarkness_full.swf
http://www.tumblebooks.com/syndication/excite/nonuts_full.swf
http://www.tumblebooks.com/syndication/excite/oldtimers_full.swf
http://www.tumblebooks.com/syndication/excite/hoic_full.swf
http://www.tumblebooks.com/syndication/excite/breath_full.swf
http://www.tumblebooks.com/syndication/excite/twas_full.swf
http://www.tumblebooks.com/syndication/excite/canada_full.swf
http://www.tumblebooks.com/syndication/excite/crazy_full.swf
http://www.tumblebooks.com/syndication/excite/hubbard_full.swf
http://www.tumblebooks.com/syndication/excite/littlered1.swf
http://www.tumblebooks.com/syndication/excite/jack_full.swf
http://www.tumblebooks.com/syndication/excite/recess_full.swf
http://www.tumblebooks.com/syndication/excite/monster_full.swf
http://www.tumblebooks.com/syndication/excite/surfing_full.swf
http://www.tumblebooks.com/syndication/excite/tidieswh.swf
http://www.tumblebooks.com/syndi ... aillougilbertwh.swf
http://www.tumblebooks.com/syndication/excite/kermit_full.swf
http://www.tumblebooks.com/syndication/excite/abraqt.swf
http://www.tumblebooks.com/syndication/excite/limabean_full.swf
http://www.tumblebooks.com/syndication/excite/squarewh.swf
http://www.tumblebooks.com/syndication/excite/trexwh.swf
http://www.tumblebooks.com/syndication/excite/hillary_full.swf
http://www.tumblebooks.com/syndi ... opsbottoms_full.swf
http://www.tumblebooks.com/syndication/excite/oneduckwh.swf
http://www.tumblebooks.com/syndication/excite/museum_online.swf
http://www.tumblebooks.com/syndi ... y_room10_online.swf
http://www.tumblebooks.com/syndication/excite/puzzle_bad.swf
http://www.tumblebooks.com/syndication/excite/puzzle_Dont_bug.swf
http://www.tumblebooks.com/syndication/excite/puzzle_onice.swf
http://www.tumblebooks.com/syndication/excite/puzzle_help.swf
http://www.tumblebooks.com/syndication/excite/puzzle_best.swf
http://www.tumblebooks.com/syndication/excite/puzzle_jack.swf
http://www.tumblebooks.com/syndication/excite/puzzle_12DAYS.swf
http://www.tumblebooks.com/syndication/excite/onicegame.swf
http://www.tumblebooks.com/syndication/excite/badgoodgame.swf
http://www.tumblebooks.com/syndication/excite/puzzle_twas.swf
http://www.tumblebooks.com/syndication/excite/stegowh.swf
http://www.tumblebooks.com/syndication/excite/boomer.swf
http://www.tumblebooks.com/syndication/excite/bugswh.swf
http://www.tumblebooks.com/syndication/excite/OgreFun.swf
http://www.tumblebooks.com/syndication/excite/pigswh.swf
http://www.tumblebooks.com/syndication/excite/firestationwh.swf
http://www.tumblebooks.com/syndication/excite/paperbagwh.swf
http://www.tumblebooks.com/syndication/excite/wait.swf
http://www.tumblebooks.com/syndication/excite/boysoup_full.swf
http://www.tumblebooks.com/syndication/excite/yancy.swf
http://www.tumblebooks.com/syndication/excite/baseball_full.swf
http://www.tumblebooks.com/syndication/excite/ali.swf
http://www.tumblebooks.com/syndication/excite/missm2.swf
http://www.tumblebooks.com/syndication/excite/pruney_full.swf
http://www.tumblebooks.com/syndication/excite/ook.swf
http://www.tumblebooks.com/syndication/excite/round.swf
http://www.tumblebooks.com/syndication/excite/round.swf
http://www.tumblebooks.com/syndication/excite/oddvelvet.swf
http://www.tumblebooks.com/syndication/excite/sea.swf
http://www.tumblebooks.com/syndication/excite/puzzle_caillou1.swf
http://www.tumblebooks.com/syndication/excite/puzzle_caillou2.swf
http://www.tumblebooks.com/syndication/excite/puzzlecanada.swf
http://www.tumblebooks.com/syndication/excite/californiap.swf
http://www.tumblebooks.com/syndication/excite/monsterp.swf
http://www.tumblebooks.com/syndication/excite/puzzlebreath.swf
http://www.tumblebooks.com/syndication/excite/stegop.swf
http://www.tumblebooks.com/syndication/excite/trexp.swf
http://www.tumblebooks.com/syndication/excite/abrap.swf
http://www.tumblebooks.com/syndication/excite/redp.swf
http://www.tumblebooks.com/syndication/excite/recessp.swf
http://www.tumblebooks.com/syndication/excite/hubbardp.swf
http://www.tumblebooks.com/syndication/excite/trexg.swf
http://www.tumblebooks.com/syndication/excite/stegog.swf
http://www.tumblebooks.com/syndication/excite/redg.swf
http://www.tumblebooks.com/syndication/excite/recessg.swf
http://www.tumblebooks.com/syndication/excite/monsterg.swf
http://www.tumblebooks.com/syndication/excite/hubbardg.swf
http://www.tumblebooks.com/syndication/excite/abrag.swf
http://www.tumblebooks.com/syndication/excite/breathg.swf
http://www.tumblebooks.com/syndication/excite/canadag.swf
http://www.tumblebooks.com/syndication/excite/hoicf.swf
http://www.tumblebooks.com/syndication/excite/wildleaguefr.swf
http://www.tumblebooks.com/syndication/excite/badforthemsp.swf
http://www.tumblebooks.com/syndication/excite/crazyfrench.swf
http://www.tumblebooks.com/syndication/excite/badforthemfr.swf
http://www.tumblebooks.com/syndication/excite/joshgibson.swf
http://www.tumblebooks.com/syndication/excite/town.swf
http://www.tumblebooks.com/syndi ... k_the_sun_final.swf
http://www.tumblebooks.com/syndi ... multi/splash_v1.swf
http://www.tumblebooks.com/syndi ... htdarkness_full.swf
http://www.tumblebooks.com/syndi ... lougilbert_full.swf
http://www.tumblebooks.com/syndication/excite/surfing_full.swf
http://www.tumblebooks.com/syndication/excite/twas_full.swf
http://www.tumblebooks.com/syndication/excite/hoic_full.swf
http://www.tumblebooks.com/syndi ... kie/book/jackie.swf
http://www.tumblebooks.com/syndication/excite/abraqt.swf
http://www.tumblebooks.com/syndication/excite/pearlsp.swf
http://www.tumblebooks.com/syndication/excite/lewissp.swf
http://www.tumblebooks.com/syndication/excite/jimmy.swf
http://www.tumblebooks.com/syndication/excite/ificould.swf
http://www.tumblebooks.com/syndication/excite/monster_full.swf
http://www.tumblebooks.com/syndication/excite/pearl.swf
http://www.tumblebooks.com/syndication/excite/joshgibson.swf
http://www.tumblebooks.com/syndication/excite/oneduckp.swf
http://www.tumblebooks.com/syndication/excite/bugsg.swf
http://www.tumblebooks.com/syndi ... llouandgilbertg.swf
http://www.tumblebooks.com/syndication/excite/squareg.swf
http://www.tumblebooks.com/syndication/excite/stegog.swf
http://www.tumblebooks.com/syndication/excite/cailloutidiesg.swf
http://www.tumblebooks.com/syndication/excite/duckg.swf
http://www.tumblebooks.com/syndication/excite/roundg.swf
http://www.tumblebooks.com/syndication/excite/martin.swf
http://www.tumblebooks.com/syndication/excite/stella.swf
http://www.tumblebooks.com/syndication/excite/pluto.swf
http://www.tumblebooks.com/syndication/excite/pirate.swf
http://www.tumblebooks.com/syndication/excite/oneisadrummer.swf
http://www.tumblebooks.com/syndication/excite/zoe.swf
http://www.tumblebooks.com/syndication/excite/moonring.swf
http://www.tumblebooks.com/syndication/excite/oliverk.swf
http://www.tumblebooks.com/syndication/excite/yael.swf
http://www.tumblebooks.com/syndication/excite/boomerbig.swf
http://www.tumblebooks.com/syndication/excite/dad.swf
http://www.tumblebooks.com/syndication/excite/oliversgame.swf
http://www.tumblebooks.com/syndication/excite/crabmoon.swf
http://www.tumblebooks.com/syndication/excite/izzy.swf
http://www.tumblebooks.com/syndication/excite/hannah.swf
http://www.tumblebooks.com/syndication/excite/thedot.swf
http://www.tumblebooks.com/syndication/excite/eatum.swf
http://www.tumblebooks.com/syndication/excite/dontforget.swf
http://www.tumblebooks.com/syndication/excite/best_full.swf
http://www.tumblebooks.com/syndication/excite/50below.swf

2010-04-13

LLC 提供給網路層使用的服務有四種

LLC 提供給網路層使用的服務有四種。分別稱為:
    TYPE 1 服務      TYPE 2 服務        TYPE 3 服務      TYPE 4 服務
   
    TYPE 1 服務及TYPE 3 服務是提供不需要依靠通訊連線(Connectionless Service) 的服務。
    TYPE 2 服務則是提供通訊連線式的服務  (Connection oriented Service) 。
    TYPE 1 的服務之下,每一筆被傳送的資料 (LLC PDU) 都被當成是獨立的個體
    網路根據其中的目的地位址來傳送資料,也就是一般所謂的 datagram 式服務。
    此類服務並不保證資料可以安全且正確的傳送到對方。
    在資料的傳送過程當中如果發生狀況,如資料錯誤或損毀,
    則資料會被丟棄並且沒有重送的功能。
    TYPE 2 的服務之下,則為了提供資料正確且按照秩序的傳送,必須依賴通訊連線的建立。
    在資料傳送之前首先必須建立通訊連線,然後才能開始傳送資料。
    此時傳送者的 LLC 與接收者 LLC 之的通訊協定會排除各種困難與問題,如資料錯誤、
    資料重覆、秩序不對等等,
    正確的傳送資料。在資料傳送完之後則可將通訊連線結束。
    TYPE 3 和 TYPE 1 相似,不過針對每一筆接到的資料都要回一個「回覆」
    (Acknowledgement) 訊息。
    TYPE 4 服務則同時提供以上三種服務。
   
sorce: http://www.cs.nthu.edu.tw/~nfhuang/chap03.htm

hidden terminal problen (隱藏節底問題) / CSMA/CA

CSMA/CA (碰撞避免)

因同一時間 同一頻率  只能一個人使用
如果發生碰撞就會88 封包或資料都會傳不出去
為了讓每一次傳輸成功 A C監聽網路 廣播之後再傳



hidden terminal problen
(隱藏節底問題)

A C為筆電
B 為無線網路分享器

A廣播傳B 但C沒有接收到A的廣播
所以C 也會廣播傳給B 然後
就會發生碰撞  封包或資料都無法傳輸
因為A不知C的存在

A-->RTS 廣
B-->CTS廣
同一時間同一頻率只能有一個能傳

--
RTS (Request to Sent)
CTS (Clear to Sent)
發送端 modem 使用 CTS ﹐而接收端 modem 則使用 RTS

2010-04-07

18歲時,你該知道的50件事 (轉PTT)

(1)If you are buying something that you will use often and for a long time,
never go cheap. You'll end up replacing it sooner or paying more in
maintenance costs than if you had spent more on good quality in the
beginning. Plus, you'll enjoy the nicer product throughout its lifetime,
rather than cringing every time you use something that is falling apart." --
bretts

如果你要買個常用而要用比較久的東西,不要買便宜的。因為很快就要換新或要支付額
外的維修的費用,那還不如一開始就選好一點的。而且你還會因為好的產品而享受到比較
好的生活品質,而不會老是用的時候壞掉而生氣。

(2)Don't spend money on a credit card that you can't afford to pay back. The
interest and late payments can put you in a hole that can take you years to
pay back.
不要用信用卡支付你付不起的費用,利息及分期付款會把你拖進一個好幾年才能還完的
大洞裡。


(3)Compound interest is your friend. Saving even a relatively small
percentage of your income each year, starting at 18, can leave you in much
better shape by the time you're ready to retire.
存款利息是你的好朋友,從18歲開始把自已收入的一部分存入銀行,是對自已退休生活的
良好規劃。


4) If you're working with someone who can be bargained down on a price, it
seldom hurts to try. The exceptions may be someone of exceptional talent,
someone you're going to have to work with on a regular basis, or someone
whose help you're going to need in a timely manner.
如果你的雇主會把工資拉低,你只有承受損失而已。除非你是為了學習某種特別的技能,
或是一種需要經驗的技藝及基本一些工作態度才去作這份工作。


5) Try to keep enough cash to pay your bills for at least six months in
reserve. It will make your life immeasurably easier if your car breaks down,
you have a surprise medical expense, or you get an opportunity to get a
fantastic bargain.
試著保有足夠支付你6個月生活的現金,當你的車子壞了或是其他緊急的醫療支出還是臨
時需要一筆錢以得到一個好機會時,你的生活不會為了這些事陷入困難。

6) Dogs are fantastic animals. They deserve to be called man's best friend.
But, if you are under the impression that you just need to buy a collar and a
bag of dry dog food every month and you're set, you're in for a rude
awakening. Dogs tend to be much more expensive and time consuming than you'd
think.
狗是神奇的動物,可以說是人類最好的朋友,但是你得每個月幫他買飼料、定期帶他去打
預防針或買其他相關用品,寵物其實每月的花費比你想像的多很多。


7) "Don't have any children or get married until you can support and love
yourself first." -- D-Vega
在學會如何愛自已之前,不要結婚或有任何的孩子


8) "Don't trade your vehicle in on a new one just a couple of years after
buying it. Pay it off and ride it until (the wheels fall off), all while
putting that car payment in the bank." -- The_Muck_Man
不要把才買幾年的車子又賣掉換新的,尤其是大部分的貸款都還在銀行裡的時候,把貸款
付完,然後開到不能開為止(大概是輪胎會掉出來的程度吧XD

9) College is a lot more work than high school and your job will be a lot
more work than college was.
大學的功課比高中多,出社會時功課也比大學多


10) Start looking for a new job BEFORE you quit your old job.
找到新的工作後再辭掉舊工作


11) Don't take any job that only pays commission unless you're either an
expert salesman or ready to spend months working without pay to gain the
skills you need to become an expert salesman.
不要接受任何只有佣金(獎金)的工作,除非你是超級業務員或是你願意好幾個月沒有收入
,只為了學習如何成為超級業務員。


12) Ideally, you should choose something you love to do so much that you'd do
it for free and find a way to make it into a career.
如果可以的話,找一件你熱愛而且你願意免費去作的事,然後試著把這件事加入到你的人
生事業中。


13) When asking for a salary, always have a figure you want in mind -- and
then ask for significantly more than that number. That way, you may get more
than what you want and even if you don't, you have a better chance of getting
the amount you had in mind than if you had blurted it out right off the bat.
如果你想要求更多的薪水,不要不經大腦的說出來,記得心裡有個數字,然後加上一些就
是你要開口的數字。這樣的話 你會有機會得到比你想的更多,或至少有機會達你心裡的
那個數字。


14) There's no shame in taking any honest job.
作正當而且誠實的工作沒有什麼好丟臉的。


15) Getting fired or laid off isn't the end of the world. To the contrary, a
lot of people, myself included, have moved on to bigger and better things
after being laid off or fired.
被解雇或是裁員了不是世界末日,反過來想,很多人,也包括我自已都離開自已的工作準
備接受更好的未來。


16) If you're not happy with the job market, the government, or the schools
in your area, remember that you can always move to another city or another
state. Lots of Americans do just that every year.
如果你不滿意這個地方的工作市場、政府或是學校,記住,每年都有許多美國人都跟你一
樣,你永遠可以搬去別的地方或是其他的州,


17) "I wish that I had known to check the oil in my vehicles and to have
changed it regularly. It would have saved a lot of money that I spent on
repairs -- directly due to my lack of changing the oil per the mechanic." --
Ann H.
「早知道我就會經常檢查車子的機油而且記得去換它們,這樣我就可以省下那些因為我沒
換機油而導致故障的維修費用了」


18) Lefty loosey, righty tighty. Turn it to the left to loosen it and to the
right to tighten it.
左鬆右緊,向左轉鬆,向右就是轉緊


19) Don't ever open a hot radiator cap or you can get seriously burned.
絕對不要在水箱散熱器還是熱的時候打開蓋子否則你會嚴重的燙傷


20) Here are 3 keys to keeping a reasonably clean house: don't leave any
dishes in the sink overnight; every time you have a full load of clothes,
wash 'em, and take out the trash every time the can is full. You do those
things, wipe up your messes, and vacuum when the floor gets filthy, and
you'll keep things reasonably neat.
要保持你的房子乾淨,有3個重要的關鍵:不要把碗盤留到明天才洗。洗衣籃滿了就馬上
拿去洗,垃圾滿了馬上拿出去倒。記得,把髒的地方擦乾淨,地板髒了就用吸塵器吸,這
樣你就有個整齊生活環境了。


21) If you use a computer even semi-regularly, it's worth your time to take a
typing class.
如果你使用電腦或經常需要使用,那麼去上打字課是值得的。


22) It's not enough to buy a gun and stick it in a drawer like a lucky
talisman. You need to learn to use the gun.
買把搶放在抽屜當你的護身符是不夠的,你還要學會怎麼用它


23) When you move, sell, throw away, and give away as much as possible or
you'll just end up moving boxes from one closet, where they have been sitting
for five years, to another closet, where they'll be sitting for the next five
years.
當你要搬家的時候,儘可能的把東西,丟掉賣掉或是給別人,這些東西已經在櫃子裡放了
五年了,你只從櫃子裡放進搬家箱子然後在放到另一個櫃子再放個好幾個五年。


                                                                               
24) Don't ever loan your friends money if you want to keep them as friends.
After all, if they were good with money and were likely to pay you back in a
timely manner, they probably wouldn't need the loan in the first place. If
they really need the money, you want to help them, and you can afford it --
just give it to them.
如果你要保持你的友誼,那就不要借給他們錢。畢竟,如果他們懂得用錢而且也會準時還
錢,那也不需要馬上就要借錢。如果他們真的需要錢,而你也想幫助他,你也負擔得起。
就把錢送他吧。


25) Women should never allow a boyfriend to take naked pictures. If it's on
film, you shouldn't be surprised if it goes public in one form or fashion
after a break-up.
絕對不要讓你的男友幫你拍裸照,如果還被拍成影片。那當妳們分手時,小心這些東西出
現在網路論壇或大眾媒體。


26) When men have a problem and they tell you about it, they want to know how
to fix it. When women have a problem and they tell you about it, they just
want you to listen.
當男人向你談他們的問題時,他們需要的解決的方法,當女人向你談她們的問題時,她們
需要的只是你的傾聽。


27) If you ever get arrested, don't say anything until you talk to a lawyer.
如果你被逮補了,在和律師談過以前,不要說任何事。


28) If you don't know the agenda of the people you're getting your news from,
then you don't have the information you need to know if what they're telling
you is true.
如果你無法確定現在別人跟你說的消息是從那裡來的,即便是真實的消息,其實你沒有得
到任何有效的資訊。


29) Government is a necessary evil. It's best to keep its tentacles out of
your life and out of our society as much as possible.
政府是必要之惡,最好把你的生活及社交圈遠離它們的觸角。


30) "When you're 18, you worry about what everybody is thinking of you; when
you're 40, you don't give a darn what anybody thinks of you; when you're 60,
you realize nobody's been thinking about you at all." -- Daniel Amen
當你18歲時,你煩惱為什麼人們總是想到你該怎麼作。當你40歲時,你才不管別人怎麼想
你要作什麼。當你60歲時,你才明白其實從來就沒有人想你怎麼樣。


31) Trust your instincts. They're usually right.
相信你的直覺,通常都是對的


32) If you think a doctor's wrong, don't hesitate to ask for a second
opinion. Your health is vitally important and doctors make mistakes just as
often as anyone else.
你的健康非常重要,你覺得醫生的判斷有問題,不用遲疑馬上去看別的醫生,醫生就跟其
他的一樣時常會出錯。


33) Don't ever say anything that may offend someone who is going to be
serving you food. You never know what they may stick in it when you're not
looking.
絕對不要對幫你上菜的人不禮貌,因為你不知道他會不會在你沒看到時惡搞你的食物。


34) If you get into a business deal with someone who goes to unusual lengths
to convince you of how honest or Christian they are, watch your wallet and
make sure you have an iron clad contract. They "doth protest too much."
如果和別人談生意時,對方一直說自已多誠實或是他是教徒不會騙人,那最好看緊自已錢
包並且再三確認合約內容,因為他們發太多誓了


35) "You are the average of the five people you spend the most time with." -
Jim Rohn
你的個性會被你最常接觸的5個人所影響


36) If you want to do something exceptional, don't expect anyone to believe
you can do it until you've done it. Unless you're already perceived as
exceptional, most people won't believe in you. That's doubly true for the
people who know you best and have therefore seen you at your most mediocre,
like your parents, family, and friends.
如果你要作一件特別的事,除非你已經完成了,否則別期望別人會相信你作得到。尤其是
你的父母、家人、朋友哪些知道你有多普通的人。


37) If you don't feel like you're being treated fairly by a company, don't
hesitate to ask for a manager. Oftentimes, a manager has gotten to where he
is in a company because he is good at pleasing customers like you in the
first place.
如果你覺得你在公司沒有被公平地對待,不用馬上去找經理談。因為大部分經理的工作就
是對付像你這種人。


38) "You are not invulnerable and you are not going to live forever. You can
(make) mistakes at 18 that you will have to live with for the rest of your
life." -- Don_cos
你不是無敵的,你也不會永生不死,你18歲時犯的錯,會跟著你活下去。


39) Nobody owes you a living.
你得自已負責自已的生活,別人沒有欠你什麼。

40) You are not a victim.
你不是受害者


41) If you just assume that every conspiracy theory is wrong without even
examining it, you will be right 99.99% of the time.
如果你認為沒有任何證據的陰謀論都是錯的,那麼你有99.99%的機會是對的。


42) "It's likely that whatever challenges you have faced in your life
currently could have been avoided but some better decisions upstream." --
Tony Robbins
不管你現在生活面對著什麼著的難題,你可以選擇逃避,但有時候更好的選擇是正面挑戰


43) At a minimum, keep a basic "to do" list, a schedule, and a budget.
至少寫下一個簡單願望清單、設下行程跟保留預算。


44) "Excellence is the gradual result of always striving to do better." --
Pat Riley
卓越是因為不斷向更好挑戰


45) "If you want your life to have impact, focus it! Stop dabbling. Stop
trying to do it all. Do less. Prune away even good activities and do only
that which matters most. Never confuse activity with productivity. You can be
busy  without a purpose, but what's the point?" -- Rick Warren
如果你要你的生活緊縮一點,那就專心一點。不要再閒晃或去玩,最好想都不要想。就算
是有益的事也不用去作,只要作工作上的事就好。只要是有關工作的事就不要遲疑去做就
對了。然後你就會忙碌又沒有目的。不過 ,這又有什麼意義呢?


46) Ironically, successful people tend to fail a lot more than unsuccessful
people. They also tend to ask a lot more questions.
肯定的是,成功的人比不成功的人設想更多失敗,他們也設想自已更多問題


47) When you consider Christianity, keep in mind this classic quotation from
C.S. Lewis, "If I, being what I am, can consider that I am in some sense a
Christian, why should the different vices of those people in the next pew
prove that their religion is mere hypocrisy and convention?"
當你思考基督教教義時,想想C.S Lewis的經典格言「如果我以現在的情況自認對於基督
的教義有點認識,那為什麼坐在隔壁的人種種惡行讓他們的信仰看起來只不過是偽善跟肓
從?」


48) You beat 50% of the people by just showing up. You beat another 40% by
working hard. The last 10% is a dogfight in the free enterprise system.
多表現一點你就打敗了百分之50的人了,再工作認真就打敗剩下百分之40的人,接下來的
百分之10是自由企業體系裡的惡鬥。


49) There are at least six key areas of your life: health, career, romantic,
social, money, and religion. If you neglect any one of those areas, it will
harm you in the other areas and keep you from being as happy as you can be
otherwise.
你的生命中有6個重要關鍵領域:健康、事業、愛情、友情、金錢、信仰。如果你忽視任
何一項,那就會在其他領域裡受傷,同樣的,某個領域的成功或滿足也會幫助到其他的領
域。
                                                                               
                                                                               
50) When trying to decide between two closely matched alternatives, always
have a bias towards action. In the long run, it'll lead to your having a lot
more experience, great stories, and a richer, fuller life.
當處在兩難時,永遠選擇偏向行動的那一邊,長遠來看,你會得到更多經驗、更多故事、
更豐富、滿足的人生。

2010-04-06

FreeMind 心智圖 或 系統分析

今天在做接到moodle 系統分析的指派任務
原本還在使用word來做系統分析 畫樹狀圖
結果發現 非常的難畫  於是小弟我就上了 google尋找
找了不少的 軟體  但不是下載時間太久  就是 要$$
且要價..... 好吧  對我工讀生來說是個天價    35.5美金
 所以就去尋找 免費的軟體
結果就被小弟找到了
FreeMind
官方網站  http://freemind.sourceforge.net/wiki/index.php/Main_Page
download http://freemind.sourceforge.net/wiki/index.php/Main_Page


ps: 安裝此軟體前記得 要先安裝 java http://www.java.com/zh_TW/download/manual.jsp

系統畫面

小弟我畫的沒有很好
還請各位見諒   如果要看  請另開分頁  另存新檔  將檔案放大到65%  就可以看清楚了
還有勞各位了
圖片裡是moodle16的系統分析 或系統架構

2010-04-04

加快win7的反應速度

最近桌上型電腦掛了
看著我的筆電win7系統
感覺它的反應速度跟xp相比有點給它慢到
所以我找到一個地方可以去修改
開始 在搜尋程式及檔案那個欄位  打入  regedit
然後找到
hkey_current_user 
control panel
 mouse
MouseHoverTime 原本400  改成  1
這樣就完成了

2010-04-02

0402 史學

夏400年 商600年 周 856年 秦

唐太宗 : 以鏡為鑑 可以正衣冠
以人為鑑 可以明得失
以史為鑑 可以知興替

文化高度決定一個國家的高度

究天 人之際
天到 人事

歷史是由所有人不斷互動所構成
菁英文化<古代>
庶民文化
鄉土文化

埃及古猿 2000萬拉馬古猿 1600-800萬 南猿600萬 巧人400萬 人類300萬  直立猿人 300 -20萬 智人20 -1萬 現代人 1萬

四大文明古國: 埃及 西亞 中國 印度

新石器時代大部分遺址都分布在小河旁的階地

中國早期農業需要精耕細作 要大量的人力物力 顧宗法性 保守性強 具有敬天法祖的觀念

中國文化的起源是多元的 各區系文化齊頭並進 互相交流 最後融合成中國文化 黃河流域是在夏朝之後 才成立中國的文化中心

中國農業文化發展
一 一萬年前的原始農業
二 八~九千年前出現聚落
三 五~七千年前出現村落 仰韶文化:文明的曙光
四 四五千年前出現禮器 青銅城市 文字等 進入文明時代—龍山文化



人類生活發展階段
石器時代
青銅時代 : 龍山政治組織較複雜即將進入國家階段
鐵器時代: 春秋
石油時代: 動力
資訊生物科技

人類政治組織發展階段
氏族
部落
部落聯盟 4500~4000年
王朝(國家): 夏

帝國:秦
世界各國
區域聯盟
世界帝國

農業起源中心
西亞
中美洲
黃河和長江流域


從母系色會到父系社會
母系社會:權力和財產的計程都在女性中進行
中國大概在五帝時期進入父系社會
不知其父 但知其母 感天而生 聖人無父 感生傳說

圖騰制度
圖騰制度: toten族徽
遠古的人對動植物具有神祇能力加以崇拜 並認為他們是自己的祖先
人從圖騰而生 死後回到圖騰世界
圖騰祖先


婚姻制度的發展
人類婚姻發展的過程
雜婚:上古之時 湳女雜處而游 吳長又夫妻之道

血緣婚(血族婚) 集團內同輩通婚 包括兄弟姊妹 通常分為老中青三輩

群婚制 一個集團和另一個集團世代通婚 通常是有共同祖先的兩個部落
姊妹婚 一妻多夫 兄弟婚 妻嫂制 蒸報制 父死子可取其後母
對偶婚 男女有較固定的對象 各居本家從妻居從父居搶婚 買賣婚 交換婚

一夫一妻


資本主義 追求利潤
社會主義 強調公平正義合理分配
私有制出現 小農經濟 漢代土地兼併之風盛行
富者田連阡陌 貧者玄錐之地

商鞅變法最徹底最成功的原因
秦孝公的大力支持
嚴刑峻法 令出必行 賞罰分明
秦國僻處西陲 文化落後 民風淳樸 易於改造 六國傳統文化包袱較重

社會福利


哲學的突破
西元前七到五世紀 世界一些地區在思想上有重大的突破 為後世立下典範

中國 孔子 老子
希臘 蘇格拉底 柏拉圖 亞里斯多得
印度 釋迦摩尼
中東 猶太人編撰 “舊約”

四大勝哲
孔子 蘇格拉底 亞里斯多德 釋迦摩尼 耶穌


從封建到郡憲
戰國七雄都是中央集權的國家

2010-04-01

EASEUS Todo Backup 系統備份軟體

官方網站: www.todo-backup.com
首先先下載下來解壓縮
點選執行 然後就更一般軟體一樣  是的  是的 下一步 
ps : 最好先把防毒軟體關掉 

vista以上的版本會出現這個畫面

一樣點選確定

backup     備份
restore      還原
clone disk 複製硬碟<整個>   用於升級時
mount        掛載
unmount    取消掛載
check        檢查備份的iso  (映像檔)
----------------------------------------------分隔線 ---------------------------------------------------------
備份
1. 點選backup(備份)
左下角有個Create image sector by sector,
如果打勾勾則會完全複製全部的磁區  而不是複製資料夾或檔案的方式
講白一點就是會比較久拉

2. 下一步會問你要存在哪裡  建議存不同的地方
不要存在c裡面拉

3. 擇備份的選項,有使用預設值及手動設定兩種
 手動設定可選擇備份的優先順序、壓縮多少、密碼保護及映像檔分割

4. 到達100%後按下〔Finish〕即可完成備份了



----------------------------------------------分隔線---------------------------------------------------------
restore      還原
1. 選取您備份的檔案   要還原到哪顆硬碟裡面
最後再選擇要還原的目的磁碟機,按下〔Proceed〕即可進行還原


----------------------------------------------分隔線 ---------------------------------------------------------

clone disk 複製硬碟

如果你的硬碟容量太小,想換顆新硬碟,但是又懶得重新安裝作業系統,這時候可以使用它的「Clone Disk」功能

 ----------------------------------------------分隔線 ---------------------------------------------------------
mount        掛載
如果部分檔案損毀就可以用掛載

----------------------------------------------分隔線 ---------------------------------------------------------

建立還原光碟

萬一硬碟裡面的作業系統檔案損毀了,可能連Windows都進不去,要如何還原硬碟呢?沒關係,這套軟體還提供了光碟開機的功能,只要先放一片空白 的CD片到燒錄機中,再從主畫面的【Tool】選單→【Create Bootable Disk】,選擇你的光碟燒錄機,按下〔Proceed〕即可燒錄一片開機光碟了。

ps: 也可以用其他軟體來手動燒錄 光碟映像檔位置在
C:\Program Files\EASEUS\EASEUS Todo Backup 1.0\bin\image.iso


--
sorce: http://blog.soft.idv.tw/?p=579&page=2

喝飲料

今天喝到同學請的飲料耶
開心^^
雖然在那個當下累的快死人
現在眼皮重的跟什麼一樣
但我還是要感謝俆建中同學
請我喝奶茶  雖然很甜
不過  感覺很好就是了

雖然請飲料的原因很奇怪
不過  你的好意我就接受啦


感恩喔!!