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 view
  • Markdown Plaintext Embed Permalink
  • 75/50 words 25s read

    I think someone asked. But is it possible to classically convert a into ? And the answer is yes, yes you can. The feats of programming know no end (it’s out of my explanatory scope, sorry).

    shell
    qpdf --json-output my.pdf my.json
    Creating a JSON representation of a PDF

    I’m finally realizing that in the stack link of this post, there’s actually an entry about “grepping” the device. Everything’s a file or something. It feels comical.

    #gists #programs
    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
  • 110/50 words 37s read

    A quick wrapper script for normalized git commit dates. Commit dates and timezones are normalized or truncated to the day. This is useful for avoiding rebasing and/or not having to think about system or git date/time settings when on another device or in another timezone. If precise timestamps matter, then it is easily disabled.

    shell
    #!/bin/sh -eu
    
    GIT=$(which git --all | grep --invert-match "local/bin" | head --lines 1)
    GIT_COMMITTER_DATE="$(date --utc --date '0' '+%a %b %d %H:%M:%S %Y %z')"
    
    export GIT_COMMITTER_DATE
    
    [ "${1:-}" = "commit" ] && export DATE=1 && $GIT "$@" --date="$GIT_COMMITTER_DATE"
    
    [ "${DATE:-}" = 1 ] && exit
    
    $GIT "$@"
    #gists #programs
    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
  • 46/50 words 15s read

    There’s truly nothing more liberating than deleting all of your work by mistake (or having it deleted). That’s why it never hurts to have multiple distribution (and backup) strategies. A newer way is invented every day:

    shell
    gcc -o delete-this-file.c
    #gists #web
    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
  • 60/50 words 20s read

    Why dabble with Firefox? Everything is customizable. How long will this be so? Who knows. , I have custom stylesheets that hide comments everywhere (Firefox/Chrome) among other things. “Experts” only?

    text
    about:debugging#/runtime/this-firefox
    Address for inspecting currently installed addons
    text
    chrome://browser/content/browser.xhtml
    URL for inspecting the browser chrome interface
    text
    toolkit.legacyUserProfileCustomizations.stylesheets true
    For custom stylesheets visit about:config and add (+) this boolean
    #gists #linux

    Authors

    Gallery

    Web Feeds (5)

    Web Links