The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, | |
"vertical_offset": 0, |
{ | |
"schemes" : | |
[ | |
{ | |
"background" : "#fafafa", | |
"black" : "#000000", | |
"blue" : "#3199e1", | |
"brightBlack" : "#686868", | |
"brightBlue" : "#399ee6", | |
"brightCyan" : "#4cbf99", |
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
/** | |
* Cryptography Functions | |
* | |
* Forked from AndiDittrich/AesUtil.js | |
* https://gist.github.com/AndiDittrich/4629e7db04819244e843 | |
*/ | |
import crypto, { CipherGCM, CipherGCMTypes, DecipherGCM } from 'crypto'; | |
import { Password } from './types'; |
This guide is based on the hibernate article from the Arch wiki.
/etc/default/grub
and add resume
as well as resume_offset
kernel parameters
resume=UUID=abcd-efgh
contains the UUID of the partition on which the swapfile resides. In most cases the swapfile
resides in root
, to identify the root
parition's UUID run blkid
or lsblk -O
.resume_offset=1234
is the offset of the swapfile from the partition start. The offset is the first entry in the physical_offset
column of the output of filefrag -v /swapfile
.grub-mkconfig -o /boot/grub/grub.cfg
GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=75972c96-f909-4419-aba4-80c1b74bd605 resume_offset=1492992"
resume
module hook to /etc/mkinitcpio.conf
:
HOOKS="base udev resume autodetect ...
mkinitcpio -p linux