- Create a sqlite timestring with
date:
date +'%Y-%m-%d %H:%M'
- Read text file into a blob:
| # Use find and file to crawl for files with mime-type image/jpeg or image/png. | |
| # Awk isolates file names. | |
| # rjgpcom gets comments, if any. | |
| # jo wraps everything up into json for jsongallery. | |
| # | |
| # https://jpmens.net/2016/03/05/a-shell-command-to-create-json-jo | |
| # https://github.com/mariobox/jsongallery | |
###Make prtscreen work, as long as in ratpoison mode. "import" is an Imagemagick command.
bind Print exec import -window root png:$HOME/xwd-$(date +%s)$$.png
This is from https://en.wikibooks.org/wiki/Using_Ratpoison/Example_Config
mutt -e 'set content_type=text/html' -s 'subject' recip@host.com < file.html
Create in ~/.mutt/pass with contents:
set my_pass = "password"
Encrypt the file: