Skip to content

Instantly share code, notes, and snippets.

Graeme West capncodewash

  • Glasgow
Block or report user

Report or block capncodewash

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 docbook-fo-test.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version='1.0'>
<xsl:import href="urn:docbkx:stylesheet"/>
<!-- ProgramListing/Screen has a background color -->
<xsl:param name="shade.verbatim">1</xsl:param>
<xsl:attribute-set name="shade.verbatim.style">
@capncodewash
capncodewash / assembly-split.xsl
Last active Dec 18, 2015
A simple XSLT 2.0 stylesheet which allows you to split a DocBook 5.1 assembly file containing multiple <structure> elements into distinct files for further processing. The end result is a set of files named after the IDs of each <structure> element. Each file contains: * The entire <resources> structure from the original file * A single <structu…
View assembly-split.xsl
<?xml version="1.0" encoding="UTF-8"?>
<!--
assembly-split.xsl
== README ==
A simple XSLT 2.0 stylesheet which allows you to split a DocBook 5.1 assembly file containing multiple <structure> elements into distinct files for further processing.
The end result is a set of files named after the IDs of each <structure> element. Each file contains:
@capncodewash
capncodewash / countdown.rb
Created May 10, 2012
Countdown: an attempt at creating a 'Countdown'
View countdown.rb
# Countdown.rb
#
# A lame attempt by someone who last used Ruby in the Paleolithic period (I think Perl was around then) to solve the Countdown problem ( http://rubyquiz.com/quiz7.html ). Bad habits from Python, PHP and various things are included.
#
# Attempted as a follow-up to the ScotRUG user group meeting coding kata.
#
# Will generate solutions for any combination of six integers.
#
# ©2012 Graeme West <graeme@heliocentrik.net>
# Licensed under the Apache 2.0 licence ( http://www.apache.org/licenses/LICENSE-2.0 ). If you're into that kind of thing.
@capncodewash
capncodewash / android-developer-role-description.txt
Created Jun 7, 2011
Job opportunity: Junior Android Developer + Mobile Guru
View android-developer-role-description.txt
Junior Android Developer + Mobile Guru
Spot Specific Limited
Job description
Spot Specific is currently seeking a candidate with a strong background in Java software development and design to join our development team, to cross-train to become an awesome Android developer.
The successful candidate will contribute to improving and maintaining our advanced application runtime engine for the Android platform. The candidate will work with our CTO, development team and Community Manager to help shape the future development of the product, implement exciting new features, ensure device compatibility, and be responsible for maintenance.
View CPBundle.j
/*
* CPBundle.j
* AppKit
*
* Created by Nicholas Small, extended by John C. Fox
* Copyright 2009, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
View CPBundle.sj
/*
* CPBundle.sj
* AppKit
*
* Created by Nicholas Small.
* Copyright 2009, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
You can’t perform that action at this time.