喜歡那樣的街道,搭點風配點雨…
我知道,這是自私的享受,災害讓許多人不便,甚至離別感傷,然而,拋開一切,稀疏的人影街道,彷彿更接近了自己。
颱風當天,和國中同學一起搭火車,沒想到等車的時間比我乘車的時間還久,然而,卻很慶幸自己還有個伴可以聊,我好像太少跟人對話,或是說,現實中的新朋友、同學,也很難讓我想開口聊天,並不是心中充滿秘密,反而是過於清淨而導致什麼話也不想提吧?
晴朗的天空,我想,世界上仍舊充斥著許多努力往上進步的人們!
2008年7月21日 星期一
擦身而過的偷閒
世俗的枷鎖
教練,我想寫程式…
Coding,當我一躍進後,可以很爽快地擺脫世俗的枷鎖,僅需享受著邏輯世界,說一就是一,錯了就馬上得知而更正,不需看別人的臉色改變邏輯。
好久沒聽聽音樂,播首海賊王的歌熱血一下吧!
2008年7月16日 星期三
[HTML] DL , DT , DD
- The <dl> tag defines a definition list.
- The <dt> tag defines the start of a term in a definition list.
- The <dd> tag defines the description of a term in a definition list.
程式碼:
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
效果:
Coffee
Black hot drink
Milk
White cold drink
[PHP] mb_substr , mb_strcut
- http://tw.php.net/manual/en/function.mb-substr.php
- http://tw.php.net/manual/en/function.mb-strcut.php
<?
$text = "我很醜..可是我很溫柔。";
echo $text;
echo "<br />\n";
echo mb_substr( $text , 0 , 6 , "utf-8" );
echo "<br />\n";
echo mb_strcut( $text , 0 , 6 , "utf-8" );
?>
result:
我很醜..可是我很溫柔。
我很醜..可
我很
[HTML] OL , UL , LI
- The <ol> tag defines the start of an ordered list.
- The <ul> tag defines an unordered list.
- The <li> tag defines the start of a list item. The <li> tag is used in both ordered (<ol>) and unordered lists (<ul>).
程式碼:
<ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
<ul>
<li>Coffee</li>
<li>Tea</li>
</ul>
效果:
1. Coffee
2. Tea
o. Coffee
o. Tea