- Dec 12 Wed 2012 11:27
-
[VM] 網路模式 (Host-only, NAT, Bridge) 差異性
- Aug 12 Sun 2012 22:26
-
[電影] 人間師格 Detachment
1.「 During the whole of a dull,dark soundless day
在那年秋季枯燥,灰暗而瞑寂的某個長日裡
In the autumn of that year, when the clouds hung oppressively low in heaven
沉重的雲層低懸於天穹之上
I had been passing alone on the horse's back
我獨自一人策馬前行
Through the Singularly,dreary tract in the country
穿過這片陰沉的,異域般的鄉間土地
and at length found myself, as the shades of the evening drew on
最終,當夜幕緩緩降臨的時候
Within the view of melancholy House of Usher
厄舍府清冷的景色展現在我眼前
I know not how it was
我未曾目睹它過往的模樣
But with the first glimpse of the building, a sense of insufferable gloom pervaded my spirit
但僅憑方才的一瞥,某種難以忍受的陰鬱便浸透了我的內心
I looked upon the scene before me the simple landscape features of the domain
我望著宅邸周圍稀疏的景物
Upon the bleak walls,upon the white trunks of decayed trees
圍牆荒蕪,衰敗的樹遍體透著白色
With the utter depression souls
我的靈魂失語了
There was an iciness
我的心在冷卻
A sinking.
下沉
A sickening of the heart 」
顯出疲軟的病態
在那年秋季枯燥,灰暗而瞑寂的某個長日裡
In the autumn of that year, when the clouds hung oppressively low in heaven
沉重的雲層低懸於天穹之上
I had been passing alone on the horse's back
我獨自一人策馬前行
Through the Singularly,dreary tract in the country
穿過這片陰沉的,異域般的鄉間土地
and at length found myself, as the shades of the evening drew on
最終,當夜幕緩緩降臨的時候
Within the view of melancholy House of Usher
厄舍府清冷的景色展現在我眼前
I know not how it was
我未曾目睹它過往的模樣
But with the first glimpse of the building, a sense of insufferable gloom pervaded my spirit
但僅憑方才的一瞥,某種難以忍受的陰鬱便浸透了我的內心
I looked upon the scene before me the simple landscape features of the domain
我望著宅邸周圍稀疏的景物
Upon the bleak walls,upon the white trunks of decayed trees
圍牆荒蕪,衰敗的樹遍體透著白色
With the utter depression souls
我的靈魂失語了
There was an iciness
我的心在冷卻
A sinking.
下沉
A sickening of the heart 」
顯出疲軟的病態
- Aug 07 Tue 2012 19:38
-
[Share Point] 啟動SharePoint 2010 Session 機制

預設SharePoint 2010 並沒有啟用Session機制,因此如果客製化的User Control或是ApplicationPage有用到Session的話,那麼必須要啟用SharePoint 2010中的Session機制,而啟用的方式就是修改web.config中的相關設定。
總共有兩個設定要修改:
將<system.web>下的pages項目中的enableSessionState屬性設定為:true
修改<system.webServer>下modules項目,將<remove name="Session" />註解掉即可
- Aug 06 Mon 2012 19:36
-
[Share Point] WebPart 開發
當Sharepoint安裝好之後,便可以開發一客制化的功能,當我們選擇用Web Part開發後,
1.安裝開發工具[.Net Tools] Windows SharePoint Services 3.0 Tools 方案產生器,記得要安裝對的語言及版本,否則將不能使用。(沒有裝SharePoint也不能裝工具)
2.開啟VS新增專案,我們可以發現多了SharePoint,開發樣板。
- Aug 06 Mon 2012 14:58
-
[Share Point] SmartPart 安裝及佈署

一、SmartPart的安裝部署方法:
- 解壓ReturnOfStmartPart.zip安裝壓縮包到本地磁盤指定的目錄下;
- 開始->運行,輸入cmd打開命令行窗口,並定位到C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN目錄下;
- 運行stsadm.exe -o addSolution –filename 進行添加解決方案到Sharepoint服務器上;
- 如果是SharePoint 2010則cmd路徑必須修改為C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN
- Aug 06 Mon 2012 14:38
-
[Share Point] 隱藏SharePoint2010 Dialoag視窗中的Ribbon

基本上,SharePoint 2010網站中的頁面(Home.aspx or Default.aspx…等等)以及頁面中操作時所彈跳出的Dialog視窗所套用的master都是一樣的,也就是:v4.master,而在v4.master中用來控管Ribbon區塊的是一個div區段:
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
… …
網站預設的Dialog視窗是有Ribbon,如下圖所示:
- Aug 06 Mon 2012 14:34
-
[Share Point] 自訂義導覽MENU

相信不少人都希望把SharePoint網站內置的那個頂部導航菜單,換成自己希望的樣式。由於SharePoint 2007/2010的網站導航基本上基於標準的ASP.NET SiteMap模型,所以只要你對ASP.NET SiteMap有一些瞭解,就能創建一個自定義的導航菜單。
在開始之前,讓我們先從網上隨便找一個樣子比較cool的菜單控件。在下面的示例中,我會選擇使用Smooth Navigation Menu這個jQuery控件,來渲染出SharePoint網站的頂部導航菜單。將Smooth Navigation Menu控件相關的.js、.css、.gif文件統統下載下來,我們將把它們都放進SharePoint項目中。
打開Visual Studio 2010,創建一個SharePoint 2010項目(我最喜歡的項目模板是「空白SharePoint項目」),在項目中添加一個映射文件夾,來存放Smooth Navigation Menu控件所需的所有文件。我選擇在Layouts文件夾中創建一個SmoothNavMenu子文件夾來存放這些文件,如下圖所示:
- Aug 01 Wed 2012 10:39
-
[AJAX] ModalPopupExtender 實作 (彈出版權同意視窗)
Script:
<style type="text/css">
.background
{background-color:Gray;
filter:alpha(opacity=60);
opacity:0.6;
}
</style>
<script type="text/javascript">1:
2: function download()
3: {
4: var iframe = document.createElement("iframe");
5: iframe.src = "GenerateFile.aspx";
6: iframe.style.display = "none";
7: document.body.appendChild(iframe);
8: }
</script>
- Jul 31 Tue 2012 17:11
-
[C#] Fileupload 加入副檔名過濾
HTML:
<asp:FileUpload ID="FileUpload1" runat="server" Width="100%"
onchange="return checkFileExtension(this);" />
- Jul 25 Wed 2012 22:03
-
[Android] Line 免費表情符號下載
- Jul 24 Tue 2012 15:32
-
[C#] RichTextBox 顯示訊息自動捲動,顯示最後一行
private void richTextBox1_TextChanged(object sender, EventArgs e)
{richTextBox1.SelectionStart = richTextBox1.TextLength;
richTextBox1.ScrollToCaret();
}
- Jul 18 Wed 2012 16:19
-
[Hyper-V] 微軟免費的P2V工具-Disk2vhd

Sysinternals 是一家很特別的公司,自從被微軟收購後,仍致力於開發很多實用且免費的小軟體,而最新力作就是P2V 工具(Physical-to-Virtual 實體轉虛擬 )- Disk2vhd。
Disk2vhd 能將實體硬碟轉成VHD 虛擬硬碟格式,然後掛載於Virtual PC 或Hyper-V 上使用。承如過去這家公司的風格,軟體解開來就只有三個檔案:chm說明檔、主程式、授權聲明,而且還是免安裝綠色版。