Skip to content

Instantly share code, notes, and snippets.

💭
🐈🐈🐈👨‍💻🐈🐈🐈

Lee Berg leeberg

💭
🐈🐈🐈👨‍💻🐈🐈🐈
View GitHub Profile
@leeberg
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
leeberg / Lee_Mobile_Apps.md
Last active Apr 22, 2017
Lee's Mobile Apps
View Lee_Mobile_Apps.md

Lee's Mobile App List - April 2017

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

General

Media & Creative

View Lee_Desktop_Apps.md

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

View Inject.ps1
#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";
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)
You can’t perform that action at this time.