This file contains 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
# python 2.7.3 | |
char_array = [ | |
['.','@','-','_','/',':','~','1'], | |
['a','b','c','A','B','C','2'], | |
['d','e','f','D','E','F','3'], | |
['g','h','i','G','H','I','4'], | |
['j','k','l','J','K','L','5'], | |
['m','n','o','M','N','O','6'], | |
['p','q','r','s','P','Q','R','S','7'], |
This file contains 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
--- | |
- hosts: webservers | |
user: miyabi | |
sudo: True | |
tasks: | |
- name: backupdate | |
command: date +"%Y%m%d%H%M%S" | |
register: execdate | |
- name: list /var/log/ | |
command: find /var/log/ -type f |
This file contains 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 -x | |
# ----- user variable definition ----- | |
inventory="inventories/development" | |
playbook="./playbook.yml" | |
exc_direct=1 | |
flg_step=1 |
This file contains 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 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 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 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 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 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 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 |
OlderNewer