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
{ | |
"swagger": "2.0", | |
"info": { | |
"description": "Your first API with Amazon API Gateway. This is a sample API that integrates via HTTP with our demo Pet Store endpoints", | |
"title": "PetStore" | |
}, | |
"schemes": [ | |
"https" | |
], | |
"paths": { |
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
{ | |
"schemaVersion": "1.0", | |
"description": "CloudWatch for Windows Instances", | |
"runtimeConfig": { | |
"aws:cloudWatch": { | |
"properties": { | |
"EngineConfiguration": { | |
"PollInterval": "00:00:15", | |
"Components": [ | |
{ |
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
# Visual Studio Code | |
.vscode/ | |
# PyCharm | |
#.idea/ | |
# Vagrant | |
.vagrant/ | |
# Packer |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "AWS QuickStart Template for Tableau Server instance running on Windows QS(0040)", | |
"Parameters": { | |
"ContentAdminPassword": { | |
"Description": "The password for the initial Admin user for Tableau server", | |
"MinLength": "1", | |
"NoEcho": "true", | |
"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
<# | |
.NOTES | |
=========================================================================== | |
Created on: Jul 2017 | |
Created by: Dmitriy Kagarlickij | |
Contact: dmitriy@kagarlickij.com | |
=========================================================================== | |
.DESCRIPTION | |
ServiceFabricRPHelpers module is from: https://github.com/ChackDan/Service-Fabric/tree/master/Scripts/ServiceFabricRPHelpers | |
#> |
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
# Set default minimal RAM in Mb | |
$DefaultMinimalRAM = 512 | |
# Set default minimal HDD in Gb | |
$DefaultMinimalHDD = 20 | |
# Set function | |
function HardwareCheck { | |
# Set parameters |
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
<# | |
.NOTES | |
=========================================================================== | |
Created on: Apr 2016 | |
Created by: Dmitriy Kagarlickij | |
Contact: dmitriy@kagarlickij.com | |
Description: http://kagarlickij.com/download-restore-ms-sql-database-backup/ | |
=========================================================================== | |
.DESCRIPTION | |
This script should be executing with Administrator-level permissions |
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 { | |
stage ('clean') { | |
cleanWs() | |
} | |
stage ('checkout') { | |
git credentialsId: 'bla-bla-bla', | |
url: 'git@bitbucket.org:kagarlickij/myapp-pipeline.git' | |
} | |
parallel admin: { | |
stage ('myapp-admin-pipeline') { |
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
$adapters=(gwmi win32_networkadapterconfiguration ) | |
Foreach ($adapter in $adapters){ | |
Write-Host $adapter | |
$adapter.settcpipnetbios(2) | |
} |
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
pipeline { | |
agent any | |
stages { | |
stage ('First') { | |
steps { | |
echo "First" | |
} | |
} | |
if (env.BRANCH_NAME == 'master') { |