- Choose your Azure Subscription
- Choose or create a Resource Group
- Choose a Region
- Choose A Unique Site Name
- SKU and Worker Size default to the recommended values for production
This file contains hidden or 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
using namespace System.Collections.Generic | |
# Encapsulate an arbitrary command | |
class PaneCommand { | |
[string]$Command | |
PaneCommand() { | |
$this.Command = ""; | |
} |
This file contains hidden or 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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#979729", | |
"foreground": "#000000", | |
"powerline_symbol": "\ue0c4", |
This file contains hidden or 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
# Requires -Version 7 | |
# Version 2.0.0 | |
# check if newer version | |
#$gistUrl = "https://gist.github.com/rumdood/88a56918088a939f3c08f32ab2bbfe74" | |
#$latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version') | |
#$versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)" | |
#if ([System.IO.File]::Exists($latestVersionFile)) { | |
# $latestVersion = [System.IO.File]::ReadAllText($latestVersionFile) |
This file contains hidden or 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
/* | |
SAMPLE OUTPUT: | |
Welcome to Cassiboggle | |
Here is your board: | |
a a q t | |
x c w e | |
r l e p |
This file contains hidden or 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
using Xunit; | |
using System.Collections.Generic; | |
using System; | |
using System.Linq; | |
namespace ST; | |
public class NonSequentialSumTest | |
{ | |
[Theory] |
Included here are the PowerShell profile I forked from Nick Craver, god among coders, as well as the oh-my-posh 3 config, but in addition to these you'll need:
- The PowerShell modules:
- For git in PowerShell, I use
posh-git
- For prompt customization, I use
oh-my-posh
- For file/folder icons I use the excellent
Terminal-Icons
package by @devblackops: https://github.com/devblackops/Terminal-Icons - To install each:
- For git in PowerShell, I use
Install-Module -Name posh-git -Repository PSGallery
Install-Module -Name oh-my-posh -Repository PSGallery
This file contains hidden or 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
/* | |
* source: https://www.red-gate.com/simple-talk/sql/database-administration/using-migration-scripts-in-database-deployments/ | |
*/ | |
-- does a particular procedure exist | |
IF EXISTS ( SELECT 1 | |
FROM information_schema.Routines | |
WHERE ROUTINE_NAME = 'MyProcedureName'--name of procedire | |
AND ROUTINE_TYPE = 'PROCEDURE'--for a function --'FUNCTION' | |
AND ROUTINE_SCHEMA = 'DBO' ) |
This file contains hidden or 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
Disable-UAC | |
# --------------- Update Windows Settings --------------- | |
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
Disable-BingSearch | |
Disable-GameBarTips | |
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures |
NewerOlder