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
from distutils.core import setup | |
setup(name='tcptuneinfo', | |
version='0.1', | |
description='', | |
author='Kazushige TAKEUCHI', | |
url='http://d.hatena.ne.jp/graceful_life/', | |
requires=[ | |
"netaddr", | |
], |
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
UserParameter=intstat[*],/etc/zabbix/scripts/intstat.sh $1 $2 |
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
latex_elements = { | |
'pointsize': '10pt', | |
'papersize': 'a4paper', | |
'transition': '', | |
'extraclassoptions': ',openany,oneside', | |
'classoptions': ',dvipdfmx', | |
'babel': '\\usepackage[japanese]{babel}', | |
} | |
latex_docclass = {'manual': 'jreport'} |
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
echo NotImplementedYet > {{DATETIME}}.log |
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 | |
_ANSIBLE_BIN=`which ansible-playbook` | |
_INVENTORY_FILE="./inventory" | |
_PLAYBOOK_FILE="bash_update.yml" | |
############################### | |
# pre-check for your environment variable. | |
############################### | |
if [ -z ${_ANSIBLE_BIN} ];then |
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
[logging] | |
default = FILE:/var/log/krb5libs.log | |
kdc = FILE:/var/log/krb5kdc.log | |
admin_server = FILE:/var/log/kadmind.log | |
[libdefaults] | |
default_realm = EXAMPLE.COM | |
dns_lookup_realm = false | |
dns_lookup_kdc = false | |
ticket_lifetime = 24h |
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
[logging] | |
default = FILE:/var/log/krb5libs.log | |
kdc = FILE:/var/log/krb5kdc.log | |
admin_server = FILE:/var/log/kadmind.log | |
[libdefaults] | |
default_realm = {{ default_realm|upper() }} | |
dns_lookup_realm = false | |
dns_lookup_kdc = false | |
ticket_lifetime = 24h |
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
#!/usr/bin/env python | |
from jinja2 import Environment, FileSystemLoader | |
import yaml | |
vars={} | |
var_files=[ | |
‘some_vars.yml', | |
] | |
for var_file in var_files: |
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
list: | |
- foo1: bar1 | |
- foo2: bar2 | |
- foo1: bar3 | |
- foo3: bar4 | |
↓↓↓↓↓↓↓↓ | |
list: | |
- foo1: bar1 |
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
list: | |
- key: foo1 | |
value: bar1 | |
- key: foo2 | |
value: bar2 | |
- key: foo1 | |
value: bar3 | |
- key: foo3 | |
value: bar4 |