Skip to content

Instantly share code, notes, and snippets.

View leeberg's full-sized avatar
💭
🐈🐈🐈👨‍💻🐈🐈🐈

Lee Berg leeberg

💭
🐈🐈🐈👨‍💻🐈🐈🐈
  • Madison, Wisconsin, United States
View GitHub Profile
New-UDDashboard -Title "Flight Buddy Development!" -Content {
$Cache:FollowAircraft = $true
$Cache:MapZoom = 10
$Cache:MarkerCount = 0
$Cache:AirplaneIcon = New-UDMapIcon -Url 'https://www.flaticon.com/svg/static/icons/png/32/633/633800.png' -Height 32 -Width 32
$Cache:TravelDotIcon = New-UDMapIcon -Url 'https://www.flaticon.com/svg/static/icons/png/32/401/401096.png' -Height 8 -Width 8
$Cache:AircraftLatitude = ""
$Cache:AircraftLongitude = ""
@leeberg
leeberg / gist:53e86bc79126baeb050551a343d1598f
Last active September 16, 2019 23:15
PowersShell BingMapsLatLongFromAddress
function Get-BingMapsLatLongFromAddress
{
param (
[String] $AddressLine,
[String] $CountryCode,
[String] $AdminState,
[String] $AdminCity
)
@leeberg
leeberg / Lee_Mobile_Apps.md
Last active April 22, 2017 15:45
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

General

Media & Creative

@leeberg
leeberg / Lee_Desktop_Apps.md
Last active September 19, 2019 15:54
App List

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!

General

#r "Newtonsoft.Json"
using System;
using System.Net;
using System.Security.Cryptography;
// OMS STATIC VARIABLES
// Update customerId to your Operations Management Suite workspace ID
static string customerId = "XXXXX";
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)