Skip to content

Instantly share code, notes, and snippets.

View DorianBDev's full-sized avatar
💻

Dorian Bachelot DorianBDev

💻
View GitHub Profile
@DorianBDev
DorianBDev / restore_grub_manjaro.txt
Created June 19, 2021 13:01 — forked from greginvm/restore_grub_manjaro.txt
Restore GRUB in UEFI + LVM + LUKS setup (Manjaro)
Setup: UEFI, LVM + LUKS encrypted drive
Bootloader: Grub
Links:
- https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader
-
Restore GRUB (boot into live env):
# get the encrypted partition (crypto_LUKS)
lsblk -f
### Keybase proof
I hereby claim:
* I am dorianbdev on github.
* I am dorianb (https://keybase.io/dorianb) on keybase.
* I have a public key whose fingerprint is EE51 ABC9 1F2B D2E8 8EB6 7666 42D7 82AF C6A8 FE39
To claim this, I am signing this object:
@DorianBDev
DorianBDev / DBWebKitCodeStyleGuidelines.md
Last active June 10, 2020 16:21
DBWebKit Code Style Guidelines

DBWebKit Code Style Guidelines

C++ coding style document, by Dorian'B.

This is a minor modification of the WebKit coding style document. We only changed :

  • Braces have always their own line (on the WebKit version this is true for the first bracket only for functions).
  • Comment style (minor).
  • We don't respect the else if statement interdiction of the WebKit version when returning a value.
  • Specific enum naming.
@DorianBDev
DorianBDev / WebKitCodeStyleGuidelines.md
Last active April 27, 2019 15:51
WebKit Code Style Guidelines (27/04/2019 version from https://webkit.org/code-style-guidelines/)

Code Style Guidelines

Indentation

Use spaces, not tabs. Tabs should only appear in files that require them for semantic meaning, like Makefiles.

The indent size is 4 spaces.

Right: