Skip to content

Instantly share code, notes, and snippets.

@xtetsuji
Created December 31, 2016 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xtetsuji/99e99c26376e70f0cedcfc7a7721adea to your computer and use it in GitHub Desktop.
Save xtetsuji/99e99c26376e70f0cedcfc7a7721adea to your computer and use it in GitHub Desktop.
leap second inspector.
#!/usr/bin/perl
use strict;
use warnings;
use Time::HiRes qw(usleep time);
while(1) {
printf "%s [%s]\n", time, scalar localtime;
# 0.1秒 = 10**5 microsecond
usleep 10**5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment