Skip to content

Instantly share code, notes, and snippets.

@Vadim-Zenin
Vadim-Zenin / AWS_VPC_test_env_create.cmd
Created September 2, 2018 19:50
Creating VPC environment in amazon AWS for test environment by script.
@echo on
:: *****************************************************************************
:: Author: Vadim Zenin http://vadimzenin.blogspot.com
:: Version: 0.90
:: Date: 2012-02-07 11:22:03
:: Creating VPC environment in amazon AWS for test environment
::
:: Usage: %SCRIPTNAME%
::
:: THE SCRIPT IS VERY OLD. PLEASE DO NOT USE IT
@Vadim-Zenin
Vadim-Zenin / Jenkinsfile-pipeline-example-short.groovy
Created July 30, 2018 14:05
Jenkins 2.121.2 pipeline example short
// Jenkins pipeline example short. Jenkins 2.121.2 on Ubuntu 16.04.4 LTS
// Jenkinsfile-pipeline-example-short.groovy
pipeline {
agent any
environment {
MY_DOCKER_DIR = 'docker-images'
MY_DOCKER_EXPORT_DIR = '/tmp'
MY_DOCKER_IMPORT_DIR = '/mnt/data/jenkins/jenkins-agent'
MY_DEST_SERVER = 'server-01'
@Vadim-Zenin
Vadim-Zenin / postgresql-mydb01.init
Last active June 9, 2021 10:15
Postgresql init script for RHEL cluster with multi services on one node
#!/bin/sh
#
# postgresql This is the init script for starting up the PostgreSQL
# server.
#
# chkconfig: - 64 36
# description: PostgreSQL database server.
# processname: postmaster
# pidfile="/var/run/${NAME}.pid"