yum update – TypeError: unsubscriptable object
yum update出現TypeError: unsubscriptable object錯誤
先清除yum的舊資料
abort 發表在 痞客邦 留言(0) 人氣(18)
1.先安裝好憑證
2.預設的GUI無法設定 domain name
3.改用adsutil.vbs來設定domain name,達到安裝多個SSL(443)網站
4.cscript adsutil.vbs set /w3svc/844934796/SecureBindings ":443:mysite.sharepoint.com"
5.adsutil.vbs位於C:\Inetpub\AdminScripts
abort 發表在 痞客邦 留言(0) 人氣(1,438)
#AutoIt3Wrapper_Icon=RedFish.ico ;Filename of the Ico file to use
#include <File.au3>
#include <Array.au3>
#include <String.au3>
#include <Process.au3>
abort 發表在 痞客邦 留言(0) 人氣(71)
Windows遠端桌面複製貼上功能失效,重新啟用方法
1.開啟工作管理員
2.強制停止rdpclip.exe
3.開始->執行
abort 發表在 痞客邦 留言(0) 人氣(5,012)
'Date: 2012/6/19
'Author: test
'Description:
Dim IE
abort 發表在 痞客邦 留言(0) 人氣(94)
// 露天批次加入追蹤的javascript
// 整理清單用的regex
// 搜尋目標 .* (\()(\d+)(\)).*
// 取代成為 \2
// 搜尋目標 \d?\D
// 取代成為 空白
// 搜尋目標 \r\n
// 取代成為 ","
abort 發表在 痞客邦 留言(0) 人氣(89)
encrypt
$blockSize = 4; //區塊大小
if(empty($plainText))
return '';
$cipherText = '';
$counterBlock = '';
$nonce = floor(microtime(true)*1000); // timestamp: milliseconds since 1-Jan-1970 [floor]Returns the next lowest integer value by rounding down value if necessary.
$nonceRnd = floor(rand(0, 0xffff));
$counterBlock = substr(dechex($nonceRnd),0,1).substr(dechex($nonce),-1,1);//產生nonce
$ctrTxt = '';
$ctrTxt = $counterBlock;//開頭nonce
$blockCount = ceil(strlen($plainText)/$blockSize);
for ($b=0; $b<$blockCount; $b++) {
//conter最後的值counterBlock共4byte
$counterBlock = '';
$counterBlock = $ctrTxt. str_pad(dechex($b), 2, "0", STR_PAD_LEFT);//最後2碼為編號
//echo nl2br("$counterBlock\n");
$cipherTextToken = '';
$cipherTextToken = blockprocess($counterBlock,$cipherKey);
//echo nl2br("$cipherTextToken\n");
$blockLength = $b<$blockCount-1 ? $blockSize : (strlen($plainText)-1)%$blockSize+1;
abort 發表在 痞客邦 留言(0) 人氣(35)
HipHop
https://github.com/facebook/hiphop-php/wiki/
Thrift
http://thrift.apache.org/
abort 發表在 痞客邦 留言(0) 人氣(7)
SQLServer 2000 發生錯誤1069 由於登入失敗而無法啟動服務 解法
1.
[控制台]->[系統管理工具]->[服務],[MSSQLSERVER],再按滑鼠右鍵
視窗[MSSQLSERVER內容]選擇 [登入] 輸入administrator的帳號跟密碼
abort 發表在 痞客邦 留言(0) 人氣(468)
命令列輸出日期格式YYYYMMDD
C:\>echo %date:~0,4%%date:~5,2%%date:~8,2%
abort 發表在 痞客邦 留言(0) 人氣(17)