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
satisfy any; | |
allow localhost; | |
deny all; | |
auth_basic "Members Only"; | |
auth_basic_user_file /path/to/.htpasswd; |
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
AuthType Basic | |
AuthName "Typo3 Backend" | |
AuthUserFile /path/to/.htpasswd | |
Require valid-user | |
SetEnvIf HOST ^www\.domain\.tld$ ALLOWED_HOST | |
SetEnvIf Request_URI admin/ !ALLOWED_HOST | |
Order deny,allow | |
Deny from all |
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
# thx@thommck (twitter) | |
# Local System Information v3 | |
# Shows details of currently running PC | |
# Thom McKiernan 11/09/2014 | |
$computerSystem = Get-CimInstance CIM_ComputerSystem | |
$computerBIOS = Get-CimInstance CIM_BIOSElement | |
$computerOS = Get-CimInstance CIM_OperatingSystem | |
$computerCPU = Get-CimInstance CIM_Processor | |
$computerHDD = Get-CimInstance Win32_LogicalDisk -Filter "DeviceID = 'C:'" |
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
# EXCEPTION: | |
# Die Datei "I:\Downloads\install.ps1" kann nicht geladen werden, da die Ausführung von Skripts auf diesem System | |
# deaktiviert ist. Weitere Informationen finden Sie unter "about_Execution_Policies" | |
# (http://go.microsoft.com/fwlink/?LinkID=135170). | |
# + CategoryInfo : Sicherheitsfehler: (:) [], ParentContainsErrorRecordException | |
# + FullyQualifiedErrorId : UnauthorizedAccess | |
# | |
# TYPE: | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -ErrorAction Stop -Force -Verbose |