Skip to content

Instantly share code, notes, and snippets.

@jkutner
jkutner / raspberry-pi-autoguider.md
Last active January 31, 2024 20:38
Raspberry Pi Autoguider for Astrophotography

This is an update to an older post about how to Turn a Raspberry Pi into an Astrophotography Autoguider. I rebuilt my autoguider from scratch with newer versions of the software. It's even a bit easier now.

Step 1: Install Raspberry Pi OS

Follow the official instructions and install the "Raspberry Pi OS with desktop and recommended software". All of the commands in the steps that follow are run from a terminal session on the Raspberry Pi.

Step 2: Install Git

@tamc
tamc / cloudwatch-lambda.js
Created September 22, 2016 13:51
AWS Lambda Method to return CloudWatch metrics as JSON
'use strict';
var AWS = require('aws-sdk');
var cloudwatch = new AWS.CloudWatch({apiVersion: '2010-08-01'});
function getMetric(metricName, callBack) {
var now = new Date();
var anHourAgo = new Date()
anHourAgo.setHours(now.getHours()-1);
var params = {