Skip to content

Instantly share code, notes, and snippets.

Avatar

Joel Addison joeladdison

View GitHub Profile
View keybase.md

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 Jan 16, 2017
Test stream for YouTube Live
View youtube-test.sh
#!/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
CSSE2010 Makefile
View 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 Aug 26, 2014
CSSE2310 - 2014 Assignment 1
View ass1.c
#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 Mar 23, 2014
CSSE3010 - Hamming and Manchester Encoding
View csse3010_hamming.js
/*
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 Nov 8, 2019
Python functions for Hamming encoding and decoding, as used in CSSE3010 Prac 4 and Project 1. Manchester encoding is also included as a reference.
View hamming.py
"""
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.
You can’t perform that action at this time.