commit 14e183cb0f2e929cd6c409401b2f235242e4ec4b parent e7db6c7f7d5868fcfad8f17c7327d86a5bcf614e Author: David Eisinger <[email protected]> Date: Thu, 7 Mar 2024 11:07:45 -0500 Add timestamp script Diffstat:
| A | bin/timestamp | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/bin/timestamp 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