-
Install latest Windows Terminal
winget install --id Microsoft.WindowsTerminal -e
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<name>Klamath Plutons</name> | |
<description>Pre- and Post-amalgamation plutons in the Klamath region</description> | |
<!-- Style for Pre-amalgamation plutons --> | |
<Style id="preAmalgamation"> | |
<IconStyle> | |
<color>ff0000ff</color> |
This file contains 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
get-process *nahimic* | Stop-Process -Force | |
Start-Sleep -Milliseconds 750 | |
Get-Service *nahimic* | Stop-Service -Force | |
Start-Sleep -Milliseconds 750 | |
Get-Service *nahimic* | Set-Service -StartupType Disabled | |
get-process *A-Volute* | Stop-Process -Force | |
Start-Sleep -Milliseconds 750 | |
Get-Service *A-Volute* | Stop-Service -Force | |
Start-Sleep -Milliseconds 750 |
This file contains 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
# https://tenbulls.co.uk/2020/03/25/delete-old-build-definitions-in-azure-devops/ | |
$personalToken = "askjxlkasjxlkasjxsajkxj" | |
$token = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes(":$($personalToken)")) | |
$header = @{authorization = "Basic $token"} | |
$organization = "retracement" | |
$project = "ACME%20Corp" | |
#all build definitions | |
$url = "https://dev.azure.com/$organization/$project/_apis/build/definitions?api-version=6.0-preview.7" |
This file contains 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
# Function to parse the 'netsh http show urlacl' output and format it into a table | |
function Format-UrlAcl { | |
# Execute the 'netsh http show urnetsh http show urlacllacl' command | |
$urlAclOutput = | |
# Initialize an array to store the formatted objects | |
$formattedOutput = @() | |
# Split the output into lines |
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "msedge", | |
"request": "launch", | |
"name": "Launch Edge", | |
"url": "https://altadmin.dealervision.local/photoadmin/Backgrounds/Manager/54", | |
"preLaunchTask": "npm: watch", | |
"webRoot": "${workspaceFolder}/../wwwroot/", |
trigger: branches: include: - main - releases/* paths: include:
- docs
This file contains 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
<template> | |
<div ref="fooDiv" @click="onClicked">Hello {{ counter }} Clicks</div> | |
</template> | |
<script setup lang="ts" > | |
import { defineProps, ref, onMounted } from 'vue'; | |
const props = defineProps<{ foo?: number }>(); | |
const emit = defineEmits<{ (e: 'update:clicks', clicks: number): void }>(); | |
const counter = ref<number>(props.foo ?? 0); |