最近被電話民調廣告吵得很煩, 每天打來... (4開頭的電話)
感覺應該要打電話去中華電信,
請他們是否可以停掉這種強迫中獎的廣告...
我們小時候好像都被教育成"電話"就要優先處理,
不知道是不是電話鈴聲設計得很急促,
讓你覺得會發生什麼大事,
電話響起來時你不覺得你的血壓上升了不少嗎?
這麼說好了,
假如今天去到一間店, 店員正在跟你介紹產品,
此時有人打電話來, 你覺得店員會怎樣?
所以假如今天有一個新的客人進來也可以插隊囉?
且電話這種東西真的很邪惡,
因為一般人聽電話時80%以上都會很專心去聆聽問題,
沒辦法作其他的事情.
所以應該把家裡面電話鈴聲改成優美的交響樂. :D
2011年3月31日 星期四
2011年3月30日 星期三
弔唁早凋的春芽-紀念葉小妹妹
在Blogger中加入程式碼顯示(利用Syntax highlighter)
Step 1. 在Blogger中打開設計->編輯HTML->找到</head>的標籤, 在</head>之前, 加入底下程式碼:
ps. 假如你喜歡像我顯示Flash的copy與顯示原始碼的功能, 就要使用2.0版的, 3.0版我測試怎樣都弄不出來那個功能.
Step 2: 在要顯示程式碼的程式前後加上<pre>標籤與要顯示程式碼的語言類別,
如JavaScript就是:
<pre class="brush: js"> ...你的程式碼... </pre>
如c語言就是:
範例如下:
<pre class="brush: js">
/**
* SyntaxHighlighter
*/
function foo()
{
if (counter <= 10)
return;
// it works!
}
</pre>
執行結果:
收工!
<link href="http://alexgorbatchev.com/pub/sh/2.1.382/styles/shCore.css" rel="stylesheet" type="text/css"></link> <link href="http://alexgorbatchev.com/pub/sh/2.1.382/styles/shThemeDefault.css" rel="stylesheet" type="text/css"></link> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shCore.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushCpp.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushCSharp.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushCss.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushJava.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushJScript.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushPhp.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushPython.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushRuby.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushSql.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushVb.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushXml.js" type="text/javascript"> </script> <script src="http://alexgorbatchev.com/pub/sh/2.1.382/scripts/shBrushPerl.js" type="text/javascript"> </script> <script language="javascript"> SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.config.clipboardSwf = 'http://alexgorbatchev.com/pub/sh/2.1.382/scripts/clipboard.swf'; SyntaxHighlighter.all(); </script>
ps. 假如你喜歡像我顯示Flash的copy與顯示原始碼的功能, 就要使用2.0版的, 3.0版我測試怎樣都弄不出來那個功能.
Step 2: 在要顯示程式碼的程式前後加上<pre>標籤與要顯示程式碼的語言類別,
如JavaScript就是:
<pre class="brush: js"> ...你的程式碼... </pre>
如c語言就是:
<pre class="brush: c"> ...你的程式碼... </pre>
範例如下:
<pre class="brush: js">
/**
* SyntaxHighlighter
*/
function foo()
{
if (counter <= 10)
return;
// it works!
}
</pre>
執行結果:
/** * SyntaxHighlighter */ function foo() { if (counter <= 10) return; // it works! }
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* SyntaxHighlighter | |
*/ | |
function foo() | |
{ | |
if (counter <= 10) | |
return; | |
// it works! | |
} |
收工!
2011年3月27日 星期日
買Notebook推薦?
剛好又有(?)朋友想買Notebook,
每次有人想買Notebook,
就會跑來問我,
然後聽完我講了一堆以後,
到了現場通常都不會買我推薦的.
(大概只有我妹有聽我話)
我把我講的紀錄一下好了,
未來有人想買就直接貼這邊給他看,
也懶得打了.
每次有人想買Notebook,
就會跑來問我,
然後聽完我講了一堆以後,
到了現場通常都不會買我推薦的.
(大概只有我妹有聽我話)
我把我講的紀錄一下好了,
未來有人想買就直接貼這邊給他看,
也懶得打了.
2011年3月8日 星期二
NFS Server on Ubuntu and Windows 7 NFS client
想找一個在Ubuntu下可以類似dropbox的網路硬碟使用,
比較簡單的就是在Ubuntu下架設NFS Server,
而在Windows 7用NFS client連接.
Ubuntu安裝:
apt-get install nfs-kernel-server
apt-get install nfs-common
修改 /etc/exports後, 執行sudo exportfs -ra即可.
設定參考資料: SettingUpNFSHowTo - Community Ubuntu Documentation
Windows 7在Ultimate與Enterprise版可啟動NFS client的功能,
Control Panel --> Programs and Features --> Turn Windows features on or off
+[] Services for NFS
[] Administrative Tools
[] Client for NFS
使用方式: (斜線的方式不一樣)
mount \\server\share source drive:
如:
mount \\abc.com\home\resource n:
要得知某個Server有分享哪一個資源:
showmount -e abc.com
不過目前測試速度很慢,(未成功)
且聽說不支援中文檔名?
Windows 7 有出一個類似 Windows Services for UNIX - Wikipedia, the free encyclopedia
(名字不太一樣, 叫Microsoft Utilities and SDK for Subsystem for UNIX-based Applications)
還沒測試過.
Ubuntu間連線倒是ok.
比較簡單的就是在Ubuntu下架設NFS Server,
而在Windows 7用NFS client連接.
Ubuntu安裝:
apt-get install nfs-kernel-server
apt-get install nfs-common
修改 /etc/exports後, 執行sudo exportfs -ra即可.
設定參考資料: SettingUpNFSHowTo - Community Ubuntu Documentation
Windows 7在Ultimate與Enterprise版可啟動NFS client的功能,
Control Panel --> Programs and Features --> Turn Windows features on or off
+[] Services for NFS
[] Administrative Tools
[] Client for NFS
使用方式: (斜線的方式不一樣)
mount \\server\share source drive:
如:
mount \\abc.com\home\resource n:
要得知某個Server有分享哪一個資源:
showmount -e abc.com
不過目前測試速度很慢,(未成功)
且聽說不支援中文檔名?
Windows 7 有出一個類似 Windows Services for UNIX - Wikipedia, the free encyclopedia
(名字不太一樣, 叫Microsoft Utilities and SDK for Subsystem for UNIX-based Applications)
還沒測試過.
Ubuntu間連線倒是ok.
2011年3月5日 星期六
Canon 5D Mark II 兩個不滿意的點
目前對5D Mark II有意見的兩個點:
1. Mobile01 關於5D2入塵的問題請教
2. [建議]5D2的買家, 好好看一下CF卡槽蓋的部分, 品質您是否能接受 - Mobile01
解法:
1. 不要理他, 好好拍照比較重要, 哪天不爽整個對焦屏拿去清或整個買新換掉.
2. (1) DIY 改善5DII CF蓋,電池蓋異音. - CanonFans 中文討論區 - Powered by phpwind
(2) 拯救鬆弛的無敵兔 - CanonFans 中文討論區 - Powered by phpwind
參考資料:
1. 『5D2』使用心得與分享 - Kent~Canon 藏經閣 - LDS CLUB - 輕鬆聊攝影
2. 再見 - 我的5D2 - Kent~Canon 藏經閣 - LDS CLUB - 輕鬆聊攝影
1. Mobile01 關於5D2入塵的問題請教
2. [建議]5D2的買家, 好好看一下CF卡槽蓋的部分, 品質您是否能接受 - Mobile01
解法:
1. 不要理他, 好好拍照比較重要, 哪天不爽整個對焦屏拿去清或整個買新換掉.
2. (1) DIY 改善5DII CF蓋,電池蓋異音. - CanonFans 中文討論區 - Powered by phpwind
(2) 拯救鬆弛的無敵兔 - CanonFans 中文討論區 - Powered by phpwind
參考資料:
1. 『5D2』使用心得與分享 - Kent~Canon 藏經閣 - LDS CLUB - 輕鬆聊攝影
2. 再見 - 我的5D2 - Kent~Canon 藏經閣 - LDS CLUB - 輕鬆聊攝影
標籤:
Hardware,
Photography
2011年3月1日 星期二
Mac Software Notes+修改Thunderbird信件標題字型大小
記錄一些Mac OS裝好會用到的好用小軟體與設定
1. 修改MacOS 10.6字型
TCFail, TCFail - Snow Leopard 繁體中文系統字體修改工具, 修改 OSX 10.6 預設繁中字型 | R.D.
2. 不要產生.DS_Store
find /path/to -name “.DS_Store” -delete
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
3. 監視系統狀態 iStat Pro:
Apple - Downloads - Dashboard Widgets - iStat Pro
4. 修改Thunderbird信件標題字型: profile中userChrome.css
路徑:thunderbird\profiles\XXXX.default\chrome (自行建立chrome目錄)
(windows的話在AppData/Roaming中, Mac的話在資源庫底下)
將下列的文字內容存檔成 userChrome.css 放到chrome目錄中,
再重新啟動 thunderbird 即可
範例1:
* {
font-size: 14px !important;
font-family: Tahoma !important
}
範例2:
/* Unread message */
treechildren {
font-size: 12.5px !important; // 字型大小
font-family: "Hiragino Maru Gothic ProN" !important; // 字型
}
/* Unread message */
treechildren:-moz-tree-cell-text(unread) {
font-weight: bold !important;
color: rgb(130,90,178) !important
}
範例3:
/* Unread message */
treechildren {
font-size: 140%; // 字型大小, 用比例
}
1. 修改MacOS 10.6字型
TCFail, TCFail - Snow Leopard 繁體中文系統字體修改工具, 修改 OSX 10.6 預設繁中字型 | R.D.
2. 不要產生.DS_Store
find /path/to -name “.DS_Store” -delete
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
3. 監視系統狀態 iStat Pro:
Apple - Downloads - Dashboard Widgets - iStat Pro
4. 修改Thunderbird信件標題字型: profile中userChrome.css
路徑:thunderbird\profiles\XXXX.default\chrome (自行建立chrome目錄)
(windows的話在AppData/Roaming中, Mac的話在資源庫底下)
將下列的文字內容存檔成 userChrome.css 放到chrome目錄中,
再重新啟動 thunderbird 即可
範例1:
* {
font-size: 14px !important;
font-family: Tahoma !important
}
範例2:
/* Unread message */
treechildren {
font-size: 12.5px !important; // 字型大小
font-family: "Hiragino Maru Gothic ProN" !important; // 字型
}
/* Unread message */
treechildren:-moz-tree-cell-text(unread) {
font-weight: bold !important;
color: rgb(130,90,178) !important
}
範例3:
/* Unread message */
treechildren {
font-size: 140%; // 字型大小, 用比例
}
訂閱:
文章 (Atom)