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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: hass | |
# Required-Start: $local_fs $network $named $time $syslog | |
# Required-Stop: $local_fs $network $named $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Description: Home\ Assistant | |
### END INIT INFO |
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
# filter expired cert with "UBS" in Issuer: | |
Get-ChildItem cert:\ -Recurse | Where-Object {$_ -like "*UBS*" -and $_.NotAfter -lt (Get-Date)} | Select-Object -Property Issuer | |
# or only by keyword "UBS": | |
Get-ChildItem cert:\ -Recurse | Where-Object {$_ -like "*UBS*"} | Select-Object -Property Issuer, NotAfter | |
# run 1st cmd to check the result, if its OK you can remove it: |
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
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.44 | |
export VERSION_OPENSSL=openssl-1.1.1 | |
export VERSION_NGINX=nginx-1.18.0 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
#export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |