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
/** | |
* A reporter that suppresses logs for passing tests | |
* | |
* There's no direct way to do this at this point other than a custom reporter. Future | |
* changes may give us an option to do this without a custom reporter: | |
* | |
* https://github.com/facebook/jest/issues/4156 | |
* | |
* ts-jest seems to not have registered TypeScript extension at the point the reporters are | |
* registered; this must be JavaScript unless we want to precompile 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
[DuckDNS] | |
modulepath=/sbin/duckddns | |
queryurl=duckDNS.org |
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
# add this to your .zshrc | |
r-delregion() { | |
if ((REGION_ACTIVE)) then | |
zle kill-region | |
else | |
local widget_name=$1 | |
shift | |
zle $widget_name -- $@ | |
fi |
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
get-childitem -path cert:\LocalMachine\Root | ForEach-Object { | |
$hash = $_.GetCertHashString() | |
$base64certificate = @" | |
-----BEGIN CERTIFICATE----- | |
$([Convert]::ToBase64String($_.export('Cert'), [System.Base64FormattingOptions]::InsertLineBreaks)) | |
-----END CERTIFICATE----- | |
"@ | |
[System.IO.File]::AppendAllText("$home\windows.pem", $base64certificate) | |
} |
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
# Example docker-compose.yml for plex. | |
version: "2" | |
services: | |
plex: | |
image: plexinc/pms-docker:plexpass | |
runtime: nvidia | |
container_name: "plex" | |
restart: always | |
hostname: "MY-PLEX" | |
volumes: |
OlderNewer