Commit Graph

5 Commits (d348aef64573ac758daefa17b76b0c6c900f2d0f)

Author SHA1 Message Date
nirenjan d348aef645 Tweak sdate script to print correct Julian date
The existing script was rounding the computed Julian date which was
resulting in the script printing the next day for 12 hours in the day,
i.e., a date of 456314.5 was being printed as 45631.5 (due to the
division by 10 and rounding up by the print statement). Now, the script
computes the number of days since the epoch (JD 2000000) and drops the
fractional portion, so it will print the correct Julian date stardate,
i.e., a date of 456314.5 will be printed correctly as 45631.4.
2013-01-21 16:51:46 -08:00
nirenjan 2407365328 Add script to set Xterm/Tmux pane title 2013-01-21 13:54:57 -08:00
nirenjan a3f0b88de4 Add stardate script based on Julian date 2013-01-21 12:00:38 -08:00
nirenjan e8f11cbf79 Add Julian date script based on Unix time 2013-01-21 11:15:51 -08:00
nirenjan 0cebac58dd Move scripts to separate folder 2013-01-21 11:15:36 -08:00