Skip to content

Instantly share code, notes, and snippets.

View aleksbrgt's full-sized avatar
⌨️

Aleks aleksbrgt

⌨️
  • Malta
View GitHub Profile
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@aleksbrgt
aleksbrgt / celestrak_catalog_parser.py
Last active March 10, 2017 22:02
Quick and dirty script to parse catalog entries and make fixtures
"""
Quick and dirty script to parse catalog entries and make fixtures
"""
cat_cols = {
'international_designator': [0,10,'text'],
'norad_catalog_number': [13,17,'text'],
'has_payload': [20,20,'bool'],
'operational_status_code': [21,21,'text','?'],
'names': [23,46,'text'],