Skip to content

Instantly share code, notes, and snippets.

View alexeckermann's full-sized avatar

Alex Eckermann alexeckermann

View GitHub Profile
@alexeckermann
alexeckermann / mastodon_profiles_signed.txt
Created August 30, 2018 02:19
Mastodon Profiles (Signed with PGP)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Mastodon Profiles
=================
@[email protected]
@[email protected]
@[email protected]
@alexeckermann
alexeckermann / model3.sh
Last active May 22, 2019 09:07
Australian Tesla Model 3 ordering watch
#!/bin/bash
# Execute this script to be notified when the Tesla Model 3 order page is available to Australia.
while true
do
echo -n `date`
STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" https://www.tesla.com/en_AU/model3/design)
@alexeckermann
alexeckermann / wwdc19.sh
Created June 4, 2019 04:31
WWDC 2019 replay video watch script
#!/bin/bash
# Execute this script to be notified when the WWDC 2019 replay video is available, maybe.
# Make sure this file is `chmod +x` to run in your Terminal.
while true
do
echo -n `date`
@alexeckermann
alexeckermann / README.md
Last active April 27, 2020 05:49
Experimental Typesetting Plugin for CKEditor 5

Experimental Typesetting in CK5

Context

Some of our content comes from a time before we had a stringent editor with a strict data normalisation model. So in some cases we have to deal with legacy content normalisation. In addition, there are some tools that will import content into the application that have yet to have the same strict data normalisation.

Problems

This experiment focusses on spacing with two distinct problems.

  1. Trailing non-breaking space characters in block elements. Whilst it sounds harmless it has caused printed documents (created by our application outside of CK) to unnecesarily overflow a line with a clear space causing a blank line.