部落格文章訂閱


貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。


自訂搜尋

找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護~若有任何建議事項, 歡迎透過留言板留言給我喔!!


  • 你不能決定生命的長度,但可以控制它的寬度;
  • 你不能左右天氣,但可以改變心情;
  • 你不能改變容顏,但可以展現笑容;
  • 你不能控制他人,但可以掌握自己;
  • 你不能預知明天,但可以利用今天;
  • 你不能樣樣勝利,但可以事事盡力。

free counters

怎么把一个目录排除在htaccess规则之外

比如 所有子目录的文件全部做伪静态
而管理目录不需要~ 把它排除~ 
RewriteRule ([a-zA-Z0-9]*)/([a-zA-Z0-9]*)\.html $1/$2\.php

Frank 發表在 痞客邦 留言(1) 人氣()

推薦一看的影片, 甚麼是愛情?

這篇也不錯 ^.^ 

Frank 發表在 痞客邦 留言(0) 人氣()

你(妳) 也是低頭一族嗎? 放下手邊的行動裝置, 關心身邊的朋友吧 ^.^

很推薦的一部影片, 描寫現在人的低頭族生活, 有興趣的朋友就看看吧~

 


文章標籤

Frank 發表在 痞客邦 留言(1) 人氣()

你還在煩惱你的股票還沒解套嗎????

你還在煩惱證交稅嗎????

你還在找不到行情的方向嗎????

股票張數太多了 !~配股配息怎麼結稅呢???

stoc.futures 發表在 痞客邦 留言(0) 人氣()

煲湯食譜大全 
 

鴨梨南北杏瘦肉湯
用料: 新鮮鴨嘴梨三個,瘦肉十兩(約四百克),南北杏共一兩(約四十克),花生油,鹽各少許,清水十二碗
做法: (1) 鴨嘴梨洗淨,去皮除心;南北杏洗淨,瘦肉原塊洗淨備用. (2) 燒滾清水,下豬肉、梨和杏仁,旺火燒至大滾,改中火以至文火,煲約二小時即成.

Frank 發表在 痞客邦 留言(0) 人氣()

rsync stands for remote sync.

rsync is used to perform the backup operation in UNIX / Linux.

rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server.

Important features of rsync

  • Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes to the destination location, which makes the transfer really fast.
  • Security: rsync allows encryption of data using ssh protocol during transfer.
  • Less Bandwidth: rsync uses compression and decompression of data block by block at the sending and receiving end respectively. So the bandwidth used by rsync will be always less compared to other file transfer protocols.
  • Privileges: No special privileges are required to install and execute rsync

Syntax

$ rsync options source destination

Source and destination could be either local or remote. In case of remote, specify the login name, remote server name and location.

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

The following JavaScript is used to detect the Internet Explorer version 8, 7 or 6. It’s returned -1 if the browser is not Internet Explorer.

function getInternetExplorerVersion()
// Returns the version of Windows Internet Explorer or a -1
// (indicating the use of another browser).
{
   var rv = -1; // Return value assumes failure.
   if (navigator.appName == 'Microsoft Internet Explorer')
   {
      var ua = navigator.userAgent;
      var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
      if (re.exec(ua) != null)
         rv = parseFloat( RegExp.$1 );
   }
   return rv;
}
function checkIEVersion()
{
   var msg = "You're not using Windows Internet Explorer.";
   var ver = getInternetExplorerVersion();
   if ( ver> -1 )
   {
      if ( ver>= 8.0 )
         msg = "You're using Windows Internet Explorer 8.";
      else if ( ver == 7.0 )
          msg = "You're using Windows Internet Explorer 7.";
      else if ( ver == 6.0 )
          msg = "You're using Windows Internet Explorer 6.";
      else
          msg = "You should upgrade your copy of Windows Internet Explorer";
    }
   alert( msg );

Reference

http://msdn.microsoft.com/en-us/library/cc817582.aspx

http://www.mkyong.com/javascript/how-to-detect-ie-version-using-javascript/


文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

Q:

How do I make Vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically indent code after curly brace blocks like emacs does?

Also, how do I save these settings so I never have to input them again.

I've seen other questions related to this but it always seems to be a little off from what I want.

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

每天都自我激勵一次吧!這世界是非常的美好的

// 小女生版

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

Question:

I have one small problem i.e. one textbox is their when click on the text box the popup is shows below the text box.The popup contains celltable

i write keypresslisner for textbox when i press Down And UP arrow the focus is set to be cellTable And also we still press down and up arrows its highlites the rows in celltable

Ans:

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

I bought a Transcend memory stick and tried to use it in my mac. The stick is described as compatible to OS X but I was not able to use the stick out of the box.

This is caused by the stupid software which is installed on my stick. First of all the stick is write protected and Transcend installed a Trend Micro Virus Scanner which is mounted as CD drive.

The removal of this combination took hours of my time.
After searching around i found the solution on seasonsecurity.com where it is described in this thread>>

Frank 發表在 痞客邦 留言(0) 人氣()

Q: How to get Minimum or Maximum value in Java array?

A: 

public static int getMaxValue(int[] numbers){

int maxValue = numbers[0];

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

Java如何取得營幕寬度? 

import java.awt.Toolkit;
import java.awt.Dimension;
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()

Q:

Namespace 2.6 in the application descriptor file should be equal or higher than the minimum version 3.1 required by Flex SDK ????

A: 

you need to replace <application xmlns="http://ns.adobe.com/air/application/2.6"> to <application xmlns="http://ns.adobe.com/air/application/3.1"> inside *-app.xml file.

Frank 發表在 痞客邦 留言(0) 人氣()

如何透過 concat 將查詢結果資料記錄組合成一串 ?

 

原始資料:

name, title

文章標籤

Frank 發表在 痞客邦 留言(0) 人氣()