Skip to content

Instantly share code, notes, and snippets.

import time
import datetime
import colorama
def createmsg(msgtype, msg):
# get the time and date
timestamp = datetime.datetime.fromtimestamp(time.time()).strftime('[%m-%d-%Y %H:%M:%S]')
if msgtype == "INFO":
print(timestamp + " [ INFO ] --- " + msg)
print("FT450cqRPT by Erich KG5KEY...\n")
from time import sleep
import serial
import configparser
config = configparser.ConfigParser()
config.read('config.ini')
ser = serial.Serial()

Keybase proof

I hereby claim:

  • I am ellsworth on github.
  • I am kg5key (https://keybase.io/kg5key) on keybase.
  • I have a public key ASCiuHOYo-GZgl3yN-7Nte-OeRyVtEKDVCFnbZlyQzyFUgo

To claim this, I am signing this object:

Ship name: Starfinder
Designer name: Albert Einstein
Ship mass: 500
Engine thrust: 1000
File written for Starfinder
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from influxdb import InfluxDBClient
# Setup InfluxDB client
client = InfluxDBClient("hostname_here", "8086", "user", "pass", "database_name")
import argparse, os
from vedirect import Vedirect