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 https://www.glennklockwood.com/electronics/max7219.html and http://www.gammon.com.au/forum/?id=11516 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
View motivation.md

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
DanielOaks / yt-playlist.py
Last active Jun 12, 2018
Creates an m3u playlist from files downloaded using youtube-dl
View yt-playlist.py
#!/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 <daniel@danieloaks.net>
# released under the CC0 Public Domain license
import os
import json
from natsort import natsorted
@DanielOaks
DanielOaks / autoxm.py
Last active Apr 23, 2018
autotracker.py, for generating XM chiptunes!
View autoxm.py
#!/usr/bin/env python3
# AutoXM
# written by Daniel Oaks <daniel@danieloaks.net>
# released into the public domain
# inspired by the public domain autotracker by Ben "GreaseMonkey" Russell
import struct, random
# XM Module Handling
#
@DanielOaks
DanielOaks / tel-00543964-english.md
Last active Feb 5, 2018
The co-construction of a socio-technical communication device: the case of Internet Relay Chat
View tel-00543964-english.md

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
DanielOaks / gensite.py
Created Nov 26, 2017
Making archives of Usenet backups
View gensite.py
#!/usr/bin/env python3
"""gensite.py
Usage:
gensite.py <group> <source-dir>
gensite.py -h | --help
gensite.py --version
Options:
<source-dir> Where the directory we'll be grabbing files from exists.
View keybase.md

Keybase proof

I hereby claim:

  • I am danieloaks on github.
  • I am danieloaks (https://keybase.io/danieloaks) on keybase.
  • I have a public key ASD_kP1GDCQMi3b6n4gcuNLp2HSjp8Nenzvmq4tf5v6_Owo

To claim this, I am signing this object:

@DanielOaks
DanielOaks / add_barcodes.py
Last active Sep 11, 2017
Adds barcodes to Reckon item IIF lists
View add_barcodes.py
#!/usr/bin/env python2
# Reckon IIF item list barcode adder
# written by Daniel Oaks <daniel@danieloaks.net>
# licensed under the BSD 2-clause license
# Caution: DO NOT USE IIF. IT CAN BORK YOUR SYSTEM EASILY.
# 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
View capability-negotiation-3.3.md

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

  • cap-3.1
  • cap-3.2
  • cap-notify copyrights:
View ircv3-isupport.md
title layout work-in-progress copyrights
IRCv3 `isupport` Extension
spec
true
name email period
Daniel Oakley
daniel@danieloaks.net
2017
You can’t perform that action at this time.