Skip to content

Instantly share code, notes, and snippets.

View kghose's full-sized avatar
🕉️

Kaushik Ghose kghose

🕉️
View GitHub Profile
@alext234
alext234 / Dockerfile
Last active May 13, 2024 00:45
A simple ubuntu container with gcc and cmake
FROM ubuntu:xenial
MAINTAINER alex
# update and install dependencies
RUN apt-get update \
&& apt-get install -y \
software-properties-common \
wget \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt-get update \
@arrieta
arrieta / spk.py
Created March 19, 2017 20:47
Example demonstrating how could one work with SPICE SPK files in their original DAF format.
"""spk.py
This is an example meant to demonstrate how could one work directly
with SPICE SPK files in their original DAF format.
It can correctly compute the position and velocity provided by Type II
and Type III ephemerides. As a basis for comparison it calculates the
states of the Galilean satellites for a relatively large number of
epochs and compares it agains CSPICE (which you need to have available
as a shared library if you want to run the test case, but you don't