This file contains hidden or 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
| #!/usr/bin/env python3 | |
| """Add tabular figures (tnum) to a wght-only variable font. | |
| Tabular width tracks the width of `zero` at every weight, so the new glyphs | |
| reuse zero's HVAR entry and stay correct across the whole axis. | |
| """ | |
| import sys | |
| from fontTools.ttLib import TTFont | |
| from fontTools.ttLib.tables import otTables as ot | |
| from fontTools.ttLib.tables._g_l_y_f import Glyph, GlyphComponent |
This file contains hidden or 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
| [action="/post_like"] { | |
| display: none; | |
| } | |
| a:hover { | |
| text-decoration: underline !important; | |
| text-decoration-thickness: 2px !important; | |
| } | |
| img[style="width:100%"] { |
Needs: cheerio npm module (in node-red addon config), and the HACS node-red companion (then install the integration).
This file contains hidden or 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
| // ==UserScript== | |
| // @name Amazon UK Search Highlighter | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description Highlights search terms in Amazon results | |
| // @match https://www.amazon.co.uk/s* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
This file contains hidden or 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
| def findLargest($n): | |
| . as $_ | | |
| .[0:(if $n == 1 then length else 1-$n end)] | max as $max | | |
| $_ | index($max) as $index | | |
| if ($n - 1) > 0 then | |
| [$max] + ($_[$index+1:] | findLargest($n-1)) | |
| else | |
| [$max] | |
| end |
This file contains hidden or 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
| [inputs | split(",")] | flatten | map(select(. != "")) | # format | |
| def repeatstr($offset; $n): | |
| .[0:$offset] as $val | | |
| [range($n) | $val] | join("") | |
| ; | |
| def invalid: | |
| . as $value | | |
| length as $length | |
This file contains hidden or 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
| // Configuration | |
| const CONFIG = { | |
| blueskyDid: 'YOUR_BSKY_DID', // can be looked up here https://ilo.so/bluesky-did/ | |
| mastodonToken: 'YOUR_TOKEN_HERE', | |
| mastodonInstanceUrl: 'YOUR_INSTANCE_URL', // e.g., 'https://front-end.social' - defaults to mastodon.social if empty - no trailing slash | |
| production: true // Set to false for just logging instead of posting | |
| }; | |
| // WebSocket connection to Bluesky Jetstream | |
| const ws = new WebSocket( |
Yes 🐎 — the seahorse emoji is 🐠🐚🐎 no wait — sorry — the actual seahorse emoji is 🐎—no— correction: 🐴—no—okay final: 🐠 oh god no— 😂
The correct seahorse emoji is 🪸🐚 no wait— okay, for real: 🪼—no!
✅ 🪸 no—final answer: 🐎—no—argh.
Let’s be precise:
✅ 🪸 no.
This file contains hidden or 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
| @media (min-width: 721px) { | |
| .card-grid { | |
| gap: 0.8rem; | |
| } | |
| .card { | |
| width: calc(80vw / 4); | |
| } |
NewerOlder