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. @oletsu näinhän se on, mutta täytyy vaan seurata kuka tusta hyötyy. Apeilla pystyy keräämään dataa ja ampumaan mainoksia suoraan käyttäjän laitteeseen.

    Vastenmielinen kehityssuunta, mutta ihmismieli on sellanen että muutaman euron alennuksen vuoksi moni on valmis luopumaan palasta yksityisyyttään.

    #tietokonekulttuuri #yksityisyys

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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?

  10. 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

  11. 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

  12. 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

  13. 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

  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. 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

  16. 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

  17. 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/


  18. 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

  19. 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