Moved to https://github.com/Xaero252/unraid-plex-nvdec/tree/master
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 | |
for i in $(docker ps -q);do | |
echo "Container $i" | |
docker inspect -f '{{ json .Mounts }}' $i | python -m json.tool | |
echo "-------------------" | |
done |
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 | |
# See: https://github.com/Radarr/Radarr/wiki/Mass-Delete-via-API | |
HOST=http://radarr.local:7878 | |
API_KEY= # Settings > General | |
ids=$(curl --silent $HOST/api/movie -X GET -H "X-Api-Key: $API_KEY" \ | |
| jq '.[] | select(.monitored == false) | .id') |
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/python -OO | |
# Copyright 2008-2017 The SABnzbd-Team <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
<# | |
.SYNOPSIS | |
Sets a known folder's path using SHSetKnownFolderPath. | |
.PARAMETER KnownFolder | |
The known folder whose path to set. | |
.PARAMETER Path | |
The target path to redirect the folder to. | |
.NOTES | |
Forked from: https://gist.github.com/semenko/49a28675e4aae5c8be49b83960877ac5 | |
#> |
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
<# | |
.SYNOPSIS | |
Converts a URL-encoded ATP Safelink to a real URL. | |
.DESCRIPTION | |
Microsoft doesn't offer a commandlet that converts an Advanced Threat Protection (ATP) SafeLink into the real target URL. This short script uses the .NET UrlDecode function and RegEx to extract it. | |
.PARAMETER safelink | |
A safelinks.protection.outlook.com link that includes the encoded target URL. |
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
<# | |
This script retrieves Azure Active Directory Risk Sign-in Events from the Microsoft Graph API and send an email alert report. | |
Only the active events from the last 30 days will be retrieved (that can be modified via the $filter value in uriGraphEndpoint or removed to get all events). | |
See the official documentation for more info: | |
https://docs.microsoft.com/en-us/azure/active-directory/active-directory-identityprotection-graph-getting-started | |
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_sendmail | |
#> |
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/bash | |
# based upon https://github.com/Radarr/Radarr/wiki/Mass-Delete-via-API | |
# and https://gist.github.com/pstadler/bc0afefe35f608e9552e764b31f45f19 | |
RADARR_API_KEY= | |
RADARR_API_IP= | |
RADARR_API_PORT=7878 | |
OLDER_THEN=365*24*3600 | |
DELETE_FILES=true |
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
function Get-AzMFAStatus | |
{ | |
<# | |
.Synopsis | |
Get-AzMFAStatus | |
.DESCRIPTION | |
Get-AzMFAStatus retrieves Multifactor Authentication configuration informationo | |
from all registered users within an Azure Active Directory tenant. | |
UserPrincipalName : [email protected] |
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/bash | |
# | |
# Quick and dirty script to hit the Radarr API and rename any movies ... | |
RADARR_API_KEY="xxxxxxxx" | |
RADARR_HOST="127.0.0.1" | |
RADARR_PORT="7878" | |
################################################################################################ |