This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on | |
# http://blog.jamiek.it/2010/06/linux-flickr-downloader-script.html | |
# Searches flickr for all publicly available photos whos title/description/tags | |
# match the string passed to it. | |
# Downloads original-size images where possible, medium-size images otherwise. | |
# (Downloads into your current working directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Password generator for Aber Uni users | |
Owain Jones [github.com/doomcat] | |
IS's systems are very picky about the passwords they let you use. It | |
can prove to be very difficult to come up with a password that's both | |
memorable and secure for it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# vim: set tabstop=4 shiftwidth=4 textwidth=79 cc=72,79: | |
""" | |
decision_tree: Python implementation of an ID3 decision tree. | |
Based mostly on Chapter 18, Section 18.3 'Learning Decision Trees' | |
Of the book 'Artificial Intelligence: A Modern Approach' | |
By Russel & Norvig, 1995. | |
Original Author: Owain Jones [github.com/doomcat] [contact@odj.me] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is NOT licensed under the GPLv3, which is the license for the rest | |
# of YouCompleteMe. | |
# | |
# Here's the license text for this file: | |
# | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# vim: set tabstop=4 shiftwidth=4 textwidth=79 cc=72,79: | |
""" | |
Not Web Safe: Exploration Of Swear Words Represented In The Hexadecimal | |
Colour Space, a study by Courtney Aspinall and Owain Jones | |
Original Author: Owain Jones [github.com/doomcat] [contact@odj.me] | |
""" | |
from __future__ import print_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vim: set tabstop=4 shiftwidth=4 textwidth=79 cc=72,79: | |
/* | |
* Video player based off hello_video.c | |
* Listens for commands via a FIFO file. | |
* | |
* Owain Jones <github.com/erinaceous> | |
* | |
* Original hello_video: | |
* Copyright (c) 2012, Broadcom Europe Ltd | |
* All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// bits per second, measured in microseconds. | |
#define HALF_BIT_4800 104; | |
#define FULL_BIT_4800 208; | |
unsigned char uart_rx(int pin, int baud) { | |
unsigned char rec = 0; | |
// double pause = 0.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// bits per second, measured in microseconds. | |
#define HALF_BIT_4800 104; | |
#define FULL_BIT_4800 208; | |
void setup() { | |
// ... | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# vim: set tabstop=4 shiftwidth=4 textwidth=79 cc=72,79: | |
""" | |
jpeglitcher: Read a JPEG one byte at a time, | |
occasionally making a mistake. | |
Original Author: Owain Jones [github.com/erinaceous] [contact@odj.me] | |
""" | |
from __future__ import print_function | |
import subprocess |