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
-- source: https://stackoverflow.com/questions/925738/how-to-find-foreign-key-dependencies-in-sql-server | |
SELECT | |
FK_Table = FK.TABLE_NAME, | |
FK_Column = CU.COLUMN_NAME, | |
PK_Table = PK.TABLE_NAME, | |
PK_Column = PT.COLUMN_NAME, | |
Constraint_Name = C.CONSTRAINT_NAME | |
FROM | |
INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS C | |
INNER JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS FK |
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
FROM debian:stretch | |
LABEL maintainer=https://github.com/kking124 build=1.0.20190620 source=https://howto.biapy.com/en/debian-gnu-linux/servers/http/install-the-anonymizing-proxy-server-tor-on-debian | |
EXPOSE 8118 9050 | |
RUN apt-get -y update && apt-get -y install lsb-release gnupg curl && \ | |
echo deb http://deb.torproject.org/torproject.org stretch main > /etc/apt/sources.list.d/tor.list && \ | |
echo deb-src http://deb.torproject.org/torproject.org stretch main >> /etc/apt/sources.list.d/tor.list && \ | |
curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | apt-key add - && \ | |
apt-get update && \ |
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
<# | |
check-rollup.ps1 | |
Author: kking124 (https://github.com/kking124) | |
Version: 1.0.3 | |
Copyright 2017 kking124 | |
LicenseL MIT (https://opensource.org/licenses/MIT) | |
#> | |
function Check-Rollup { | |
param ([Parameter(Mandatory=$true)][string] $Id, [switch] $Is32, [switch] $V2) | |
<# |
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
# configure-iis.ps1 | |
# Version: 1.2 | |
# Author: kking124 (https://github.com/kking124) | |
# | |
# Copyright 2016, 2017 | |
# | |
# License: MIT | |
# .SYNOPSIS | |
# Tries to configure IIS as a minimal, secure installation on Windows Server 2008 and later | |
# |