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
| (ns route53-create-record.core) | |
| (import '(com.amazonaws.auth BasicAWSCredentials) | |
| '(com.amazonaws.services.route53 AmazonRoute53Client) | |
| '(com.amazonaws.services.route53.model GetHostedZoneRequest | |
| ChangeResourceRecordSetsRequest | |
| ChangeBatch | |
| Change | |
| ListResourceRecordSetsRequest | |
| ResourceRecordSet |
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 ruby | |
| # | |
| # a capistrano strategy to deploy sub-directory in the repository. | |
| # this is a stuff like "remote_cache_subdir" strategy described in following page, | |
| # but based on "copy" strategy of capistrano deploy recipe. | |
| # | |
| # http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano | |
| # | |
| require 'capistrano' |
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 __future__ import with_statement | |
| import contextlib | |
| import logging | |
| import MySQLdb | |
| import optparse | |
| import os | |
| import sys |
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 __future__ import with_statement | |
| import logging | |
| import optparse | |
| import os | |
| import sys | |
| def main(args): | |
| parser = optparse.OptionParser("usage %prog [OPTIONS]", add_help_option=False) |
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 __future__ import with_statement | |
| import logging | |
| import optparse | |
| import pika | |
| import sys | |
| import timeouts | |
| import traceback |
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 | |
| # | |
| # pyhttp.monitor - mon monitor plugin to test http service | |
| # | |
| from __future__ import with_statement | |
| import inspect | |
| import logging | |
| import optparse | |
| import os |
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 | |
| # | |
| # pymemcached.monitor - mon monitor plugin to test memcached service | |
| # | |
| from __future__ import with_statement | |
| import logging | |
| import optparse | |
| import os | |
| import pylibmc |
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 | |
| # | |
| # pymsgpack-rpc.monitor - mon monitor plugin to test msgpack-rpc services | |
| # | |
| from __future__ import with_statement | |
| import logging | |
| import msgpack | |
| import optparse | |
| import os |
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 | |
| # | |
| # pyirc2.alert - mon alert plugin to send alerts to irc server | |
| # | |
| from __future__ import with_statement | |
| import contextlib | |
| import irclib | |
| import optparse | |
| import os |
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 | |
| # | |
| # service2.alert - a mon's alert plugin to manage syvinit/upstart/daemontools services | |
| # | |
| # you have to permit mon user to run following commands via sudo without password. | |
| # | |
| # * /usr/sbin/service (for sysvinit) | |
| # * /sbin/initctl (for upstart) | |
| # * /usr/bin/svc (for daemontools) | |
| # * /usr/bin/svstat (for daemontools) |