PIXNET Logo登入

真實旅程

跳到主文

人生就像一趟旅程,這裡記錄著我的足跡...




部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 1月 25 週二 201100:49
  • VeryCD取消版權音樂電影下載

scr_0124_230132.png
今日在P2P界最大的新聞,非這則新聞莫屬: 大陸VeryCD電驢 本月停止下載(2011/01/24 12:05) 原文網址: 大陸VeryCD電驢 本月停止下載 | 國際新聞 | NOWnews 今日新聞網 http://www.nownews.com/2011/01/24/334-2684315.htm#ixzz1By7G2F9y
(繼續閱讀...)
文章標籤

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

  • 個人分類:網路觀察
▲top
  • 1月 24 週一 201115:30
  • [linux][shell] 關於'date' 應該知道的事


在Linux的shell裡面,觀看目前時間的指令是date,如:

$ date
Sat Jan  8 15:34:16 CST 2011
$

  由結果可以看出來,他並不只限於『日期』,連時間一併都顯示出來。這與DOS將日期,時間分別用date, time 兩個指令是不一樣的。不過date能做的事情遠多於此,先就用法來看:
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(32,059)

  • 個人分類:Linux/Shell script
▲top
  • 1月 20 週四 201121:08
  • [筆記]Javascript刷新頁面的幾種方法

各式各樣利用JavaScript reload 的方法。   以下文章轉貼自:http://king971119.blogspot.com/2009/08/javascript.html#comment-form    
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(1) 人氣(94,878)

  • 個人分類:HTML/JavaScript/CSS
▲top
  • 1月 18 週二 201112:26
  • [筆記]Firefox 命令列參數

在某些很特殊的情況下,需要利用DOS BATCH檔來呼叫 Firefox,在這邊做個筆記。命令列參數如下: Command Result Example profile "<path>" Starts with profile located at the given path.
Does not apply to Mozilla Suite/SeaMonkey 1.x firefox.exe -profile "E:\myprofile" P "<profile name>" Starts with a given profile name (profile name is case sensitive). firefox.exe -P "Joel User" <url> Launches the application and opens the given URL(s). firefox.exe "www.mozilla.org" "www.mozillazine.org" safe-mode Launches the application with extensions disabled and the default theme.
Does not apply to Mozilla Suite/SeaMonkey 1.x firefox.exe -safe-mode no-remote Enables running multiple instances of the application with different profiles; [1] used with -P
Does not apply to Mozilla Suite/SeaMonkey 1.x firefox.exe -no-remote height <value> Sets height of the startup window to <value>. firefox.exe -height 600 width <value> Sets width of the startup window to <value>. firefox.exe -width 800 ProfileManager Starts with Profile Manager. firefox.exe -ProfileManager CreateProfile Create a new profile firefox -CreateProfile test migration Starts the application with the Import Wizard
Does not apply to Mozilla Suite/SeaMonkey 1.x firefox -migration console Starts the application with a debugging console. firefox.exe -console jsconsole Starts with the Error Console (Javascript Console). firefox.exe -jsconsole inspector <url> Starts with the DOM Inspector. firefox.exe -inspector http://www.google.com/ chrome <url> Loads the specified chrome. firefox.exe -chrome chrome://inspector/content/inspector.xul new-window <url> Loads a URL in a new browser window. firefox.exe -new-window <url> new-tab <url> Loads a URL in a new tab. firefox.exe -new-tab <url> install-global-extension "<path>" Installs an extension globally. firefox.exe -install-global-extension "C:\Temp\extension-file.xpi"
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(2,387)

  • 個人分類:電腦資訊
▲top
  • 1月 16 週日 201119:56
  • 看Youtube學英文

image
拜Youtube流行之賜,在Youtube上面有各式各樣的影片可以幫助我們學習英文。但是,面對這麼多的影片該如何選擇呢?以下提供一些個人的心得。

尋找ESL影片

所謂的ESL,是『English as a Second Language』的縮寫,指的是以英文為第二語言。從敦煌書局外文網,可以看到詳細的解釋:
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(3) 人氣(20,808)

  • 個人分類:英語學習
▲top
  • 1月 13 週四 201120:59
  • 隱藏版skype表情符號

image
用skype傳訊息時,除了內建的表情符號,還有以下這些隱藏版:


 
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(156,718)

  • 個人分類:電腦資訊
▲top
  • 1月 12 週三 201116:26
  • 用cygwin的ps, kill 來殺掉沒有回應的Windows process


在使用Windows的過程中,無可避免會遇到process 沒有反應。大部分情況下,你可以叫出工作管理員,然後將沒有回應的process殺掉。 BUT! 套句九把刀說的話:『人生最厲害就是這個 BUT!』 有時候,連『CTRL+ALT+DEL』都沒有作用,根本沒機會打開工作管理員。
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(1,285)

  • 個人分類:電腦資訊
▲top
  • 1月 06 週四 201122:29
  • POSIX線程(pthread)入門文章分享

在IBM developerWorks 中國網站中,有一系列關於pthread的文章,對於pthread有初步而全面的介紹。特地將目錄轉成繁體字,摘錄如下。  
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(49,589)

  • 個人分類:Linux/Shell script
▲top
  • 1月 03 週一 201113:43
  • 在Shell裡面產生亂數

利用Bash內建變數$RANDOM

在Bash裡面,有一個內建的變數,可以用來產生亂數: $RANDOM 使用起來很簡單,用echo 叫出來即可:
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(14,291)

  • 個人分類:Linux/Shell script
▲top
  • 1月 03 週一 201111:59
  • Basic structure of IPv4,IPv6

雖然目前IPv6尚未廣泛應用,不過偶爾還是會碰到客戶要求 IPv6 compatible,所以在寫網路程式的時候,最好是『一魚兩吃』。 以下記錄的是四個最常用的structure,方便查閱:

struct sockaddr {
      unsigned short sa_family;     /* address family, AF_xxx */
      char sa_data[14];                  /* 14 bytes of protocol address */
};

struct sockaddr_in {
      short int sin_family;                /* Address family AF_INET */
      unsigned short int sin_port;    /* Port number */
      struct in_addr sin_addr;         /* Internet address */
      unsigned char sin_zero[8];     /* Same size as struct sockaddr */
};
struct in_addr {
      unsigned long s_addr;           /* Internet address */
};

struct sockaddr_in6 {
      sa_family_t sin6_family;         /* AF_INET6 */
      in_port_t sin6_port;               /* transport layer port # */
      uint32_t sin6_flowinfo;           /* IPv6 traffic class & flow info */
      struct in6_addr sin6_addr;    /* IPv6 address */
      uint32_t sin6_scope_id;        /* set of interfaces for a scope */
};
struct in6_addr {
      uint8_t s6_addr[16];            /* IPv6 address */
};


struct addrinfo
{
  int ai_flags;                           /* Input flags.  */
  int ai_family;                         /* Protocol family for socket.  */
  int ai_socktype;                    /* Socket type.  */
  int ai_protocol;                     /* Protocol for socket.  */
  socklen_t ai_addrlen;           /* Length of socket address.  */
  struct sockaddr *ai_addr;     /* Socket address for socket.  */
  char *ai_canonname;           /* Canonical name for service location.  */
  struct addrinfo *ai_next;       /* Pointer to next in list.  */
};

 
(繼續閱讀...)
文章標籤

dragonspring 發表在 痞客邦 留言(0) 人氣(2,063)

  • 個人分類:C語言
▲top
«1...111213»

文章搜尋

Adsense

BloggerAds

個人資訊

dragonspring
暱稱:
dragonspring
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (156,718)隱藏版skype表情符號
  • (94,878)[筆記]Javascript刷新頁面的幾種方法
  • (58,987)[linux[tips]nohup: 讓command在遠端執行,不因登出而中斷
  • (49,589)POSIX線程(pthread)入門文章分享
  • (42,632)各種圖檔的簡單比較
  • (32,059)[linux][shell] 關於'date' 應該知道的事
  • (20,808)看Youtube學英文
  • (17,514)[linux][tips]去除DOS檔案行尾的^M
  • (14,291)在Shell裡面產生亂數
  • (3,288)四葉酢醬草--幸運草

最新文章

  • [每日一畫] #86 荷花三幅
  • [每日一畫] #85 臉譜三
  • [每日一畫] #84 臉譜 二
  • [每日一畫] #83 臉譜
  • [每日一畫] #82 蓮花
  • [每日一畫] #81 瘋世足 - 破功
  • [每日一畫] #80 大聲說出心裡話
  • [每日一畫] #79 蟲
  • [每日一畫] #78 夏日
  • [每日一畫] #77 自畫像

文章分類

  • 冒險課程 (4)
  • 每日一畫 (84)
  • 新聞時事 (1)
  • 電腦遊戲 (1)
  • IPTV (1)
  • 財經 (1)
  • 露營 (1)
  • 親子時間 (1)
  • Linux/Shell script (9)
  • 生活隨筆 (2)
  • 網路觀察 (2)
  • HTML/JavaScript/CSS (2)
  • 英語學習 (1)
  • 電腦資訊 (11)
  • C語言 (1)
  • 未分類文章 (1)

最新留言

  • [24/08/13] 新飛Hsinfei 於文章「看Youtube學英文...」留言:
    10個看影片學英文資源不藏私分享,美劇、電影、看影片網站都在...
  • [22/05/26] dragonspring 於文章「四葉酢醬草--幸運草...」留言:
    :)...
  • [22/05/26] 訪客 於文章「四葉酢醬草--幸運草...」留言:
    原本在搜尋引擎找出一堆 Blog 文章,不知哪幾篇值得花時間...
  • [21/09/09] 新飛Hsinfei 於文章「看Youtube學英文...」留言:
    同步分享:&#127902;️自學英文有技巧!利用YOUTU...
  • [18/03/07] 鹽巴 於文章「[筆記]Javascript刷新頁面的幾...」留言:
    非常感謝,幫上我的忙~謝謝...
  • [16/11/11] 28國語言翻譯公司 於文章「[每日一畫] #86 荷花三幅...」留言:
    來並定為在然當隻氣在後會不機,把看太個要心再。 165...
  • [14/12/26] i520store 於文章「2011:為每頁自動加入Adsense廣...」發表了一則私密留言
  • [14/09/25] maurice08 於文章「[每日一畫] #84 臉譜 二...」留言:
    不錯的地盤。 有空來我家坐坐喔 http://mauri...
  • [14/09/23] uxn82j00b 於文章「[每日一畫] #79 蟲...」留言:
    ﹉跟§前夫○相﹉識六年﹂,〇直﹋到~最近◎才﹎看☉清...
  • [14/08/08] OOMEN 於文章「[每日一畫] #68 假裝上班...」留言:
    LIKE!...

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣:

部落格工具

留言板