I hereby claim:
- I am petehamilton on github.
- I am petehamilton (https://keybase.io/petehamilton) on keybase.
- I have a public key whose fingerprint is 7809 8DC6 825F 4184 8139 C43B 0621 AE2E 2952 C17E
To claim this, I am signing this object:
/* | |
* We don't want to log each fetching of a value from a sequence, | |
* so we pre-log a few fetches in advance. In the event of | |
* crash we can lose (skip over) as many values as we pre-logged. | |
*/ | |
#define SEQ_LOG_VALS 32 |
// Copy the below into the browser's console on a Postfacto archive screen | |
(() => { | |
let components = [ | |
`## Postfacto archive: ${window.location}`, | |
]; | |
components = components.concat( | |
[ | |
{ title: 'It wasn\'t so great that...', points: $$('.column-sad .item-text').map((el) => el.innerText) }, |
(() => { | |
const groups = [].slice.apply(document.querySelectorAll('.issueContainer')) | |
.map((node) => { | |
return { | |
link: node.querySelector('.issue-info a').getAttribute('href'), | |
id: node. querySelector('.issueId').textContent.trim(), | |
title: node.querySelector('.issue-summary').textContent.trim(), | |
priority: node.querySelector('[title^="Priority: "]').textContent.trim(), | |
type: node.querySelector('[title^="Type: "]').textContent.trim(), | |
}; |
# Execute with: R --slave -f draw.r | |
library(maps) | |
library(mapdata) | |
library(foreach) | |
library(doParallel) | |
# Use the GoCardless font | |
par(family="Gotham-Book") |
#! /usr/bin/env bash | |
set -e | |
set -u | |
PRIVATE_KEY='private-key.pem' | |
PUBLIC_KEY='public-key.pem' | |
KEY_FILE="key.bin" | |
KEY_FILE_ENCRYPTED="key.bin.enc" | |
CSV_FILE='fixture-secret.txt' |
I hereby claim:
To claim this, I am signing this object:
var app = angular.module('testapp', ['ngRoute']); | |
app.config(function ($locationProvider) { | |
// $locationProvider.html5Mode(true); | |
}) | |
app.controller('MainCtrl', function ($scope, $location, $route) { | |
// Example URLs which should work on refresh | |
// |
#!/bin/bash | |
EXAMS_URL="https://exams.doc.ic.ac.uk/" | |
echo "##############################################" | |
echo "# Exam Results Checker" | |
echo "##############################################" | |
echo -ne "Username: " | |
read username | |
stty -echo |