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
Invoke-WebRequest -UseBasicParsing -Uri "https://www.timeanddate.com/scripts/sunmap.php?iso=$(Get-Date -Format yyMMddThhmm)&earth=1" | | |
Select-Object -Expand Content | | |
Set-Content -Path 'TEMP.jpg' -AsByteStream -Force | |
Copy-Item -Path 'TEMP.jpg' -Destination 'SetThisAsDesktopPicture.jpg' -Force | |
#Manually set your desktop background to 'SetThisAsDesktopPicture.jpg' | |
#Set scheduled task / cron job to make this run every minute. |
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
{ | |
"type": "indicator", | |
"name": "indicator:PVSRA", | |
"data": { | |
"options": { | |
"priceScaleId": "pvsra", | |
"blueVectorColor": "rgba(42,32,223,0.47)", | |
"greenVectorColor": "rgba(38,218,44,0.5)", | |
"redVectorColor": "rgba(255,0,0,0.5)", | |
"regularCandleDownColor": "rgba(60,60,60,0.5)", |
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
Function Get-FileInformation # This function will gather date information and other properties about a file | |
{ | |
param([string]$LiteralFilePath) # Target is the full path to a file | |
$Target = $LiteralFilePath | |
$Directory = ($Target -replace '[^\\]*$') | |
#region Filetypes | |
#region Outlook | |
if ( | |
$Target -like "*.msg" # Handle Outlook Files (Has to open OutLook to get sent and received dates) | |
) |