This file contains hidden or 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
zone "toto-tr.fr.rt" { | |
type master; | |
masters { 20.20.20.20; }; | |
file "slaves/db.toto-tr.fr.rt"; | |
}; | |
#Replace this : | |
(^[a-z0-9\-]+(\.[a-z0-9\-]+)*) |
This file contains hidden or 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
#!/bin/bash | |
dir=/tmp/Results | |
rm -rf $dir | |
mkdir -p $dir | |
echo "Hostname : " | |
hostname | |
echo "" | |
ip addr show |awk '{ print $2 }' | grep ^[a-Z] |tr -d : | while read p ; do int=$(ip addr show $p | awk '/inet/ { print $2 }') ; echo "$p: $int "; done |
This file contains hidden or 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
#!/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 "#############################################################" |
This file contains hidden or 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
#!/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 "#############################################################" |
This file contains hidden or 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
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: |
This file contains hidden or 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
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 | |
This file contains hidden or 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
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 |
This file contains hidden or 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
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 |
This file contains hidden or 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
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 | |
This file contains hidden or 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
^https?://(?:[^:@/]+(?::[^@/]+)?@)?(?:localhost|127\.\d+\.\d+\.\d+)(?::\d+)?(?:/.*)?$ |