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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
IIS configuration sections. | |
For schema documentation, see | |
%windir%\system32\inetsrv\config\schema\IIS_schema.xml. | |
Please make a backup of this file before making any changes to it. |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- the root web configuration file --> | |
<configuration> | |
<!-- | |
Using a location directive with a missing path attribute | |
scopes the configuration to the entire machine. If used in | |
conjunction with allowOverride="false", it can be used to | |
prevent configuration from being altered on the machine | |
Administrators that want to restrict permissions granted to |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- | |
Please refer to machine.config.comments for a description and | |
the default values of each configuration section. | |
For a full documentation of the schema please refer to | |
http://go.microsoft.com/fwlink/?LinkId=42127 | |
To improve performance, machine.config should contain only those | |
settings that differ from their defaults. |
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
window.onload = function () { document.oncontextmenu = function () { return false; } } |
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
$.each($("a"), function(_, ele){ console.log(decodeURI(ele.text.trim()), ":", ele.href.trim())}) |
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
# Copyright 2019, Alexander Hass | |
# https://www.hass.de/content/setup-microsoft-windows-or-iis-ssl-perfect-forward-secrecy-and-tls-12 | |
# | |
# After running this script the computer only supports: | |
# - TLS 1.2 | |
# | |
# Version 3.0.1, see CHANGELOG.txt for changes. | |
Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...' | |
Write-Host '--------------------------------------------------------------------------------' |
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
USE master | |
GO | |
IF OBJECT_ID ('sp_hexadecimal') IS NOT NULL | |
DROP PROCEDURE sp_hexadecimal | |
GO | |
CREATE PROCEDURE sp_hexadecimal | |
@binvalue varbinary(256), | |
@hexvalue varchar (514) OUTPUT | |
AS | |
DECLARE @charvalue varchar (514) |
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
// 允許其他網站 CROS Get Data from Action | |
using System.Web.Mvc; | |
namespace ProjectSpace.Filters | |
{ | |
public class AllowCORSAttribute : ActionFilterAttribute | |
{ | |
public override void OnActionExecuting(ActionExecutingContext filterContext) | |
{ |
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
{ | |
// 編輯視窗文字大小 | |
"editor.fontSize": 18, | |
// 終端機文字大小 | |
"terminal.integrated.fontSize": 14, | |
// 介面放大比大 預設 0 | |
"window.zoomLevel": 0.3, | |
"workbench.colorTheme": "Monokai", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.iconTheme": "material-icon-theme", |
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
CREATE TABLE "DocDirectory" ( | |
"ID" INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE, | |
"DocPath" TEXT, | |
"DocDirType" TEXT, | |
"DocType" TEXT, | |
"DocNumber" TEXT, | |
"DocFileName" TEXT, | |
"DocTitle" TEXT, | |
"DocOwner" TEXT, | |
"DocOwnerDept" TEXT, |