Renew GPG key
Given that your key has expired.
$ gpg --list-keys
$ gpg --edit-key KEYID
Use the expire command to set a new expire date:
Given that your key has expired.
$ gpg --list-keys
$ gpg --edit-key KEYID
Use the expire command to set a new expire date:
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
import java.util.Calendar; | |
import java.util.Optional; | |
public class DnsDemo { | |
public static void main(String[] args) throws Exception { | |
while (true) { | |
System.out.printf("%1$tH:%1$tM:%1$tS%n", Calendar.getInstance()); | |
printAddressInfo(addressOf("www.google.com")); |
require 'em-http' | |
EM.run do | |
def dispatch(uri, retries = 0) | |
h = EM::HttpRequest.new(uri).get | |
h.callback { |rep| [:success, rep.response]; EM.stop } | |
h.errback do |rep| | |
p [:fail, rep] |
Long story, short: I'm totally open to supporting more rubies if possible. Details follow.
Related issue: http://code.google.com/p/logstash/issues/detail?id=37
Summary: