Skip to content

Instantly share code, notes, and snippets.

View BrentHumphreys's full-sized avatar

Brent Humphreys BrentHumphreys

View GitHub Profile
@BrentHumphreys
BrentHumphreys / Microsoft.PowerShell_profile.ps1
Last active October 21, 2022 15:14
setup essential apps on a new laptop
oh-my-posh --init --shell pwsh --config 'C:\Users\bhumphreys\OneDrive - Gray\Documents\PowerShell\ohmyposhv3-b2.json' | Invoke-Expression
Import-Module -Name Terminal-Icons
@justinsoliz
justinsoliz / ssms_install.ps1
Created February 17, 2018 19:45
Powershell - Install Sql Server Management Studio
# Set file and folder path for SSMS installer .exe
$folderpath="c:\windows\temp"
$filepath="$folderpath\SSMS-Setup-ENU.exe"
#If SSMS not present, download
if (!(Test-Path $filepath)){
write-host "Downloading SQL Server 2016 SSMS..."
$URL = "https://download.microsoft.com/download/3/1/D/31D734E0-BFE8-4C33-A9DE-2392808ADEE6/SSMS-Setup-ENU.exe"
$clnt = New-Object System.Net.WebClient
$clnt.DownloadFile($url,$filepath)
@alexellis
alexellis / DotNetCoreFunctions.md
Last active November 4, 2020 15:10
DotNet Core for ARM

Build .NET on Windows or Linux, then re-build with Docker on ARM

On your PC:

faas-cli new --lang csharp pinetes

Edit ./pinetes/FunctionHandler.cs