Bashblog markdowns
previously on this bashblog-built blog, i couldn't find where bashblog was hiding the markdown source files for each post. i've since figured out that actually there was no markdown at all.
turns out bashblog depends
on
(the legendary) Markdown.pl
or some markdown
binary. since my
current tilde home doesn't host either, bb
was defaulting to html
source. i simply didn't notice because the placehold post body contains
barely any html tags, just a p
and a b
.
anyway, i downloaded
and extracted the daring original perl script and moved it to
~/bin
, and after a hash -r
, now ্bb post
starts up new posts in the
plain vanilla barebones version 1 markdown syntax. oh joy.
maybe tildes with bb installed could also include Markdown.pl or some markdown binary (like discount) for a full-featured bashblogging experience from the get-go. 😏
Tags: bashblog, text, linux, tilde, meta
password clipping
i have a dedicated clipboard manager and password manager, yet i keep losing generated passphrases.
it goes like this:
i'd made a simple password generator long ago:
alias genpw="gpg --gen-random 1 16 | gpg --enarmor | sed -n 4p"
i select its output and paste into whatever password field.
but then i forget to save it somewhere else, and immediately lose it by selecting some other text somewhere.
i thought of some overcomplicated system where primary selections are continously appended to a (gpg encrypted) file, but meanwhile i'm making do by just appending this to that passphrase generator pipeline:
| xclip -i -sel c
it's still pasteable, but with ctrl+v instead of middle-click.
yes there are far better solutions for all of this.