Skip to content

Instantly share code, notes, and snippets.

Daniel Oaks DanielOaks

Block or report user

Report or block DanielOaks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View grid.ino
// thanks to and for help
// and to the data sheet
#include <SPI.h>
#define selectPin D2
#define REG_NOOP 0x00
#define REG_DIGIT_0 0x01
#define REG_DIGIT_1 0x02
#define REG_DIGIT_2 0x03

How to stay motivated and constantly learn new things

words words words

How do I stay motivated when life sucks?

Everyone's life sucks sometimes. It's a long, hard slog of good times and bad.

When those bad times come, it's really easy to tell yourself that everyone else is going well. You see everything flowing by on Twitter, Facebook or maybe even just day-to-day in life. Nothing is crumbling, nothing's falling down, but your life is.

DanielOaks /
Last active Jun 12, 2018
Creates an m3u playlist from files downloaded using youtube-dl
#!/usr/bin/env python3
# creates an m3u playlist sorted by upload date and then name for videos
# downloaded using youtube-dl (with the --write-info-json option)
# written in 2015 by Daniel Oaks <>
# released under the CC0 Public Domain license
import os
import json
from natsort import natsorted
DanielOaks /
Last active Apr 23, 2018, for generating XM chiptunes!
#!/usr/bin/env python3
# AutoXM
# written by Daniel Oaks <>
# released into the public domain
# inspired by the public domain autotracker by Ben "GreaseMonkey" Russell
import struct, random
# XM Module Handling
DanielOaks /
Last active Feb 5, 2018
The co-construction of a socio-technical communication device: the case of Internet Relay Chat

The co-construction of a socio-technical communication device: the case of Internet Relay Chat

Guillaume Latzko-Toth

University of Quebec in Montreal, 2010. English translation of:

Guillaume Latzko-Toth. La co-construction d’un dispositif sociotechnique de communication: le cas de l’Internet Relay Chat. Sociologie. Université du Québec à Montréal, 2010. Français.

TL Note: If a sentence looks like this, it means the automatic translations are so shoddy that I can't understand what it's supposed to mean. This is a best-effort translation by someone who doesn't know French, and any help would be appreciated! (Thanks to Thomas for help so far!)

DanielOaks /
Created Nov 26, 2017
Making archives of Usenet backups
#!/usr/bin/env python3
Usage: <group> <source-dir> -h | --help --version
<source-dir> Where the directory we'll be grabbing files from exists.

Keybase proof

I hereby claim:

  • I am danieloaks on github.
  • I am danieloaks ( on keybase.
  • I have a public key ASD_kP1GDCQMi3b6n4gcuNLp2HSjp8Nenzvmq4tf5v6_Owo

To claim this, I am signing this object:

DanielOaks /
Last active Sep 11, 2017
Adds barcodes to Reckon item IIF lists
#!/usr/bin/env python2
# Reckon IIF item list barcode adder
# written by Daniel Oaks <>
# licensed under the BSD 2-clause license
# This basically reads through each item in your item IIF, to see if it has a barcode
# if it doesn't have a barcode and the item name contains a digit, it makes the barcode the same

title: IRCv3.3 Client Capability Negotiation layout: spec work-in-progress: true updates:

  • cap-3.1
  • cap-3.2
  • cap-notify copyrights:
title layout work-in-progress copyrights
IRCv3 `isupport` Extension
name email period
Daniel Oakley
You can’t perform that action at this time.