Skip to content

Instantly share code, notes, and snippets.

Working from home

Dmitriy Kagarlickij kagarlickij

Working from home
Block or report user

Report or block kagarlickij

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kagarlickij /
Created Dec 16, 2019
Snippet creates AWS S3 bucket using Python with Boto3
import json
import boto3
from botocore.exceptions import ClientError
# Default values
aws_region = 'eu-west-1'
client_name = 'kag'
environment = 'sbx'
kagarlickij / openapi.json
Last active Mar 26, 2019
AWS API Gateway PetStore sample
View openapi.json
"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": [
"paths": {
View EC2WindowsCloudWatch.json
"schemaVersion": "1.0",
"description": "CloudWatch for Windows Instances",
"runtimeConfig": {
"aws:cloudWatch": {
"properties": {
"EngineConfiguration": {
"PollInterval": "00:00:15",
"Components": [
kagarlickij / .zshrc
Last active Aug 12, 2019
This is ZSH config file located in ~/
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/kagarlickij/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See
View db_restore_from_sftp.ps1
Created on: Apr 2016
Created by: Dmitriy Kagarlickij
This script should be executing with Administrator-level permissions
kagarlickij / Jenkinsfile
Created Jun 7, 2018
Jenkins scripted pipeline parallel execution
View Jenkinsfile
node {
stage ('clean') {
stage ('checkout') {
git credentialsId: 'bla-bla-bla',
url: ''
parallel admin: {
stage ('myapp-admin-pipeline') {
kagarlickij / Jenkinsfile
Created Mar 30, 2018
This is demo pipeline to check IF conditions in declarative way
View Jenkinsfile
pipeline {
agent any
stages {
stage ('First') {
steps {
echo "First"
if (env.BRANCH_NAME == 'master') {
View create-FabricMagmtCert.ps1
Created on: Jul 2017
Created by: Dmitriy Kagarlickij
ServiceFabricRPHelpers module is from:
View tableau-single-server.template
"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"
echo "Installing SqlCmd.."
if [[ $(sqlcmd | grep Version) != *"13."* ]]; then {
rm -f ${repoPrConf}
cat >> ${repoPrConf} << EOF
enabled = 0
You can’t perform that action at this time.