2010年6月24日 星期四

Netbeans Tips



  • Ctrl + Shift + C: Comments out the
    selected block of code.






  • Ctrl + Shift + (UP/DOWN ) duplicate line up/down




  • Ctrl + E deletes the current line (very useful)



  • Ctrl + Shift + I: Fixes your
    imports, handy if you've just written a piece of code that needs a lot
    of packages imported.




  • alt+ shift + o --> allows you to search and
    open any file in your open projects



 


 


Netbeans Tips



  • Ctrl + Shift + C: Comments out the
    selected block of code.






  • Ctrl + Shift + (UP/DOWN ) duplicate line up/down




  • Ctrl + E deletes the current line (very useful)



  • Ctrl + Shift + I: Fixes your
    imports, handy if you've just written a piece of code that needs a lot
    of packages imported.




  • alt+ shift + o --> allows you to search and
    open any file in your open projects



 


 


PHP Codeigniter QueryString

(未設定內容)

PHP Codeigniter QueryString

(未設定內容)

2010年6月18日 星期五

GIF Creator Notes

Transparent Color:將會透明的顏色


四種Disposal method 方式分別是
0 - 不使用處置方法
1 - 不處置圖形,把圖形從當前位置移去
2 - 回覆到背景色
3 - 回覆到先前狀態


GIF Creator Notes

Transparent Color:將會透明的顏色


四種Disposal method 方式分別是
0 - 不使用處置方法
1 - 不處置圖形,把圖形從當前位置移去
2 - 回覆到背景色
3 - 回覆到先前狀態


2010年6月3日 星期四

PHP array_splice

<h1>array_splice(Array, int offset, int length, mixed replacement)</h1>

刪除Array中從offset開始length個元素,並用replacement取代。

<ol>
<li>offset < 0:從尾端第abs(offset)個元素<b>開始(包括)</b></li>
<li>length < 0:刪除(取代)<b>直到(不包括)</b>尾端第abs(offset)個元素</li>
</ol>

<a href="http://www.php.net/manual/en/function.array-splice.php">Reference</a>



PHP array_splice

<h1>array_splice(Array, int offset, int length, mixed replacement)</h1>

刪除Array中從offset開始length個元素,並用replacement取代。

<ol>
<li>offset < 0:從尾端第abs(offset)個元素<b>開始(包括)</b></li>
<li>length < 0:刪除(取代)<b>直到(不包括)</b>尾端第abs(offset)個元素</li>
</ol>

<a href="http://www.php.net/manual/en/function.array-splice.php">Reference</a>