Monthly Archives: September 2025

Systemd configuration for Bitwarden

If you run Bitwarden eg. in Proxmox LXC you need to make sure Bitwarden start automatically. Create a configuration file in /etc/systemd/system/bitwarden.service with the following contents.

[Unit]
Description=Bitwarden
Requires=docker.service
After=docker.service

[Service]
User=bitwarden
Restart=on-failure
ExecStart=/opt/bitwarden/bitwarden.sh start
ExecStop=/opt/bitwarden/bitwarden.sh stop

# Script starts docker images and ends
Type=oneshot
RemainAfterExit=true

[Install]
WantedBy=default.target

Enable it, start it and check the logs.

systemctl daemon-reload
systemctl enable bitwarden
systemctl start bitwarden
journalctl -f -u bitwarden

svn

========================================
        Subversion (SVN) Cheatsheet
========================================

Checkout
  svn checkout URL [url]

Update working copy
  svn update

Commit changes
  svn commit -m "Changes description"

Working copy status
  svn status

Show diff
  svn diff

Show diff with colors (requires colordiff package)
  svn diff | colordiff

Add new file
  svn add file

Copy file
  svn copy file

Delete file
  svn delete file

Rename / move file
  svn move old_name new_name

Show log (history)
  svn log [file]

Revert local changes
  svn revert file
  svn revert -R directory (recursively)

Download Gravatar image from CLI

First you need to compute hash of your e-mail.

echo -n "[email protected]" | sha256sum

Than you can download it using curl. Replace HASH with the output from the previous command.

curl -fL "https://www.gravatar.com/avatar/HASH?s=500&d=404" -o avatar.jpg

Parameters

  • s=500 (Gravatar supports 1–2048px size)
  • d=404 (If there is no image return HTTP 404)
  • r=pg|r|x (To change rating)

See more information on Gravatar docs.