Browse Source

Blender, jupyter, TLS, ls, java

master
lhark 2 years ago
parent
commit
33b0a93f32
  1. 31
      how_to

31
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 <imap server>:993 -crlf [-quiet]
$ openssl s_client -connect <imap server>: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 <name.example.tld> -connect <example.tld>: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

Loading…
Cancel
Save