This file contains hidden or 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
var fs = require('fs'); | |
var sites = []; | |
var threshold = { | |
"performance": 0.90, | |
"accessibility": 0.95, | |
"seo": 0.90, | |
"pwa": 0 | |
}; |
This file contains hidden or 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
docker run --name zabbix-server-mysql -t \ | |
-e DB_SERVER_HOST="mysql-server" \ | |
-e MYSQL_DATABASE="zabbix" \ | |
-e MYSQL_USER="zabbix" \ | |
-e MYSQL_PASSWORD="zabbix_pwd" \ | |
-e MYSQL_ROOT_PASSWORD="root_pwd" \ | |
-e ZBX_JAVAGATEWAY="zabbix-java-gateway" \ | |
--link mysql-server:mysql \ | |
--link zabbix-java-gateway:zabbix-java-gateway \ | |
-p 10051:10051 \ |
This file contains hidden or 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
# Remove Windows Cortana | |
$path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" | |
IF(!(Test-Path -Path $path)) { | |
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows" -Name "Windows Search" | |
} | |
Set-ItemProperty -Path $path -Name "AllowCortana" -Value 1 | |
Stop-Process -name explore | |
# Enable Ubuntu on Windows 10 | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux |
This file contains hidden or 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
$files = Get-Content "file_name_with_a_list_of_file_names" | |
foreach ($file in $files) { | |
select-string -Path $file -Pattern ">([0-9]+)" -AllMatches|%{$_.Matches[0].groups[1].value} | |
} |
NewerOlder