Glance is an all-in-one macOS Quick Look plugin (source code, markdown, JSON, archives, Jupyter, etc.) with dark-mode support. It has no settings UI — the fonts/sizes are hardcoded in CSS inside the app bundle. You can edit them, but on Apple Silicon any edit invalidates the extension's code signature, so it must be re-signed correctly or macOS will silently stop loading the Quick Look extension.
Send a komoot tour straight to the other orange app — one tap, no subscription on either side. komootloose's mischievous sibling.
Click the bookmarklet while on the other app's website (logged in), paste a komoot tour link or ID — public and link-shared tours both work — and it rebuilds the tour as a native route in your account, then takes you straight to it. Everything runs in your browser with your own session; nothing is sent anywhere else.
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
| # ~/.config/ghostty/config | |
| # The syntax is "key = value". The whitespace around the equals doesn't matter. | |
| # Empty values reset the configuration to the default value | |
| # Comments start with a `#` and are only valid on their own line. | |
| # Blank lines are ignored! | |
| background = 000000 | |
| foreground = ebebeb |
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
| diff --git a/setup.py b/setup.py | |
| index 4e6d848..b20b920 100644 | |
| --- a/setup.py | |
| +++ b/setup.py | |
| @@ -11,7 +11,7 @@ with open(os.path.join(_BASE_DIR, 'README.md')) as readme_file: | |
| setup( | |
| name='boilerpy3', | |
| version=__version__, | |
| - python_requires='>=3.6.*', | |
| + python_requires='>=3.6', |
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
| defmodule ShortestReach do | |
| def main do | |
| IO.gets("") | |
| |> String.trim() | |
| |> String.to_integer() | |
| |> shortest_reach() | |
| end | |
| defp shortest_reach(0) do | |
| 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
| from openapi import get_redoc_html | |
| def serve_docs_route(): | |
| return get_redoc_html("openapi_url", "title") |
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
| with open("/usr/share/dict/words") as words: | |
| for word in map(str.rstrip, words): | |
| for letter in word: | |
| match letter: | |
| case "a" | "b" | "c" | "d" | "e" | "f": | |
| continue | |
| case _: | |
| break | |
| else: | |
| print(word) |
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
| fn main() { | |
| for shade in 0..242 { | |
| let opacity = 13f32 / (255f32 - shade as f32); | |
| println!("opacity:{:0.3};fill:#{:06x}", opacity, shade * 65793); | |
| } | |
| } |
NewerOlder