From 14e183cb0f2e929cd6c409401b2f235242e4ec4b Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Thu, 7 Mar 2024 11:07:45 -0500 Subject: [PATCH] Add timestamp script --- bin/timestamp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/timestamp diff --git a/bin/timestamp b/bin/timestamp new file mode 100755 index 0000000..43dcf81 --- /dev/null +++ b/bin/timestamp @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +require "date" + +ts = DateTime.now.iso8601 + +IO.popen("pbcopy", "w") { |pb| pb.write(ts) } + +puts ts