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
mode: mainline | |
tag-prefix: '[vV]' | |
commit-message-incrementing: Enabled | |
major-version-bump-message: '\+semver:\s?(breaking|major)' | |
minor-version-bump-message: '\+semver:\s?(feature|minor)' | |
patch-version-bump-message: '\+semver:\s?(fix|patch)' | |
no-bump-message: '\+semver:\s?(none|skip)' | |
assembly-informational-format: '{Major}.{Minor}.{Patch}' | |
increment: Patch | |
branches: |
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
pipelines: | |
branches: | |
develop: | |
- step: | |
name: Get Semantic Version | |
script: | |
- git fetch --unshallow || true | |
- docker pull gittools/gitversion | |
- docker run --rm -v "$(pwd):/repo" gittools/gitversion /repo -output json -showvariable FullSemVer > version.txt | |
services: |
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
# Starter pipeline | |
# Start with a minimal pipeline that you can customize to build and deploy your code. | |
# Add steps that build, run tests, deploy, and more: | |
# https://aka.ms/yaml | |
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"resourceGroupName": { | |
"type": "string" | |
}, | |
"resourceGroupEnvironment": { | |
"type": "string" | |
}, |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"sites_LeagueTrackr_DEV_name": { | |
"defaultValue": "LeagueTrackr-DEV", | |
"type": "String" | |
}, | |
"components_LeagueTrackr_DEV_name": { | |
"defaultValue": "LeagueTrackr-DEV", |
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
# Node.js with Angular | |
# Build a Node.js project that uses Angular. | |
# Add steps that analyze code, save build artifacts, deploy, and more: | |
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' |
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
SELECT DISTINCT Code | |
, MAX(Date) OVER (PARTITION BY Code) Date | |
FROM QueryTable |
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
import java.util.Scanner; | |
/** | |
* Created by James Shinevar on 6/10/17. | |
* james.shinevar@gmail.com | |
* http://jamesshinevar.com | |
*/ | |
public class GCDMain { | |
public static long FinalGCD; |
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
import java.util.Scanner; | |
/** | |
* Created by James Shinevar on 6/10/17. | |
* james.shinevar@gmail.com | |
* http://jamesshinevar.com | |
*/ | |
public class GCDMain { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); |
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://stackoverflow.com/questions/767999/random-number-generator-only-generating-one-random-number | |
public static class StaticRandom | |
{ | |
private static int seed; | |
private static ThreadLocal<Random> threadLocal = new ThreadLocal<Random> | |
(() => new Random(Interlocked.Increment(ref seed))); | |
static StaticRandom() | |
{ |
NewerOlder