Skip to content

Instantly share code, notes, and snippets.

@HebaruSan
HebaruSan / recv_ckan.py
Created June 23, 2019 21:46
Minimal Python3 script to Receive a Ckan file from an Outbound Queue
#!/usr/bin/python
# Based on https://gist.github.com/techman83/0604f4dc9f849aac605e46f494de9403
import boto3
sqs = boto3.resource('sqs')
queue = sqs.get_queue_by_name(QueueName='OutboundDev.fifo')
for msg in queue.receive_messages(
@HebaruSan
HebaruSan / upgrade-popups.md
Last active July 7, 2019 20:47
Upgrade popups

Thoughts on upgrade popups

References:

The subject originally arose in the context of using CKAN to manage KSP mods, but it is common to any package manager such as APT on Debian/Ubuntu, NuGet in .Net/Mono, CPAN for Perl, etc.

@HebaruSan
HebaruSan / undock-bug-2-magnets-engaged.sfs
Created September 19, 2017 02:17
KSP save for reproducing docking port bug, just before decoupling
GAME
{
version = 1.3.1
Title = Fresh (SANDBOX)
Description = No description available.
linkURL =
linkCaption =
Mode = SANDBOX
Status = 1
Seed = 1855119993
@HebaruSan
HebaruSan / persistent.sfs
Created September 19, 2017 01:44
KSP save with un-undockable docking ports
GAME
{
version = 1.3.1
Title = Fresh (SANDBOX)
Description = No description available.
linkURL =
linkCaption =
Mode = SANDBOX
Status = 1
Seed = 1855119993
@HebaruSan
HebaruSan / Hot Fudge 1.0.craft
Created September 19, 2017 00:52
A craft for Kerbal Space Program that requires awkward maneuvers for docking
ship = Hot Fudge 1.0
version = 1.2.2
description =
type = VAB
size = 6.67006397,45.8373566,6.68136787
PART
{
part = Mark1-2Pod_4294709364
partName = Part
pos = 0.563716173,52.3260345,-1.02374017