Skip to main content
tdro

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro micro.thedroneely.com (edited) view
  • Markdown Plaintext Embed Permalink
  • 88/50 words 29s read

    It’s amusing the sort of easter eggs found hiding in open source code. I’ve been playing around with farzher/fuzzysort, a fast fuzzy search picked up from the Stack Overflow fuzzy search tag.

    On line 27 and 40 there’s a horizontal off–screen scroll easter egg.

    javascript
    if(search=='farzher')return{target:"farzher was here (^-^*)/",score:0,_indexes:[0]}
    if(search=='farzher')return[{target:"farzher was here (^-^*)/",score:0,_indexes:[0],obj:targets?targets[0]:NULL}]

    Yes, I happen to be one of those who read the code eventually. And obviously, it goes without saying, no one person reads all the code. But it’s the Internet, can’t be too sure ;)

    #gists
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 58/50 words 19s read
    Distributed is the new centralized.

    You can never be too sure anymore..

    shell
    $ git remote -v
    all             cgit@thedroneely.com:thedroneely/dotfiles (fetch)
    all             git@codeberg.org:tdro/dotfiles.git        (push)
    all             git@github.com:tdro/dotfiles.git          (push)
    all             cgit@thedroneely.com:thedroneely/dotfiles (push)
    all             git@gitlab.com:tdro/dotfiles.git          (push)
    codeberg.org    git@codeberg.org:tdro/dotfiles.git        (fetch)
    codeberg.org    git@codeberg.org:tdro/dotfiles.git        (push)
    github.com      git@github.com:tdro/dotfiles.git          (fetch)
    github.com      git@github.com:tdro/dotfiles.git          (push)
    gitlab.com      git@gitlab.com:tdro/dotfiles.git          (fetch)
    gitlab.com      git@gitlab.com:tdro/dotfiles.git          (push)
    thedroneely.com cgit@thedroneely.com:thedroneely/dotfiles (fetch)
    thedroneely.com cgit@thedroneely.com:thedroneely/dotfiles (push)
    Taking bets
    #gists
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 115/50 words 38s read
    There’s this cool python script chromexup that allows declaratively managing chromium based extensions.

    Basically setup the configuration in the right place, find the extension id from the Chrome web store and run chromexup.

    ini
    [main]
    branding           = chromium
    remove_orphans     = True
    parallel_downloads = 4
    
    [extensions]
    BlankNewTabPage   = jaadjnlkjnhohljficgoddcjmndjfdmi
    JavaScriptToggle  = cdcgbgnfhhdmdkallfmlachogpghifgf
    NoHistory         = ljamgkbcojbnmcaonjokopmcblmmpfch
    ~/.config/chromexup/config.ini

    Side note: NoHistory is good for disabling history (Firefox has options). If the history/bookmarks database gets too large, funky auto–suggestion stuff can happen (100% processor usage). , it’s best not to trust browsers storing bookmarks anyway and use an independent tool/method. The less data coupled to browsers the better — at least if you’re like me and swap browsers regularly.

    #gists
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 61/50 words 20s read

    Different words similar meaning? --references is NixOS speak for direct package dependencies. --requisites list all. These work with the nix-store command.

    shell
    $ readlink --canonicalize "$(type -P which)"
    /nix/store/r78jv9xgxnvsm5vpasf5ldkc28pkri6r-which-2.21/bin/which
    
    $ nix-store --query --references /nix/store/r78jv9xgxnvsm5vpasf5ldkc28pkri6r-which-2.21
    /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163

    which directly depends on glibc. Swap --references to --referrers for paths pointing to which.

    On Guix, list/draw dependencies with guix graph.

    shell
    guix graph --type=references which
    #gists #linux

    Authors

    Gallery

    Web Feeds (6)

    Web Links