Skip to content

Instantly share code, notes, and snippets.

View ccmehil's full-sized avatar

Craig Cmehil ccmehil

View GitHub Profile
from astropy.coordinates import SkyCoord, EarthLocation, AltAz, Longitude, Angle
from astropy import coordinates as coord
from astropy.time import Time
from astropy import units as u
import numpy as np
now = dt.now()
times = [now]
t = Time(times, scale='utc')
obstime = Time(t) + np.linspace(0, 6, 10000) * u.hour
@ccmehil
ccmehil / gist:a99546415e84e1c2a5601f58f01d314b
Created April 6, 2020 11:37
Text action HTML for Tell the Kids shortcut
<!DOCTYPE HTML><html lang="en"><head><meta charset="utf-8"><title>Tell the Kids!</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: #ffffff;
}
.text {
position: absolute;
top: 40%;