From 33b0a93f32481b099cfcc91ae39e57aa0f737334 Mon Sep 17 00:00:00 2001 From: lhark Date: Sat, 1 Oct 2022 21:59:28 +0200 Subject: [PATCH] Blender, jupyter, TLS, ls, java --- how_to | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/how_to b/how_to index 34f0ad0..f6dc3dc 100644 --- a/how_to +++ b/how_to @@ -1143,6 +1143,7 @@ Mounting .bin/.cue image files: Manual IMAP connection: # https://www.atmail.com/blog/imap-101-manual-imap-sessions/ # https://stackoverflow.com/questions/14959461/how-to-talk-to-imap-server-in-shell-via-openssl + # https://gist.github.com/fedir/1d8f8fb8a5f80090705ef7793936216a² $ openssl s_client -connect :993 -crlf [-quiet] $ openssl s_client -connect :143 -crlf -starttls imap [-quiet] @@ -1332,3 +1333,33 @@ Fix chromium microphone autogain (qutebrowser): # https://github.com/qutebrowser/qutebrowser/discussions/6628 # https://bugs.chromium.org/p/chromium/issues/detail?id=435112 + +Blender: + Display vertex indices (blender >= 2.8): + # https://blender.stackexchange.com/a/158495 + # https://devtalk.blender.org/t/how-to-enable-the-vertex-indices-overlay-over-each-vertex/15491/4 + - Edit > Preferences > Interface > Developer Extras (enable) + - Edit Mode + - Overlays (dropdown, top-right) > Indices (enable) (under: "Developer") + +Jupyter: + Clear notebook of output data for publishing: + # https://stackoverflow.com/a/47774393/5309963 + # In-place version + jupyter nbconvert --clear-output --inplace my_notebook.ipynb + # Or to write to a new file + jupyter nbconvert --clear-output \ + --to notebook --output=my_notebook_no_out my_notebook.ipynb + +Check SSL/TLS certificate expiration date: + echo | openssl s_client -servername -connect :443 2>/dev/null | openssl x509 -noout -dates + +List files in chronological order with ls: + # https://shkspr.mobi/blog/2020/12/anatomy-of-an-ls-command/ + ls -trhgGN --color=always | cut -d" " -f3- + +Change default java environment (archlinux): + # https://wiki.archlinux.org/title/Java#List_compatible_Java_environments_installed + archlinux-java status + # Example + archlinux set java-18-openjdk