Skip to content

Instantly share code, notes, and snippets.

@Vadim-Zenin
Vadim-Zenin / AWS_VPC_test_env_create.cmd
Created Sep 2, 2018
Creating VPC environment in amazon AWS for test environment by script.
View AWS_VPC_test_env_create.cmd
@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 Jul 30, 2018
Jenkins 2.121.2 pipeline example short
View Jenkinsfile-pipeline-example-short.groovy
// 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 Aug 29, 2015
Postgresql init script for RHEL cluster with multi services on one node
View postgresql-mydb01.init
#!/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"