home.social

Search

1000 results for “olets”

  1. Released zsh-abbr v6.5.0. Most notably, the command line-processing features that let it expand text and place the cursor as you type are now available outside the plugin.

    abbr-expand-line processes text input and populates an associative array with data that can answer questions like "would zsh-abbr expand an abbreviation?" and "what would the LBUFFER and RBUFFER be like after hitting the spacebar".

    abbr-set-line-cursor does the work of zsh-abbr's opt-in "if text didn't expand, move the cursor to a marker" feature.

    Technically a refactor, but for would-be extension authors it should open doors.
    Docs: zsh-abbr.olets.dev/extending.h

    #zsh #zshabbr #commandline #terminal #cli

  2. Released two zsh-abbr features I'm excited about last week (v6.4.0):

    You can customize the abbreviation delimiters (with caveats, makes it possible to expand abbreviation inside parenthesis and quotation marks). Write-up: github.com/olets/zsh-abbr/pull

    And you can expand "regular" abbreviations in command position anywhere on the line not just in the first command position (experimental opt-in). Write-up: github.com/olets/zsh-abbr/pull

    #zsh #ZshAbbr #terminal #CommandLine #TextExpansion #DevTools

  3. New article: "Picture-in-picture GoPro videos with GPS video overlay"

    A write-up of how I use ffmpeg and GPX Animator to create videos with two picture-in-picture overlays.

    olets.dev/posts/picture-in-pic

    #GoPro #FFMpeg #GPS #OutriggerCanoe

  4. New article: "The command line (mostly Git) abbreviations I rely on"

    I'm all about saving keystrokes. Common CLI tasks are an easy target. I use abbreviations (CLI text expansion) but many of these will work as aliases too.

    Between the lack of algorithm and my not making money off visits, you can believe me when I say it's worth a click just to see this hero image — "A fat hunchbacked man with two large warts on his nose with hairs growing out, admires his fashionable wig in a hand-mirror; a grinning barber trims his wig in front of a table on which there are various hair-dressing appliances"— unobscured by text.

    olets.dev/posts/the-command-li

    #zsh #FishShell #git #CLI #abbreviation #alias #CommandLine #DX

  5. Released a new major version of my zsh theme, Hometown Prompt.*

    v4.0.0 adds scheduled refresh (the prompt content can update every x seconds) and transient prompt (the prompt trims down to just the essentials after you hit Enter)

    * Hometown Prompt the zsh theme is unrelated to Hometown the Mastodon fork. It was named years before I knew the fediverse

    hometown-prompt.olets.dev/

    #zsh #shell #CommandLine #prompt #ZshTheme

  6. Wrote another custom elements (aka web components) article: "From Stimulus to web components"

    I've done a lot with Stimulus, 37signals's small framework for adding JS enhancement to otherwise static HTML, and until recently had not done a lot with web components.

    Stimulus controllers are JS classes with a few special properties. Writing them exercises vanilla JS chops. Web components controllers are JS classes with a few special properties. Writing them exercises vanilla JS chops. To see if Stimulus experience is good preparation for web components (it is), I tried recreating some of Stimulus's core features as a web component

    olets.dev/posts/from-stimulus-

    #JS #SSG #WebComponents #stimulus #hotwire

  7. New article: Per-page dynamic social metas in VitePress

    VitePress's `head` config can add site-wide static `<meta>`s. But I want social previews to show page-specific content. That’s more involved. Here’s my solution.

    olets.dev/posts/per-page-dynam

    #VitePress #OpenGraph #FrontEnd

  8. v6 of zsh-abbr, the zsh manager for auto-expanding abbreviations, is out 🎉Excited to ship a bunch of new features

    Highlights:

    🆕 History: optionally save abbreviations to your shell history
    🆕 Prefixes: strings and globs that can precede regular abbreviations. Now you can `sudo <my regular abbreviation>`
    🆕 Reminders: optionally get "you could have used your abbreviation …" notices

    zsh-abbr.olets.dev/

    #ZshAbbr #zsh #shell #terminal #CLI
    #command_line #command_line_utilities

  9. Fixed a long-standing color contrast problem on my website 🎉

    Been using (h/t @KiwiKilian) remark-shiki-twoslash as an @eleventy v3 replacement for eleventy-plugin-shiki-twoslash to highlight syntax in Markdown code blocks.

    But it's stuck on an old Shiki version with no accessible themes. So I forked it!

    @olets/eleventy-plugin-shiki-twoslash has high contrast themes and supports Eleventy 3. (CJS->ESM side quest: createRequire)

    github.com/olets/shiki

    #shiki #eleventy #FrontEnd #a11y

  10. git-random is a tool I wrote to help with learning to rewrite Git history. It simplifies building commit histories, giving you something to practice on.

    It was an unpublicized rough draft for years. Now I’ve polished it, added some additional features I wanted when I was learning (create multiple commits with one command; create commits which will trigger conflicts), and built a docs site with @vite VitePress

    git-random.olets.dev/

    #git #shellscript #CLI #VitePress

  11. Noticed today that git-prompt-kit.olets.dev/ has had two zero-second "visits” from one “visitor” in “Belgium” every three hours on the hour since March 1. Should I be concerned? #cybersecurity #domainnamesystemattack #domainvulnerability

  12. Noticed today that git-prompt-kit.olets.dev/ has had two zero-second "visits” from one “visitor” in “Belgium” every three hours on the hour since March 1. Should I be concerned?

  13. Noticed today that git-prompt-kit.olets.dev/ has had two zero-second "visits” from one “visitor” in “Belgium” every three hours on the hour since March 1. Should I be concerned? #cybersecurity #domainnamesystemattack #domainvulnerability

  14. “Trying Out Bun For Node.js Package Management”

    olets.dev/posts/trying-out-bun

    I used Bun as the package manager for my fluid typography Tailwind plugin’s #VitePress docs site tailwindcss-fluid-font-size.ol. Dependency installation was _fast_! Then I tried it on an @eleventy site. Dependency installation was _slow_, maybe because of `eleventy-image`’s sharp dependency? I’ll see how it goes on the next project.

    #FrontEnd #PackageManagement #NodeJS

  15. Laitoin vanhan pyörivän varmuuskopiolevyn kiinni koneeseen piiitkästä aikaa. Levy on windows ajalta ntfs alustuksella. Nyt se ei suostu mounttaamaan linuxilla kun on "dirty" ja suosittelee ajamaan windowsilla checkdiskin.

    Mistä sitten mieleen, pitäisiköhän se päivittää uuteen levyyn kun saa käyntiin. Onko suosituksia tai vältettäviä nykyään? Olikos se AI iskeny jo pyörivien levyjenkin hintoihin?

    #atk #varmuuskopiointi #LinuxFi

  16. Sunnuntaina kisattiin hyroxin virallisissa kisoissa helsingin messukeskuksessa. Vaikka sinne ei mitään sijoituksia mentykään hakemaan, oli voitto silti meidän, koska suoritus onnistui täysin ja alle 1,5 tuntiin. Juoksuvauhti pysyi tasaisena alusta loppuun ja pisteet suoritettiin ilman virheitä ja häsläämistä.
    Vaikka juoksu ei olekkaan meidän vahvuus, pisteiden suoritusvauhdissa oltiin kuitenkin top 30% vauhdissa 💪.
    Aika 1:28:16

    #hyrox #hyroxsuomi #crossfit #urheilu

  17. Sunnuntaina kisattiin hyroxin virallisissa kisoissa helsingin messukeskuksessa. Vaikka sinne ei mitään sijoituksia mentykään hakemaan, oli voitto silti meidän, koska suoritus onnistui täysin ja alle 1,5 tuntiin. Juoksuvauhti pysyi tasaisena alusta loppuun ja pisteet suoritettiin ilman virheitä ja häsläämistä.
    Vaikka juoksu ei olekkaan meidän vahvuus, pisteiden suoritusvauhdissa oltiin kuitenkin top 30% vauhdissa 💪.
    Aika 1:28:16

    #hyrox #hyroxsuomi #crossfit #urheilu

  18. Sunnuntaina kisattiin hyroxin virallisissa kisoissa helsingin messukeskuksessa. Vaikka sinne ei mitään sijoituksia mentykään hakemaan, oli voitto silti meidän, koska suoritus onnistui täysin ja alle 1,5 tuntiin. Juoksuvauhti pysyi tasaisena alusta loppuun ja pisteet suoritettiin ilman virheitä ja häsläämistä.
    Vaikka juoksu ei olekkaan meidän vahvuus, pisteiden suoritusvauhdissa oltiin kuitenkin top 30% vauhdissa 💪.
    Aika 1:28:16

    #hyrox #hyroxsuomi #crossfit #urheilu

  19. Sunnuntaina kisattiin hyroxin virallisissa kisoissa helsingin messukeskuksessa. Vaikka sinne ei mitään sijoituksia mentykään hakemaan, oli voitto silti meidän, koska suoritus onnistui täysin ja alle 1,5 tuntiin. Juoksuvauhti pysyi tasaisena alusta loppuun ja pisteet suoritettiin ilman virheitä ja häsläämistä.
    Vaikka juoksu ei olekkaan meidän vahvuus, pisteiden suoritusvauhdissa oltiin kuitenkin top 30% vauhdissa 💪.
    Aika 1:28:16

    #hyrox #hyroxsuomi #crossfit #urheilu

  20. Sunnuntaina kisattiin hyroxin virallisissa kisoissa helsingin messukeskuksessa. Vaikka sinne ei mitään sijoituksia mentykään hakemaan, oli voitto silti meidän, koska suoritus onnistui täysin ja alle 1,5 tuntiin. Juoksuvauhti pysyi tasaisena alusta loppuun ja pisteet suoritettiin ilman virheitä ja häsläämistä.
    Vaikka juoksu ei olekkaan meidän vahvuus, pisteiden suoritusvauhdissa oltiin kuitenkin top 30% vauhdissa 💪.
    Aika 1:28:16

    #hyrox #hyroxsuomi #crossfit #urheilu

  21. Tuntuu että nuo garminin sykevyöt on kyllä kulutustavaraa, 2-4 vuoden välein aina jotain häikkää. Tälä kertaa pätkii niin, että 20 min työmatkalla 6 minuuttia oli syketieto.

    Oliskohan uusin malli jo kestävämpi, missä vaihdettava vyö-osa/irrotettava yhksikkö.
    Ja just ens viikonloppuna olis hyrox-kisat, mihin ehkä haluaisin vyömittauksen.

    #garmin

  22. Käytin pari sairaspoissaoloa hyödyksi ja aloitin Dockerin opiskelun mooc-kurssin itseni iloksi.
    Kohtuu yksinkertaiselta vaikuttaa perushommat.

    #opiskelu #atk