Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@edhiley
edhiley / app.py
Created July 16, 2013 22:44
Creates gmail-app like icons, very limited ... get the font from google fonts.
from PIL import Image, ImageDraw, ImageFont
import string
import math
# colours from www.flatuicolors.com
COLOURS = dict(turquoise="#1abc9c",
emerald="#2ecc71",
peterRiver="#3498db",
amethyst="#9b59b6",
wetAsphalt="#34495e",
@edhiley
edhiley / scheduler_README.rst
Created March 17, 2013 22:00
screening test python (first time)

Scheduler

  1. Clone the repo to local dir

  2. Install required modules, e.g. Behave

  3. Run the BDD tool:

    $ behave
    
@edhiley
edhiley / Fullpage.html
Created April 27, 2012 15:58
A web page created at CodePen.io
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Code Pen &middot; 1</title>
<style>
body {
position: absolute; font-family: helvetica;
@edhiley
edhiley / scheduler.rb
Created November 18, 2011 20:26
scheduler - ryan's task
# scheduler.rb
class Scheduler
class CyclicalDependsError < StandardError
end
attr_accessor :tasks, :queue, :runables
def initialize(tasks, depends = [])
@edhiley
edhiley / afeeder.cs
Created July 6, 2011 11:23
something to look at ....
class AFeeder
{
enum TypesOfInformation
{
PatientInformation,
SomethingElse
}
public Feeder()