Skip to content

Instantly share code, notes, and snippets.

View shundhammer's full-sized avatar
▫️
.

Stefan Hundhammer shundhammer

▫️
.
View GitHub Profile

When there are a lot of encrypted devices, the user is asked to provide the password for every LUKS. This can be very annoying in some typical cases. For example, if the user only wants to activate one device, or if all devices use the same password.

Possible use cases

  • Accept password for the current luks
  • Accept password for the current luks and try to activate next lukes with the same password.
  • Cancel activation of the current luks
  • Cancel activation of the current and next lukses

The popup to ask for the password should provide options to cover such use cases.

@mkaraki
mkaraki / install_ffmpeg_codec_for_opera.sh
Created February 15, 2020 10:09
Install ffmpeg codec for Opera in Linux (Ubuntu)
#!/bin/bash
# for Ubuntu
# Install pre-requirements
sudo apt-get update
sudo apt-get install -y chromium-codecs-ffmpeg-extra
# Import to opera
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so