Skip to content

Instantly share code, notes, and snippets.

View 01-Remove Snap.md
snap list

sudo systemctl disable snapd.service
sudo systemctl disable snapd.socket
sudo systemctl disable snapd.seeded.service

sudo snap remove firefox
sudo snap remove snap-store
sudo snap remove gtk-common-themes
View Kubuntu 22.04 Astro PC.md

Kubuntu 22.04 Astro PC

sudo apt install openssh-server

sudo dpkg-reconfigure unattended-upgrades
sudo apt update
sudo apt upgrade
sudo reboot
@rickbassham
rickbassham / Astrobuntu 20.04.md
Last active Nov 10, 2021
Astrobuntu Step-by-step
View Astrobuntu 20.04.md

Instructions (works on amd64 and arm64)

A copy/paste guide to getting a full working astro-imaging computer running on Ubuntu 20.04 LTS. Installs latest stable versions of gpsd, KStars, INDI, OACapture, SkyChart, ASTAP, and Astrometry.net.

Install Ubuntu 20.04 (or Xubuntu, Kubuntu, or any other Ubuntu)

PC (amd64)

https://releases.ubuntu.com/20.04/

@rickbassham
rickbassham / analyze.txt
Created Sep 24, 2021
KStars 3.5.5 Alignment Issue
View analyze.txt
#KStars version 3.5.5. Analyze log version 1.0.
AnalyzeStartTime,2021-09-23 18:57:10.295,EDT
MountState,0.000,Idle
Temperature,1.265,22.010
MountCoords,1.283,215.8417,-42.3375,215.0164,-0.0089,1,50.9208
MountState,1.283,Parked
Temperature,603.315,21.450
Temperature,1204.794,21.080
Temperature,1806.255,20.570
View Switch Git to Fork.md
git remote rename origin upstream
git remote add origin https://github.com/user/FORK.git
git checkout -b newFeatureBranch

Whenever you need to update your fork based on the recent evolution of the original repo:

git checkout master
View KStars 3.5.0 OSX Crash
Process: kstars [16074]
Path: /Applications/KStars.app/Contents/MacOS/kstars
Identifier: ???
Version: 3.5.0 (3.5.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: kstars [16074]
User ID: 501
Date/Time: 2020-12-07 19:11:40.051 -0500
@rickbassham
rickbassham / Dockerfile
Created Aug 28, 2020
oacapture cross docker build
View Dockerfile
FROM --platform=arm64 ubuntu:20.04
ARG DEBIAN_FRONTEND="noninteractive"
ENV TZ=America/New_York
RUN mkdir /src
COPY . /src
WORKDIR /src
View BootRaspberryPi4UbuntuFromSSD.md

Raspberry Pi 4 Boot Ubuntu from USB SSD

This is a copy/paste guide to booting Ubuntu 20.04 from an SSD on a Raspberry Pi 4.

The majority of these commands came from this forum post: https://www.raspberrypi.org/forums/viewtopic.php?t=278791

Prep-work

This section only needs to be done the first time for a given Raspbery Pi 4. It flashes the EEPROM on the device to support booting from USB.

@rickbassham
rickbassham / README.md
Last active Aug 30, 2021
Step by Step Instructions to create an Open Source Astro-Imaging Computer
View README.md

Instructions (works on amd64 and arm64)

A copy/paste guide to getting a full working astro-imaging computer running on Ubuntu 20.04 LTS. Installs latest stable versions of gpsd, KStars, INDI, OACapture, SkyChart, ASTAP, and Astrometry.net.

It uses the lightweight XFCE4 desktop, and allows you to VNC in, running everything locally on the astro-imaging pc.

Install Ubuntu Server 20.04.1

View PHD2_GuideLog_2020-06-02_205422.txt
PHD2 version 2.6.8 [Linux], Log version 2.5. Log enabled at 2020-06-02 20:54:22
Calibration Begins at 2020-06-02 21:24:48
Equipment Profile = CGX-AT8RC-OAG
Dither = both axes, Dither scale = 1.000, Image noise reduction = none, Guide-frame time lapse = 0, Server enabled
Pixel scale = 0.74 arc-sec/px, Binning = 1, Focal length = 1625 mm
Search region = 15 px, Star mass tolerance = 50.0%
Camera = INDI Camera [ZWO CCD ASI174MM Mini], full size = 1936 x 1216, no dark, no defect map, pixel size = 5.9 um
Exposure = 2000 ms
Mount = INDI Mount [Celestron CGX], Calibration Step = 150 ms, Calibration Distance = 25 px, Assume orthogonal axes = no