Skip to content

Instantly share code, notes, and snippets.

View wbso's full-sized avatar
🎯
Focusing

Tegar Wibisono wbso

🎯
Focusing
  • Yogyakarta
  • 17:21 (UTC +07:00)
View GitHub Profile
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 15,
"editor.fontFamily": "Consolas",
"editor.tabSize": 2,
"editor.wordWrapColumn": 80,
"editor.fontLigatures": true,
"editor.snippetSuggestions": "top",
"editor.minimap.enabled": true,
"files.exclude": {
@wbso
wbso / cryptsetup.md
Created June 22, 2017 19:07
cryptsetup

cryptsetup -v --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 5000 --use-random --verify-passphrase luksFormat device

cryptsetup luksOpen /dev/sdd1 dm-disk

mkfs -t ext4 /dev/mapper/dm-disk

cryptsetup luksClose dm-disk sync