Skip to content

Instantly share code, notes, and snippets.

View rogerhutchings's full-sized avatar
🚂
All change

Roger Hutchings rogerhutchings

🚂
All change
  • Oxfordshire, UK
  • 11:18 (UTC)
View GitHub Profile
@rogerhutchings
rogerhutchings / wm.js
Created July 25, 2024 08:54
TamperMonkey script for WM
// ==UserScript==
// @name WM modal no more
// @namespace http://tampermonkey.net/
// @version 2024-07-25
// @description try to take over the world!
// @author You
// @match https://support.walkme.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
@rogerhutchings
rogerhutchings / download_subject_set.sh
Last active February 6, 2020 11:09
Handy scripts for subject set management
#!/bin/bash
set -e
# Downloads a subject set and writes it to a text file.
#
# Takes a subject set ID as an argument.
#
# Example usage:
# $ ./download_subject_set.sh 1234
@rogerhutchings
rogerhutchings / task_template.xml
Last active January 20, 2020 17:45
Task template for Clickworker
<task_template>
<code>1715labs_thales_test_1</code>
<name>Thales - Phase 2</name>
<titles>
<en>Animal detection from aerial images</en>
</titles>
<descriptions>
<en>In this project, you need to need to look for animals in these aerial photographs. If you find any, draw a bounding box around them.</en>
</descriptions>
<product>
@rogerhutchings
rogerhutchings / getGradientShade.js
Last active October 28, 2019 11:37
Create gradient bg
const { parseToRgb, rgb } = require('polished')
function getGradientShade (hex) {
const color = parseToRgb(hex)
color.red = overlay(color.red)
color.green = overlay(color.green)
color.blue = overlay(color.blue)
return rgb(color)
}
@rogerhutchings
rogerhutchings / README.md
Last active May 26, 2020 09:20
Total number of projects released per year on the Zooniverse

Originally a static chart for an MW17 paper, brought to glorious D3 life.

The chart itself can be exported as an SVG by clicking the Download SVG button.

@rogerhutchings
rogerhutchings / cloud-config.yml
Created August 27, 2018 20:02
RancherOS cloud-config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDcer2k8bgrodV4T0q8SAZR+ABK3CLJAHj8trePWEH5kBYSrZMOE0TD9BqU+RjvnhdJKvpymHVIfK8rADPIj0LLjY+bZkCjXF71Pv9BHDaEyP3lzflp8EXEfP8Cp5Nhyx2UhMJtJDfAZkyVu7IwN/N1szbEakMP50Gy49xHGlEX9HVY8S1HunM13FzvtrqMn9/eX5f5docIDIFQPNDgaBp0NgZRPPSm1B2OiXLwBBrb6WDmUNrFhVI0UrcLipmkDcU6SIDk9bbK0XdUKCdIc/4TNunionBeP2PIYsDM7bjYozX5GxNUGZOa7YxctLMSOIJORXmLx2g5dr0hZRuzLVgsnc+Kr/yHg5k9PQkZSeAJjPkEn8XBCFq77bWadNE6zTYLe4gLnJylTuiJfvTADRGOm96aH22Uyaftnw82SKm8N6gSkuQr19PWZDQAVfwtcC/nvCK64Z8MlAxeYdchHrD65LiPuXDHv8S4xhO5O6SJWUmlpb5h8tjsruGqDLLye5dIEI5QnBZ/DyvVwwjXKd6x6vw0waaqjpze+xUmK2S8wuSAj8dL8hXfr25bvVBPiExdn388ufecAxTqiuOP0NiHVRQdNx8yRY0W/p6iLuH+hnXeGsNfcxfek5U0SUyN8r564R1S71Fv1QOT9RSJ13rthzXH+m08bvqSxSc6poNTCw== [email protected]
@rogerhutchings
rogerhutchings / test-bear.csv
Created October 22, 2015 13:14
Example manifest for testing bug in Panoptes-Front-End (#1280)
id image group subgroup vessel year pageNumber
0 Bear-1899-0001-0.JPG The_Arctic_Frontier Navy Bear 1899 0
1 Bear-1899-0001-1.JPG The_Arctic_Frontier Navy Bear 1899 1
2 Bear-1899-0002-0.JPG The_Arctic_Frontier Navy Bear 1899 2
3 Bear-1899-0002-1.JPG The_Arctic_Frontier Navy Bear 1899 3
4 Bear-1899-0003-0.JPG The_Arctic_Frontier Navy Bear 1899 4
5 Bear-1899-0003-1.JPG The_Arctic_Frontier Navy Bear 1899 5
6 Bear-1899-0004-0.JPG The_Arctic_Frontier Navy Bear 1899 6
7 Bear-1899-0004-1.JPG The_Arctic_Frontier Navy Bear 1899 7
8 Bear-1899-0005-0.JPG The_Arctic_Frontier Navy Bear 1899 8
@rogerhutchings
rogerhutchings / zooniverse_filters.xml
Last active October 14, 2015 10:00
Zooniverse Mail Filters
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:1431075302899,1432223516644,1432286287136,1444816741420</id>
<updated>2015-10-14T09:59:09Z</updated>
<author>
<name>Roger Hutchings</name>
<email>[email protected]</email>
</author>
<entry>
<category term='filter'></category>

Keybase proof

I hereby claim:

  • I am rogerhutchings on github.
  • I am rogerhutchings (https://keybase.io/rogerhutchings) on keybase.
  • I have a public key whose fingerprint is A651 B352 22BC D264 95DE EA57 2914 4748 71DC 7CF1

To claim this, I am signing this object:

@rogerhutchings
rogerhutchings / README.md
Last active August 29, 2015 14:01
Whitelines #1