Skip to content

Instantly share code, notes, and snippets.

View joeladdison's full-sized avatar

Joel Addison joeladdison

View GitHub Profile

Keybase proof

I hereby claim:

  • I am joeladdison on github.
  • I am joeladdison (https://keybase.io/joeladdison) on keybase.
  • I have a public key ASCZJGUTrW4J76m4WT-pnQLYH7WrfZhmcrRDqT9GV5rw6Ao

To claim this, I am signing this object:

@joeladdison
joeladdison / youtube-test.sh
Created January 16, 2017 08:40
Test stream for YouTube Live
#!/bin/sh
YT_SERVER="rtmp://a.rtmp.youtube.com/live2"
# Needs AUTH, which is the "Stream Name" from Ingestion Settings > Main Camera
# apt-get install --assume-yes gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools
# https://bugzilla.gnome.org/show_bug.cgi?id=731352#c6
@joeladdison
joeladdison / Makefile
Created May 18, 2015 10:24
CSSE2010 Makefile
# Name: Makefile
# Author: Joel Addison
# This is a prototype Makefile. Modify it according to your needs.
# You should at least check the settings for
# DEVICE ....... The AVR device you compile for
# CLOCK ........ Target AVR clock rate in Hertz
# OBJECTS ...... The object files created from your source files. This list is
# usually the same as the list of source files with suffix ".o".
# PROGRAMMER ... Options to avrdude which define the hardware you use for
@joeladdison
joeladdison / ass1.c
Created August 26, 2014 03:27
CSSE2310 - 2014 Assignment 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Bounds of grid */
#define MIN_HEIGHT 2
#define MIN_WIDTH 2
#define MAX_HEIGHT 999
#define MAX_WIDTH 999
@joeladdison
joeladdison / csse3010_hamming.js
Created March 23, 2014 01:41
CSSE3010 - Hamming and Manchester Encoding
/*
Hamming and Manchester Encoding example
Author: Joel Addison
Date: March 2013
Functions to do (7,4) hamming encoding and decoding, including error detection
and correction.
Manchester encoding and decoding is also included, and by default will use
least bit ordering for the byte that is to be included in the array.
@joeladdison
joeladdison / hamming.py
Last active May 16, 2021 02:55
Python functions for Hamming encoding and decoding, as used in CSSE3010 Prac 4 and Project 1. Manchester encoding is also included as a reference.
"""
Hamming and Manchester Encoding example
Author: Joel Addison
Date: March 2013
Functions to do (7,4) hamming encoding and decoding, including error detection
and correction.
Manchester encoding and decoding is also included, and by default will use
least bit ordering for the byte that is to be included in the array.