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
| using: "net.debasishg" %% "redisclient" % "2.11" | |
| // GetRedis.apply will print out all the keys and values in a csv list | |
| object GetRedis { | |
| import com.redis.{RedisClient, RedisClientPool} | |
| def apply = { | |
| val rcp = new RedisClientPool( | |
| sys.env.getOrElse("REDIS_HOST", "localhost"), | |
| 6379 | |
| ) |
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 area53 import route53 | |
| from boto.route53.exception import DNSServerError | |
| import requests | |
| import sys | |
| from datetime import datetime | |
| # Modified from https://markcaudill.me/blog/2012/07/dynamic-route53-dns-updating-with-python/ | |
| domain = 'domain.tld' | |
| subdomain = 'subdomain_name' |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
NewerOlder