Skip to content

Instantly share code, notes, and snippets.

@rickbassham
rickbassham / capture.xml
Created May 1, 2020 22:29
Result of dbus introspect on Ekos Capture object
<node name="/KStars/Ekos/Capture">
<interface name="org.kde.kstars.Ekos.Capture">
<method name="start">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"></annotation>
</method>
<method name="abort">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"></annotation>
</method>
<method name="suspend">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"></annotation>
@rickbassham
rickbassham / Test.java
Created August 19, 2019 14:51
mleap - Inconsistent schema using row transformer
package com.rickbassham.test;
import java.io.File;
import java.util.Arrays;
import java.util.List;
import ml.combust.bundle.dsl.Bundle;
import ml.combust.mleap.core.types.StructField;
import ml.combust.mleap.core.types.StructType;
import ml.combust.mleap.runtime.MleapContext;
@rickbassham
rickbassham / fit_to_tiff.py
Created February 11, 2018 19:00
Convert FIT to TIFF Python
from astropy.io import fits
from PIL import Image
import numpy
import sys
import os
filepath = 'test.fit'