Skip to content

Instantly share code, notes, and snippets.


Lee Berg leeberg

View GitHub Profile
View MyMSFSUniverssalDashboard.ps1
New-UDDashboard -Title "Flight Buddy Development!" -Content {
$Cache:FollowAircraft = $true
$Cache:MapZoom = 10
$Cache:MarkerCount = 0
$Cache:AirplaneIcon = New-UDMapIcon -Url '' -Height 32 -Width 32
$Cache:TravelDotIcon = New-UDMapIcon -Url '' -Height 8 -Width 8
$Cache:AircraftLatitude = ""
$Cache:AircraftLongitude = ""
leeberg / gist:53e86bc79126baeb050551a343d1598f
Last active Sep 16, 2019
PowersShell BingMapsLatLongFromAddress
View gist:53e86bc79126baeb050551a343d1598f
function Get-BingMapsLatLongFromAddress
param (
[String] $AddressLine,
[String] $CountryCode,
[String] $AdminState,
[String] $AdminCity
leeberg /
Last active Apr 22, 2017
Lee's Mobile Apps

Lee's Mobile App List - April 2017

Just a list of tools that has to be on my Android Mobile Device


Media & Creative


Lee's Build List

Just a list of tools that has to be on my windows "workstation" computer, I cannot live without these! Generally speaking most of the applications here are compatible with Windows of Debian

I typically use Chocolatey, Ninite, or NPM to install many of these!


View Inject.ps1
#r "Newtonsoft.Json"
using System;
using System.Net;
using System.Security.Cryptography;
// Update customerId to your Operations Management Suite workspace ID
static string customerId = "XXXXX";
View Retrieve.ps1
Write-Output "PowerShell Timer trigger function executed at: $(get-date)";
#Hint Hint, you should not hard-code these, but instead store and retrieve them!
$azureAccountName = "XXXXXXX"
$azurePassword = ConvertTo-SecureString "XXXXXXX" -AsPlainText -Force
$ResourceGroupName = 'XXXXXXX'
$WorkspaceName = 'XXXXXXX'
$psCred = New-Object System.Management.Automation.PSCredential($azureAccountName, $azurePassword)