17 Matching Annotations
  1. Aug 2023
    1. To change the password later, run the htpasswd utility without the -c switch: sudo htpasswd /opt/bitnami/users USERNAME
    2. sudo /opt/bitnami/ctlscript.sh restart nginx
    3. location / { auth_basic "Restricted Area"; auth_basic_user_file /opt/bitnami/nginx/users; }
    4. sudo apt-get update sudo apt-get install apache2-utils sudo htpasswd -cb /opt/bitnami/nginx/users USERNAME PASSWORD
    5. Password-protect access to an application with NGINX
    1. Ctrl+A → Move cursor to the beginning of line Ctrl+C → Abort (send SIGINT to) current process Ctrl+D → Logout of a terminal session Ctrl+E → Move cursor to the end of line Ctrl+K → Delete from cursor to the end of line Ctrl+U → Delete from cursor to the beginning of line Ctrl+L → Clear the terminal Ctrl+Z → Suspend (send SIGTSTP to) current process Ctrl+W → Clear prompt before word (a word is a set of characters after a space) Ctrl+alt+C → Open new session (only works in Hacker's Keyboard)

      Useful to know these.

    1. Ctrl + b Spacebar

      I like to use Ctrl + b e to enable, and Ctrl + b E to disable, where E = Echo

    2. Ctrl + b Ctrl +

      + Arrow keys, to resize windows.

      I usually remap this to Alt, you can keep the modifier key pressed to resize more than once.

    3. Ctrl + b "

      Split pane with vertical layout

    4. Ctrl + b %

      Split pane with horizontal layout

    5. Ctrl + b w

      List windows, this also shows other sessions.

    6. Ctrl + b &

      Close window, although I change this one to be: Ctrl + b x

    7. Ctrl + b ,

      Rename current window.

    8. Ctrl + b )

      Move to next session

    9. Ctrl + b (

      Move to Previous Session

    10. Ctrl + b $

      Rename session shortcut.

    1. We’ve chosen to keep highlights private to avoid pages being cluttered by highlights that have no surrounding discussion. We understand that people may want to share highlights with others, and we think there are effective ways we can address that in the future.

      You would imagine that by now you would be able to share some of your highlights without having to add some weird annotation to it especially when you are trying to share it on a private group.

      it is also quite worrisome that the last time there was a comment about this it was in 2019. it is almost like there's no work or effort put into this one.

      so as much as there's a comment about "thinking of effective ways", there's no clear indication that there's some were going into it.