Skip to content

Instantly share code, notes, and snippets.

View IanMulvany's full-sized avatar
💭
yak shaving.

Ian Mulvany IanMulvany

💭
yak shaving.
View GitHub Profile

class: center, middle

This is fucking cool


Agenda

  1. Introduction
  2. Deep-dive
Balisage, they say, is Tops
And all things markup excellent
Like all the different content blocks
ID and node path, relevant
Schematron, they say, it's fun
And also good and valid
Go make a parsing pipeline run
Encode a div soup salad
I think you'll need to query
Stylesheets and definitions
There was a young man from Cork City
Who thought that XML was so pretty
He accepted word files
and hoped to find smiles
But found that footnotes were quite Shitty
@IanMulvany
IanMulvany / elife_api_aricle_info_endpoint.yaml
Last active August 29, 2015 14:23
proposed endpoint for article info api
/articles/{doi}/pub_info:
get:
description: Get PDF file locations in JSON format.
operationId: doi
produces:
- application/json
parameters:
- name: doi
in: path
description: FID of article
@IanMulvany
IanMulvany / elife-api.yaml
Created June 26, 2015 12:55
yaml representation of eLife API, no new additions.
swagger: '2.0'
info:
version: '2.0'
title: eLife API
description: Utillity methods to access eLife article information.
contact:
name: Swagger API team
email: [email protected]
url: http://swagger.io
host: api.elifesciences.org:80
/*
This widget shows Recent Posts on your Tumblr blog.
Its dependency is jQuery.
Usage:
1) Add html:
<div id="recent-posts"></div>
2) Add code into the <head>:
@IanMulvany
IanMulvany / dd_job_description.md
Created January 15, 2015 16:51
job advert - Drupal Developer eLife January 2015

Drupal Developer

Job Description

The role will primarily be responsible for back end development of the eLife journal, with support provided for development of other eLife sites. This is an opportunity to work on stuff that matters, and not just on another advertising or media site. You will be expected to work closely with the rest of the development team, especially front end, to deliver a world class experience to eLife authors and readers.

on handle_string(message)
-- get the input from LaunchBar
do shell script "/Users/ian/bin/todo " & quoted form of message
end handle_string
@IanMulvany
IanMulvany / todo.py
Created December 31, 2014 13:40
push taskpaper and doing comparable actions into a markdown file, from command line input
#!/usr/bin/env python
import sys
import time
TODO_FILE = "/Users/ian/Dropbox/notes/todos/inbound_todos.md"
def string_to_taskpaper_item(input):
now = time.strftime("%Y-%m-%d %H:%M")
taskpaper_item = "\n\t- " + now + " | " + input + " @todo @ian"
return taskpaper_item
@IanMulvany
IanMulvany / set-job-description-elife.md
Last active August 29, 2015 14:08
elife SET engineer job description

Software Engineer -- Test (SET)

eLife is an innovative, open-access research journal covering the life and biomedical sciences. We are supported by three major funding agencies - the Wellcome Trust, The Howard Hughes Medical Institute and the Max Planck Society. In addition to publishing outstanding new research, eLife is also exploring new ways to present, organise and share scientific findings and ideas.

As part of our commitment to creating great tools for our researchers, we are seeking an excellent and passionate Software Engineer in Test (SET) to join our collaborative and success driven Digital Development team.

The primary responsibility of the SET role will be to create and maintain innovative automated test frameworks to verify eLife sites and APIs.

As SET, you’ll have gained automated testing experience in a busy agile development environment and have excellent problem solving and analytical skills. You'll have a great understanding of testing throughout the product lifecycle and will have