- 下載 http://download.icst.org.tw/attachfilegcb/usgcb-ie8-gpos.zip
- 解壓縮 GPO 到任意位置
cmd
執行:C:\Program Files\LocalGPO>cscript LocalGPO.wsf /path:{放置USER GPO的完整目錄路徑}
- 執行完成後要重新啟動
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
import java.io.IOException; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletRequest; | |
import javax.servlet.ServletResponse; | |
import javax.servlet.http.HttpServletRequest; |
- 下載
CadSaveAsPdf.txt
- 將
CadSaveAsPdf.txt
重新命名為CadSaveAsPdf.exe
- 將
CadSaveAsPdf.exe
複製到C:\
(若C:\CadSaveAsPdf.exe
已經存在, 則覆蓋掉) - 將任意一個 dwg 檔案複製到
C:\
下, 重新命名為1.dwg
(若C:\1.dwg
已經存在就省略這步驟) - 打開命令提示字元 (Windows+R 打開執行視窗, 輸入
cmd
送出) - 輸入指令
cd C:\
enter 送出 - 輸入指令
CadSaveAsPdf.exe "C:\1.dwg" "C:\1.pdf"
enter 送出 - 若正確應該會開始轉檔, 有問題則應該會在命令提示字元顯示錯誤訊息
###在 Tomcat 關閉已被證實不安全的 SSLv3 protocol, 並改用__TLS__
- 修改檔案
Tomcat7\conf\server.xml
- 在
<connector>
增加 attribute:sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
, 並拿掉 cipher 中非 TLS 的項
###修改前
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="tomcat.keystore" keystorePass="intumit"
Supported versions:
SSLv3 TLSv1.0 TLSv1.1 TLSv1.2
Deflate compression: no
Supported cipher suites (ORDER IS NOT SIGNIFICANT):
SSLv3
RSA_WITH_RC4_128_MD5
RSA_WITH_RC4_128_SHA
RSA_WITH_3DES_EDE_CBC_SHA
DHE_RSA_WITH_3DES_EDE_CBC_SHA
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
(function() { | |
theLength = $j('#selGroup').get(0).length; | |
for (var i = 0; i<theLength; i++) { | |
$j('#selGroup').val(i); | |
addSelectedGroup(); | |
} | |
})(); |
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
set dd=%date:~8,2% | |
set mm=%date:~5,2% | |
set yyyy=%date:~0,4% | |
set mydate=%yyyy%%mm%%dd% | |
REM 依照實際 7-Zip 的安裝路徑 | |
set 7Z_HOME=C:\Program Files\7-Zip | |
REM tomcat 與 AP 安裝路徑 |
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
<Connector protocol="org.apache.coyote.http11.Http11Protocol" | |
port="443" | |
maxHttpHeaderSize="8192" | |
maxThreads="150" | |
minSpareThreads="25" | |
maxSpareThreads="75" | |
enableLookups="false" | |
disableUploadTimeout="true" | |
acceptCount="100" | |
scheme="https" |
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
set dd=%date:~8,2% | |
set mm=%date:~5,2% | |
set yyyy=%date:~0,4% | |
set mydate=%yyyy%%mm%%dd% | |
7za.exe a -tzip D:\backup\bk_%mydate%.zip ${要壓縮備份的目錄} |
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
document.form1.attachment.onchange =function () { | |
var ext = this .value.split( '.').pop(); | |
if (/^(bat|exe)$/.test(ext)) { | |
alert('Sorry, 我不支援 bat 和 exe 哦'); | |
this .value = '' ; | |
} | |
} |