I hereby claim:
- I am olohmann on github.
- I am olli (https://keybase.io/olli) on keybase.
- I have a public key whose fingerprint is D452 0BE4 A9F4 2095 268C 85E0 BCBC 33D7 FEB9 9AB3
To claim this, I am signing this object:
| Param ( | |
| ## The directory into which the user wishes to download the files. | |
| [string]$directory = $PSScriptRoot, | |
| ## Optional parameter allowing the user to specifiy the code (or comma seperated codes) of the video(s) they wish to download. | |
| [string]$sessionCodes = "", | |
| [switch]$updateLocalMetadataOnly | |
| ) | |
| ### Variables ### | |
| $api = 'https://api-myignite.techcommunity.microsoft.com/api/session/all' |
| @using PartsUnlimited | |
| @model PartsUnlimited.ViewModels.ShoppingCartViewModel | |
| @inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Xsrf | |
| @{ | |
| ViewBag.Title = "Shopping Cart"; | |
| } | |
| @functions | |
| { | |
| public string GetAntiXsrfToken() |
| #!/bin/bash | |
| GREEN='\033[0;32m' | |
| NC='\033[0m' # No Color | |
| CURRENT_SUBSCRIPTION_ID=$(az account list --all --query "[?isDefault].id | [0]" | tr -d '"') | |
| CURRENT_SUBSCRIPTION_NAME=$(az account list --all --query "[?isDefault].name | [0]" | tr -d '"') | |
| echo -e "${GREEN}[NOTE]${NC} Subscription Context: ${GREEN}${CURRENT_SUBSCRIPTION_NAME} (${CURRENT_SUBSCRIPTION_ID})${NC}" | |
| read -p "Continue to clean up RGs in this subscription (y/n)? " CONT | |
| if [ "$CONT" = "y" ]; then |
| colorflag="--color=auto" | |
| alias ls="command ls ${colorflag}" | |
| alias l="ls -lF ${colorflag}" | |
| alias la="ls -laF ${colorflag}" | |
| alias lsd='ls -lF ${colorflag} | grep "^d"' |
I hereby claim:
To claim this, I am signing this object:
| <Border Background="White" Margin="10"> | |
| <Border.Effect> | |
| <DropShadowEffect/> | |
| </Border.Effect> | |
| <!-- A lot of content --> | |
| </Border> |
| public class DragDropFriendlyListBoxItem : ListBoxItem | |
| { | |
| private List<object> previousSelection = new List<object>(); | |
| private List<object> currentSelection = new List<object>(); | |
| private bool capturedSelectionOnMouseDown; | |
| /// <summary> | |
| /// Finds the parent DragDropFriendly list box. | |
| /// </summary> |
| public class DragDropFriendlyListBoxItem : ListBoxItem | |
| { | |
| private List<object> previousSelection = new List<object>(); | |
| private List<object> currentSelection = new List<object>(); | |
| private bool capturedSelectionOnMouseDown; | |
| /// <summary> | |
| /// Finds the parent DragDropFriendly list box. | |
| /// </summary> |
| public class DragDropFriendlyListBox : ListBox | |
| { | |
| /// <summary> | |
| /// Gets the container for item override. | |
| /// </summary> | |
| /// <returns>The DragDropFriendlyListBoxItem container.</returns> | |
| protected override DependencyObject GetContainerForItemOverride() | |
| { | |
| return new DragDropFriendlyListBoxItem(); | |
| } |