Blog posts about Code
You can power wash this blog post
Published
š”Try!
Eye contact warnings
Published
Iām sooooooooooo glad Iāve learnt about these
Since Iāve joined Tech.LGBT Iāve come to learn about various content warnings. One such warning that I hadnāt realised I wasnāt giving for my own website was for eye contact - I had a giant selfie photo in my posts list! Iāve since fixed that: see git commit here .
A World with No Secrets
Published
First TravisCI, now CircleCI
Well, shit. CircleCI was breached. Or was it only āaccessedā?Ā They havenāt confirmed a breach yet, but Iām sure weāll all know once they know, Iām confident of that at least.
Removing Google Analytics
Published – last updated
āPlease disable JavaScript to view this siteā ā Heydon Pickering
Iāve been following the glory that is Heydon Pickering (@heydonworks) moving their WHOLE SITE into a
<noscript>element and showing users a very simple message:Pretty and random animated blog post images
Published – last updated
but now Iām not using them any more :(
I recently made a small change to my blog list page by showing images in the list, to provide a clearer identifier for posts you may have already read. But not every post has an image, so what could I show for a default? Ooh, how about a random gradient?
lol I made my own component framework
Published – last updated
why did I do this (oh yeah because of the pandemic)
This website is a playground for me, so I decided to rewrite my Blog Admin code to use Web Components. It worked, and I liked it! š But then I didnāt: writing HTML in JavaScript strings isnāt great. Why canāt we have both HTML and JavaScript defined in the same file and encapsulated separate from the rendered page?
Class getters vs methods in vanilla JS
Published
when debugging them
Using class getters is really easy with the help of TypeScript. Kinda makes me feel like Iām writing Ruby!
iPadOS cursor on the web
Published
just because itās fun!
Are Apple good at designing UIs (User Interfaces)? Should a touch device only be a touch device? Or is it time for more precision and control that doesnāt cost over Ā£100 and isnāt a pencil?
Double exposure random generator is back online!
Published
Thatās right, itās back!
Iāve replaced https://lorempixel.com with https://picsum.photos, which serves with CORS headers so the browser will let us play with and display the images through JavaScript.