Skip to content

Instantly share code, notes, and snippets.

ha#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# 2015 Michael Stucky
#
# This script is based on Raymond Wagner's transcode wrapper stub.
# Designed to be a USERJOB of the form </path to script/transcode-h264.py %JOBID%>
#
# Modifications
#
@russdill
russdill / remoteconsole.py
Created December 7, 2017 10:00
BF1942 remote console
#!/usr/bin/python
import socket
import struct
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--username', '-u', action='store', required=True)
parser.add_argument('--password', '-p', action='store', required=True)
parser.add_argument('host')
#!/usr/bin/python
import beacon
import struct
import uuid
import collections
MFG_ID_DISNEY = 0x0183
AFFILIATION_SCOUNDREL = 0
#!/usr/bin/python3
import gatt
import struct
import signal
import binascii
import sys
import os
import fcntl
import gi.repository
The views and comments express some spatial by its guest collars trendless belong to them. The space show in a toast serve only as a platform and are not responsible for others comments or views. All topics discuss them spatial or primarily for educational purposes.
Thank you very much for tuning in. We have one of our favorite all-time guests with us tonight Dr. Zuber and so I'm gonna cut to the chase and skip most of the the front end work in the announcements and I'm gonna treat the program as a short one and just call out our sponsors so that we can maximize our talk time with Bob but our phone number for those of you who would like to call us is toll-free one eight, six, six six, eight seven seven, two, two three.
An email is Doctor Space Dr. SPACE at the space show dot com do check our website newsletter, it's posted on our website in the upper right hand corner and it shows everything for this week plus all of the programming through the first quarter and the start of second quarter of 2020 a coup
@russdill
russdill / jump_table.h
Last active December 12, 2022 08:28
Example of AVR custom jump tables using inline assembler "asm goto" construct
#ifndef JUMP_TABLE_H
#define JUMP_TABLE_H
#define MAP_OUT
#define EVAL0(...) __VA_ARGS__
#define EVAL1(...) EVAL0 (EVAL0 (EVAL0 (__VA_ARGS__)))
#define EVAL2(...) EVAL1 (EVAL1 (EVAL1 (__VA_ARGS__)))
#define EVAL3(...) EVAL2 (EVAL2 (EVAL2 (__VA_ARGS__)))
#define EVAL4(...) EVAL3 (EVAL3 (EVAL3 (__VA_ARGS__)))