This example takes olddisk.qcow2 and resizes it into newdisk.qcow2,
extending one of the guest's partitions to fill the extra space.
Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl. To do so, first retrieve the content information for the relevant file (or folder):
curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}
For private repositories, authenticate using your username and a personal access token
- Encrypted root partition
- AES-256 bit cipher
- Argon2id variant for PBKDF
- Sha3-512 bit hash
- rEFInd bootloader
- With dreary theme
- Optimal Settings (optimized for aesthetics, and boot time)
- Boot into backups thanks to refind-btrfs
This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkeyThis is the translation of my blog posts. You can find them here (in Russian).
Since this page is apparently the top result on google, Heres a link to how to do it.
https://martingladdish.co.uk/technology/setting-up-docker-under-qubesos/
That page has more detail, but here are the instructions in case its down.
- Install docker engine, following the instruction on https://www.docker.com. NOT DESKTOP as that wont work in Qubes (unless you enable nested virtualization)
- Варианты создания компонента (pureFunction, class, createElement)
- pureRender - знания принципа ререндера Реакт приложений при изменениях хранилищ, какие props приводят к неоправданному перерендеру, кеширование результатов функций
- Контейнер - его назначение, основные задачи, типовая структура
- Глупый компонент - его назначение, основные задачи, принцип разбиения на компоненты, функции
- React router - как создавать синхронный, асинхронный роутер, как отложить рендер компонента в Route на время загрузки, как работает функция match, как считывать параметры url ?q=1, #q=1 как их устанавливать при .
- Последовательность DOM render, последовательность вызова всех функций компонента, например componentDidMount, componentWillMount, componentWillReceiveProps и всех остальных. Как использовать ref, в какой момент он вызывается.
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
| # Create the container - we run 'echo' in the container, and reuse the same as we will be running later | |
| docker run -d -v /data --name redis.data dockerfile/redis echo Data-only container for Redis | |
| # the data container doesn't show up - nothing is running | |
| docker ps | |
| # will show 'redis.data', but as stopped | |
| docker ps -a | |
| # start redis, attach to 'redis.data' | |
| docker run -d -p 6379:6379 --volumes-from redis.data --name ca.redis.1 dockerfile/redis |