- 2024 - 218 … 32 runs (over 2km) in total as of 3rd June
- 2023 - 449.1
- 2022 - 900.9 🥈
- 2021 - 573.6
- 2020 - 1,042.1 🥇
- 2019 - 167.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This has now been released as a real node-red module - node-red-contrib-xvfb - use that rather than copying code from here |
@johnmckerrell collecting a series of long videos that might be interesting to leave on in the space. For time lapses and possibly other overly short videos they could perhaps be run at a very low speed. The idea would be that you could leave these up and they wouldn't be distracting but might be interesting to stop and look at from time to time (so things that are simply videos of train or train journeys might actually end up too distracting).
- Space
- Starman https://www.youtube.com/watch?v=aBr2kKAHN6M
- 4k tour of the moon https://boingboing.net/2018/04/10/4k-tour-of-the-moon.html
- Space walks, not sure if these are available as recordings or just when they're live, e.g https://www.pscp.tv/w/bcwdKTIzODcyfDFuQUtFUkxhak9uR0wu7je4Uh2HVURm_OGGQS9e6ia-YQgxQxGCtKws1oLT7Q==
- Shipping time lapses
- https://www.youtube.com/watch?v=AHrCI9eSJGQ
- https://www.youtube.com/watch?v=h16zyxiwDLY
- Drake passage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple vi(m) wrapper that names your current screen based on files you open (then pwd when you quit) | |
IFS=$'\n\t' | |
echo -ne '\033k'"$*"'\033\\' | |
/usr/bin/vim $* | |
echo -ne '\033k'`pwd`'\033\\' | |
echo |
I hereby claim:
- I am johnmckerrell on github.
- I am mcknut (https://keybase.io/mcknut) on keybase.
- I have a public key whose fingerprint is BD3A 1B2D 20A3 38CA 69ED 5369 EF03 DA5D 02D7 587F
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# check-disk-usage.sh | |
# John McKerrell 2014 | |
# | |
# Basic script that pops up a notification if disk usage | |
# on a given device is over a given figure. Could be run | |
# in a cronjob for instance as: | |
# check-disk-usage.sh sda1 95 | |
DISK="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char serialFormat = { 'M', 'K', 'E', 'W', 'D', ' ', ' ', ' ', ' ', 'D', 'W', 'E', 'K', 'M' }; | |
int preambleStopIndex = 4; | |
int postambleStartIndex = 9; | |
int formatLength = 13; | |
int valueLength = 4; | |
void loop() { | |
int formatIndex = 0; | |
char value[valueLength] = { 0, 0, 0, 0 }; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDictionary *params = @{ | |
@"vals" : @{ | |
@"flip" : @"1", | |
@"mirror" : @"0" | |
} | |
}; | |
NSString *flipCommand = @"command.cgi?flip={self.vals.flip}&mirror={self.vals.mirror}" | |
[flipCommand stringByMagicallyApplyingKeyPathsToADictionary:params]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns hangman.core | |
(:gen-class) | |
(:require [clojure.string :as str])) | |
(defn is_char_in_words? | |
"Is the char in the words?" | |
[ch words] | |
(if (= ch "") | |
false | |
(> (.indexOf words ch) -1) |
NewerOlder