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 PowerShell to be run as Admin-level user. | |
New-SelfSignedCertificate -CertStoreLocation cert:\localmachine\my -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" ` | |
-Subject "cn=mydemokvcert" -KeyDescription "Used to access Key Vault" ` | |
-NotBefore (Get-Date).AddDays(-1) -NotAfter (Get-Date).AddYears(2) | |
# PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\my | |
# | |
#Thumbprint Subject | |
#---------- ------- |
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
## | |
# Create new Service Principal with Cert configured | |
## | |
Login-AzureRmAccount -SubscriptionId XXXXXXXX-XXXX-XXXX-XXXX-86b9ebca2d13 | |
# $credValue comes from the previous script and contains the X509 cert we wish to use. | |
# $validFrom comes from the previous script and is the validity start date for the cert. | |
# $validTo comes from the previous script and is the validity end data for the cert. |
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 PowerShell to be run as Admin. | |
New-SelfSignedCertificate -CertStoreLocation cert:\localmachine\my -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -Subject "cn=lito.com" -DnsName "lito.com" -KeyDescription "lito.com" -NotBefore (Get-Date).AddDays(-1) -NotAfter (Get-Date).AddYears(2) -FriendlyName "Self Signed Cert for lito.com" | |
# After creating it open the Certificate Store and copy the cert under Trusted Root Certificate Authorities |
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
<StyleCopSettings Version="105"> | |
<Parsers> | |
<Parser ParserId="StyleCop.CSharp.CsParser"> | |
<ParserSettings> | |
<BooleanProperty Name="AnalyzeDesignerFiles">False</BooleanProperty> | |
</ParserSettings> | |
</Parser> | |
</Parsers> | |
<Analyzers> | |
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules"> |
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 System; | |
using System.Runtime.Caching; | |
using System.Threading.Tasks; | |
namespace Helpers | |
{ | |
public static class MemoryCacheHelper | |
{ | |
public const int DefaultMinutesToCache = 60; |
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
// ==UserScript== | |
// @name Velocity Planning for Jira Scrum Boards | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.15 | |
// @description Velocity Planning for Jira Scrum Sprints Boards | |
// @author litodam | |
// @match https://*.atlassian.net/secure/RapidBoard.jspa* | |
// @grant none | |
// ==/UserScript== |
OlderNewer