顯示具有 Internet 標籤的文章。 顯示所有文章
顯示具有 Internet 標籤的文章。 顯示所有文章

星期四, 11月 01, 2007

TCP connections in OSX

隨著P2P分享軟體的增加,愈來愈多人使用這類軟體,使得本來的TCP連線數不夠用。
雖然調過Winxp上的TCP連線數,但是OS X上的要怎調整呢?

其實很簡單。因為OS X底層是採用FreeBSD的改良,所以調整系統參數的方法與FreeBSD相同。
使用sysctl這指令即可。
相關的文件可參考
Mobile01 【分享教學】使用sysctl 調校你的OSX (之一) 之二

星期四, 10月 25, 2007

Gmail in email clients

Today, I saw the news of Gmail's IMAP support.
IMAP( Internet Message Access Protocol ) can let you communicate with gmail's server and you can make changes with your mails as mails on gmail's server are applied changes immediately.

I've given up mail clients( outlook, thunderbird ... etc. ) many years, since their inconvenient occurs as I switch among 2 or more computers. Such as downloading your email with POP3, unsynchronized email as you downloaded them.

Hence, webmail service seems the only way to solve this problem. And gmail is indeed an outstanding mail service today. Now, may IMAP combine mail client application with webmail service perfectly ?

In my experience, IMAP with lots of mails will lower its performance and users have to wait "few seconds".

星期二, 8月 21, 2007

ssh tunneling

之前試著用http tunnel,結果搞了很久還是失敗。
而且是時好時壞,還讓計中用SMTP把ip ban了....sigh

現在終於用ssh tunnel穿過firewall了。特此記念一po.

##CONTINUE##
最近測試NAT時,順手開了open ssh server,為了穿過mtk的firewall
還特地把port 443打開了。

在一番努力之後,終於穿過firewall了。
簡單的說,因為sshd本身就能提供socks5,所以利用plink或是putty的ssh tunneling功能。
在localhost:xxx用dynamic destination的方式做listenning。
這樣一來,所有經過localhost:xxxx的封包都能用這條ssh tunnel傳到遠端的socks5服務。
ref:
對岸寫的幾種建立http tunnel的方法

PuTTY - SSH Tunnel Usage


ps.
用ssh穿過firewall後,不禁想到,這種方式擋得住嗎?(笑)

星期日, 7月 22, 2007

Blogger Hack

新加入一些功能,在輕鬆擴充 Blogger 功能: Blogger_ext2.js (jQuery way)!一文中,
擴充了很多blog功能喔, 而且目前已經寫成了plugin的型式。
大家一起來擴充blogger吧~ 許多有用的功能....如下
##CONTINUE##
  • 部落格會笑了!Blogger Smiley!
  • 隱藏 Blogger NavBar
  • 隱藏 Widget
  • 繼續閱讀功能
  • Sidebar 側邊網頁元素 折收/展功 功能
  • 讓網誌作者的回應文章高亮度顯示
  • 標籤雲 Label Cloud 功能
  • Sidebar 側邊網頁元素 Icon 圖示功能
  • 加入社群書籤功能

11種表情輸入對照碼: ※記得表情前面要空一格!
• 微笑 :) or :-)
• 大笑 :D or :-D
• 害羞 :$ or :-$
• 難過 :( or :-(
• 吐舌 :p or :-p
• 眨眼 ;) or ;-)
• 親親 :k or :-k
• 火大 :@ or :-@
• 閉嘴 :# or :-#
• 囧臉 :x or :-x
• 驚訝 :o or :-o
也許之後還會有更多擴充.

星期四, 6月 28, 2007

神奇的firefox 文字複製/貼上

最近抓檔案時,遇到winrar解壓縮crc錯誤。
本以為是原作者沒弄好、或是winrar特殊版本的問題。
結果發現,是firefox的問題。
當在firefox營幕上的一串字裡面無空白時(即 顯示正常),把它複製/貼上到txt檔中。
會發現莫明的多了幾個空白在裡面。 冏rz

測試平台: firefox 2.0.0.4、WinXP sp2