Skip to content

Instantly share code, notes, and snippets.

View jasongaylord's full-sized avatar
⏲️
Trying to find time to code.

Jason N. Gaylord jasongaylord

⏲️
Trying to find time to code.
View GitHub Profile
@jasongaylord
jasongaylord / azure-pipelines.yml
Created April 11, 2019 17:33
Azure Pipelines - Build YAML file for HTML Copying
trigger:
- master
name: $(Date:yyyyMMdd)$(Rev:.r)
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: CopyFiles@2
@jasongaylord
jasongaylord / New-CName.ps1
Created April 29, 2019 18:43
A script to create a new CName on an existing zone in Azure. You can use this script in an Azure DevOps pipeline using a service account with the proper permissions.
param(
[CmdletBinding()]
# Subscription ID
[Parameter(Position=0, Mandatory=$true)]
[string]$subId,
# DNS Resource Group Name
[Parameter(Position=1, Mandatory=$true)]
[string]$resourceGroup,
@jasongaylord
jasongaylord / beacon.html
Created August 27, 2020 18:36
Beacon CSS - An example using CSS animations to create a beacon for use on something like a map or to call attention visually.
<!DOCTYPE HTML>
<html lang="en">
<head>
<style>
.dot {
background-color: red;
border-radius: 50%;
width: 20px;
height: 20px;
display: block;
@jasongaylord
jasongaylord / pr-webhook-schema.json
Created September 23, 2020 17:27
GitHub WebHook API Pull Request Schema
{
"type": "object",
"properties": {
"action": {
"type": "string"
},
"number": {
"type": "integer"
},
"pull_request": {