Skip to content

Instantly share code, notes, and snippets.

View TheSkorm's full-sized avatar

Michaela Wheeler TheSkorm

View GitHub Profile
@TheSkorm
TheSkorm / 783109
Last active June 30, 2019 05:52
ACRUX1
[0.4] CQCQCQ>ACRUX1:<0x1b><0x00><0x00><0x05><0x1e><0x00>?3<0x03><0x00>?3p<0x0f>i<0x15><0x04><0x00><0x03><0x10>a<0x01>0"1"<0x00>?<0x00>?0<0x11><0x00><0x14><0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?<0x00>?*<0x05><0x00><0x00><0x00><0x00>3P<0x01><0x00><0x00><0x00><0x00><0x00><0x00><0x00>TODO: Please tell MSP that their satellite works<0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x00><0x18>?ۧ?WwB<0x0b>ټ$Gr?>?I0r)T3?<0x0d><<0x0d>?%<0x1e>0>
------
U frame UI: p
.navbar {
display: none;
}
.tle-data{
display: none;
}
footer{
display:none;
}
@TheSkorm
TheSkorm / index.py
Created May 9, 2019 11:12
Sondehub Gateway
#!/usr/bin/env python3.7
import sys
sys.path.append('./packages')
import boto3
import requests
import json
import base64
from natsort import natsorted
#!/usr/bin/python
#
"""
Copyright (c) 2009, ChronosTelecom, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
import dcfurs
import settings
import time
CODE = {'A': '.-', 'B': '-...', 'C': '-.-.',
'D': '-..', 'E': '.', 'F': '..-.',
'G': '--.', 'H': '....', 'I': '..',
'J': '.---', 'K': '-.-', 'L': '.-..',
'M': '--', 'N': '-.', 'O': '---',
'P': '.--.', 'Q': '--.-', 'R': '.-.',
'S': '...', 'T': '-', 'U': '..-',
@TheSkorm
TheSkorm / ir.ino
Last active November 2, 2018 10:49
LG AirCon LSZ244VM-6 MQTT ESP8266
/* IRremoteESP8266: IRsendDemo - demonstrates sending IR codes with IRsend.
Version 1.0 April, 2017
Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009,
Copyright 2009 Ken Shirriff, http://arcfn.com
An IR LED circuit *MUST* be connected to the ESP8266 on a pin
as specified by kIrLed below.
TL;DR: The IR LED needs to be driven by a transistor for a good result.
@TheSkorm
TheSkorm / LGremote.ino
Created November 2, 2018 06:10
TODO off code
/* IRremoteESP8266: IRsendDemo - demonstrates sending IR codes with IRsend.
*
* Version 1.0 April, 2017
* Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009,
* Copyright 2009 Ken Shirriff, http://arcfn.com
*
* An IR LED circuit *MUST* be connected to the ESP8266 on a pin
* as specified by kIrLed below.
*
* TL;DR: The IR LED needs to be driven by a transistor for a good result.
@TheSkorm
TheSkorm / vlineapitest.py
Last active September 16, 2018 07:16
Reverse engineered API for vline
#requires python3
# pip3 install xmltodict --user
import hashlib
import hmac
import base64
import xmltodict
# https://gist.github.com/heskyji/5167567b64cb92a910a3
def make_digest(message, key):
'use strict';
exports.handler = (event, context, callback) => {
/*
* Generate HTTP redirect response with 302 status code and Location header.
*/
const request = event.Records[0].cf.request;
if (request.uri.startsWith('/aprs/') ){
var sonde = request.uri.replace(/^\/aprs\//,"");
var specific_response = {
#!/usr/bin/python
# -*- coding: utf-8 -*-
CODE = { "10" : u"▌", "01": u"▐", "11": u"█", "00": u" "}
CHARS = {'0':'1010001110111010',
'1':'1110100010101110',
'2':'1011100010101110',
'3':'1110111000101010',
'4':'1010001110101110',
'5':'1110100011101010',