PIXNET Logo登入

Kenneth的部落格

跳到主文

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 4月 27 週一 201504:10
  • 2015 第三本書 十倍勝領導力

H1413
 
 
十倍勝領導力
        狂熱的紀律
(繼續閱讀...)
文章標籤

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

  • 個人分類:閱讀筆記
▲top
  • 4月 27 週一 201502:45
  • 用Javascript 實踐上傳前預覽圖片

  用Javascript實現 上傳前閱覽圖片,但是這個方法只能支持IE10之後的版本,其他瀏覽器都可以用,IE9和之前的版本都無法使用。
Input FileUpload files Property 不支持IE9和之前的版本。
http://www.w3schools.com/jsref/prop_fileupload_files.asp
(繼續閱讀...)
文章標籤

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

  • 個人分類:軟體開發筆記
▲top
  • 4月 27 週一 201502:18
  • Hidden input type="file" technique IE9無法上傳文件的解決方法

IE出於安全性的考慮,上傳檔時必須要點擊<input type=’file’>控制項本身才能上傳成功。而因為<input type=’file’>長的實在太醜,很少能滿足我們的審美,我們通常都是會隱藏它,然後用其他的button去觸發它。而這麼做在IE9下是不被允許的。
(繼續閱讀...)
文章標籤

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

  • 個人分類:軟體開發筆記
▲top
  • 4月 27 週一 201501:49
  • JScript – Convert Image To Base64

Yesterday I was updating an HTA (HTML Application) and needed to figure out how to convert an image into a base64 code that could be used in a stylesheet. I needed this to be able to embed an image in the source code instead of referencing an actual image. For this reason I wrote the following function (with the help of this post):
 

function convertImageToBase64(filePath) {
  var inputStream = new ActiveXObject('ADODB.Stream');
  inputStream.Open();
  inputStream.Type = 1;  // adTypeBinary
  inputStream.LoadFromFile(filePath);
  var bytes = inputStream.Read();
  var dom = new ActiveXObject('Microsoft.XMLDOM');
  var elem = dom.createElement('tmp');
  elem.dataType = 'bin.base64';
  elem.nodeTypedValue = bytes;
  var ret = 'data:image/png;base64,' + elem.text.replace(/[^A-Z\d+=\/]/gi, '');
}
 
But it cannot work in IE9. I get an error saying Access is denied, IE doesn't allow manipulation of the type="file" input element from javascript due to security reasons. Setting the filename or invoking a click event to show the browser dialog will result in an "Access is denied" error on the form submit - Internet Explorer is clever about remembering what methods have been invoked.
 
(繼續閱讀...)
文章標籤

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

  • 個人分類:Javascript
▲top
  • 4月 19 週日 201510:25
  • Sharepoint 新手開發筆記 - 開發角色定位跟開發類型

索引
Sharepoint 開發主要分三種


1. Power user : 主要管理sharepoint site ,使用者管理,新增刪除webpart
2. Designer : 負責sharepoint的使用者介面(UI)的設計與規劃
3. Website developer : 負責後端商業邏輯,也是真的軟體工程師負責寫code
開發工作主要是 Designer 和 Website developer.  
在開發工作之前,要先了解sharepoint開發方案
Sharepoint開發方案 :
(繼續閱讀...)
文章標籤

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

  • 個人分類:SharePoint2010
▲top
  • 4月 18 週六 201511:57
  • 怎麼找出進程中的w3wp.exe對應哪個IIS網站 Which w3wp.exe PID corresponds to which application pool ?

The problem is that when it comes to w3wp.exe processes for the diagram above, there are three of them and just by looking in the task manager there is no easy way to tell them apart. Each instance of a w3wp.exe process has a PID (short for process identifier), but the question is which PID belongs to which application pool.
102209_1000_Whichw3wpex1
 
102209_1000_Whichw3wpex2
(繼續閱讀...)
文章標籤

Kenneth 發表在 痞客邦 留言(0) 人氣(5,495)

  • 個人分類:Tips
▲top
  • 4月 08 週三 201521:27
  • 2015年 第二本書 餐桌上的奇蹟

每天二十分鐘的家庭聚餐,可以改變家庭的未來
The MIACLE of family dinners
 
k75km7  
(繼續閱讀...)
文章標籤

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

  • 個人分類:閱讀筆記
▲top
  • 4月 06 週一 201522:26
  • 2015年 第一本書 - 賺有錢人的錢:你該賣什麼?怎麼賣?

getImage
 
 
             一直以來都聽到日本經濟不景氣,讀過此書後發現經濟不景氣下,但是有錢人也一直增加中,這也是為什麼作者要賺有錢人的錢。
(繼續閱讀...)
文章標籤

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

  • 個人分類:閱讀筆記
▲top
  • 4月 03 週五 201515:46
  • Karma和Jasmine自動化單元測試

2015-04-03_162036
1. Karma的介紹
Karma是Testacular的新名字,在2012年google開源了Testacular,2013年Testacular改名為Karma。Karma是一個讓人感到非常神秘的名字,表示佛教中的緣分,因果報應,比Cassandra這種名字更讓人猜不透!
Karma是一個基於Node.js的JavaScript測試執行過程管理工具(Test Runner)。該工具可用於測試所有主流Web流覽器,也可集成到CI(Continuous integration)工具,也可和其他代碼編輯器一起使用。這個測試工具的一個強大特性就是,它可以監控(Watch)檔的變化,然後自行執行,通 過console.log顯示測試結果。
(繼續閱讀...)
文章標籤

Kenneth 發表在 痞客邦 留言(0) 人氣(2,494)

  • 個人分類:學習筆記
▲top
  • 3月 02 週一 201500:25
  • PCI-DSS (Payment Card Industry Data Security Standard) 支付卡產業資料安全標準

credibility_pci-logo  
 
什麼是支付卡產業 (PCI) 資料安全標準 (DSS)?
PCI 資料安全標準是一套可提高付款帳戶資料安全的完善規定,由 American Express、Discover Financial Services、JCB International、MasterCard Worldwide 及 Visa Inc. International 共同訂制。制訂這套標準是為了協助全球採用一致的安全標準。所有為 American Express、Discover、JCB、MasterCard及 Visa 處理、儲存或進行付款卡資料的商店都需遵守 PCI 資料安全標準。主要有六大項,具體包含12項控制目標,67要求來保護持卡人數據資訊不遭受洩露。這6個控制域具體如下:
(繼續閱讀...)
文章標籤

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

  • 個人分類:學習筆記
▲top
«1...11121320»

個人資訊

Kenneth
暱稱:
Kenneth
分類:
不設分類
好友:
累積中
地區:

熱門文章

  • (912)新手品酒筆記--澳洲星光園酒莊
  • (809)新手學習Mantis筆記 --移除作業平台 How to remove the profile fields
  • (4,066)SCHOTT ZWIESEL 德國蔡司
  • (1,032)Mantis 無法上傳檔案 "沒有檔案被上傳. 請返回上頁並且選擇要上傳的檔案" Application Error #504
  • (1,401)[品酒] 甜酒之王- Pourriture Noble 貴腐甜酒
  • (14,119)馬來西亞之旅 --蘭卡威 Langkawi 旅行規劃
  • (21,509)馬來西亞之旅 --檳城 Penang 旅行規劃
  • (1,139)馬來西亞之旅 --馬六甲 Malacca 旅行規劃
  • (160)馬來西亞之旅 2014-11 第三站 馬六甲 Malacca
  • (223)Kentico學習筆記-開發

文章分類

  • Google Analytics (2)
  • 新加坡 (3)
  • 藝術 (2)
  • 軟體開發筆記 (27)
  • Javascript (3)
  • Kentico 學習筆記 (2)
  • 馬來西亞遊記 (10)
  • Travel (21)
  • 學習筆記 (23)
  • Microsoft 微軟 (3)
  • 閱讀筆記 (39)
  • English (1)
  • Movie (6)
  • Tips (7)
  • installshied (1)
  • VBA (2)
  • Wine World (24)
  • News (2)
  • Seminar (1)
  • SharePoint2010 (3)
  • windows Server 2008 (3)
  • 未分類文章 (1)

最新文章

  • 2019 第一本書 “我住在焦慮星球”
  • 2018年旅行 土耳其 卡帕多奇亞 Cappadocia 搭 飛機到--> Lzmir 阿德南·曼德列斯機場搭火車去 --> Seluck
  • 2018年旅行 土耳其 6/11-6/13 卡帕多奇亞 Cappadocia 驚喜連連
  • 2018年旅行 土耳其 6/10 ->6/11 搭夜間巴士到 Safranbolu 番紅花城-->安卡拉搭巴士去 -->卡帕多奇亞 Cappadocia
  • 2018年旅行 土耳其 6/10 ->6/11 搭夜間巴士到 Safranbolu 番紅花城-->安卡拉搭巴士去 -->卡帕多奇亞 Cappadocia
  • 6/8 ->6/9 ->6/10 新加坡 --> 薩比哈·格克琴國際機場 --> Kadikoy 碼頭搭船 -->伊斯坦堡 -->Safranbolu
  • 2018年旅行 6/8~6/18土耳其
  • 2018 第三本書 在飛機上遇見彼得.杜拉克:真希望開店前就知道的事
  • 2018 第二本書 “你說-寮國到底有什麼”村上春樹
  • 2018 第一本書 鹽鐵論:漢代財經大辯論

動態訂閱

文章精選

文章搜尋

參觀人氣

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

誰來我家