Skip to content

Rage Against the Shell

Linux tips and other things…

  • Home
  • Contact
  • Privacy Policy

Day: July 7, 2017

Suunto Moon Age App

Posted on July 7, 2017 by Mr. Reboot

Tested in Suunto Traverse

This app calculate moon age in days:

/* While in sport mode do this once per second */
MoonMonth = 29.53;
FirstNewMoonDayIn2000 = 6;

DaysFrom2000 = SUUNTO_DAYS_AFTER_1_1_2000 + (SUUNTO_TIME/86400);
DaysFromNewMoon = DaysFrom2000 - FirstNewMoonDayIn2000;
MoonAge = Suunto.mod(DaysFromNewMoon/MoonMonth,1) * MoonMonth;

postfix = "Days";
RESULT = MoonAge;
Posted in GadgetsLeave a comment

Search

Calendar

July 2017
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« May   Jan »

Categories

  • Apache
  • Cisco
  • Command line
  • Distros
  • Dovecot
  • File systems
  • Gadgets
  • GlusterFS
  • MySQL
  • Nginx
  • NTP
  • Opendkim
  • Pacemaker + Corosync
  • Postfix
  • Raspberrypi
  • SSH
  • SSL
  • Varnish

RSS RSS

  • Using qrencode January 16, 2022
  • Compile varnish module vmod_vsthrottle April 22, 2020
  • SSH vpn with sshuttle April 9, 2020
  • Disable swap in systemd December 16, 2019
  • Getting the parent process pid October 12, 2018
Proudly powered by WordPress | Theme: micro, developed by DevriX.