Skip to content

Instantly share code, notes, and snippets.

View boina-n's full-sized avatar

Nadjmou BOINA boina-n

  • Genopsys
  • Anywhere
  • 20:12 (UTC +04:00)
View GitHub Profile
@boina-n
boina-n / publish_release_with_github-realease.md
Last active September 5, 2017 15:14
publish_release_with_github-realease.md
export GITHUB_TOKEN= $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
version="2.0.0"
vtag="v$version"
username=boina-n
repo=cf-all-routes
lrname=linux-amd64-$repo-release
wrname=windows-amd64-$repo-release.exe
uname="$repo-$version"
utgzname="$repo $version.tgz"
@boina-n
boina-n / Update_PCF_pipelines.md
Created September 6, 2017 21:03
Update PCF pipelines

Update PCF pipelines

Download the pipelines from the PivNet

untargz the pipelines

$ tar -zxvf pcf-pipelines-v0.16.0.tgz
@boina-n
boina-n / http.s.regex.txt
Created October 5, 2017 20:54
regex http/https
^https?://(?:[^:@/]+(?::[^@/]+)?@)?(?:localhost|127\.\d+\.\d+\.\d+)(?::\d+)?(?:/.*)?$
@boina-n
boina-n / Spring-cloud-services-debug.txt
Created October 5, 2017 20:57
Spring cloud services debug notes
bosh logs <Rmq-servers> <index>
bosh logs <cc-jobs> <index>
cf target -o system -s p-spring-cloud-services
cf logs spring-cloud-broker --recent
cf logs spring-cloud-broker-worker --recent
@boina-n
boina-n / cloud-config.txt
Created October 8, 2017 21:35
Cloud Config aws
azs:
- cloud_properties:
availability_zone: us-west-2a
name: z1
- cloud_properties:
availability_zone: us-west-2b
name: z2
- cloud_properties:
availability_zone: us-west-2c
name: z3
@boina-n
boina-n / cloud-config.yml
Created October 15, 2017 22:34
Cloud config with bid price support
azs:
- cloud_properties:
availability_zone: us-west-2a
name: z1
- cloud_properties:
availability_zone: us-west-2b
name: z2
- cloud_properties:
availability_zone: us-west-2c
name: z3
@boina-n
boina-n / Latest-pivnet-products.sh
Created October 19, 2017 07:30
check latest version of Pivotal products.
1. download Pivnet-cli : https://github.com/pivotal-cf/pivnet-cli/releases
$ om --target https://******--skip-ssl-validation --username ***** --password ***** staged-products
+-------------------------+-----------+
| NAME | VERSION |
+-------------------------+-----------+
| p-redis | 1.*.2 |
| p-rabbitmq | 1.*.7 |
| p-mysql | 1.*.3 |
| apm | 1.*.8 |
@boina-n
boina-n / awk-one-liners.awk
Created October 22, 2017 14:52 — forked from xandkar/awk-one-liners.awk
HANDY ONE-LINE SCRIPTS FOR AWK
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008
Compiled by Eric Pement - eric [at] pement.org version 0.27
Latest version of this file (in English) is usually at:
http://www.pement.org/awk/awk1line.txt
This file will also be available in other languages:
Chinese - http://ximix.org/translation/awk1line_zh-CN.txt
USAGE:
@boina-n
boina-n / InfoBloxToBind.sh
Created October 22, 2017 15:56
Convert Infoblox zones to Bind Zones
#!/bin/bash
echo "#############################################################"
echo "#############################################################"
echo "## Infoblox to bind export script ##"
echo "## This script should be run on ##"
echo "## a server allowed transfer the zones ##"
echo "## the zones by transfer ##"
echo "#############################################################"
echo "#############################################################"
@boina-n
boina-n / InfoBloxToBind.sh
Created October 22, 2017 15:56
Convert Infoblox zones to Bind Zones
#!/bin/bash
echo "#############################################################"
echo "#############################################################"
echo "## Infoblox to bind export script ##"
echo "## This script should be run on ##"
echo "## a server allowed transfer the zones ##"
echo "## the zones by transfer ##"
echo "#############################################################"
echo "#############################################################"