Skip to content

Instantly share code, notes, and snippets.

View martinfilliau's full-sized avatar

Martin Filliau martinfilliau

View GitHub Profile
@martinfilliau
martinfilliau / Makefile for LaTeX files
Created March 10, 2011 11:55
Simple script to generate a PDF from a LaTeX file.
# Makefile for LaTeX files
# file name without the .tex extension
FILE = proposal
all: pdf cleaninterimfiles
pdf:
@pdflatex $(FILE)
@bibtex $(FILE)
@martinfilliau
martinfilliau / index.html
Last active June 6, 2021 06:40
Example of widget using the JSONP feed from the new status.ox website. Status is refreshed every 60 seconds.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Status - University of Oxford</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
.status_code_0 {background-color:#039b0b;}
.status_code_1 {background-color: #b94a48;}
.status_code_2 {background-color: #f89406;}
li {padding:0.5em; margin:0.5em; list-style:none; width:20em; font-size:1.3em;}
@martinfilliau
martinfilliau / gist:5406037
Created April 17, 2013 17:07
Abbreviated _links of a resource
_links: {
self: {
href: "/places/atco:340000004G5"
},
hl:rti: {
href: "/places/atco:340000004G5/rti",
title: "Real-time information"
},
parent: {
href: "/places/stoparea:340G00003140",