.
├── ansible.cfg
├── hosts.yml
├── site.yml
├── roles/
This is a full guide for people who wanted to set up Windows 10/11 VM with QEMU/KVM hypervisor enhancements for a laptop that is configured with hybrid graphics card like Intel/AMD + NVIDIA. This process will take about 1 to 2 hours, depending on your system's performance and your patience =)
There is another comprehensive guide you can follow here (shoutout to asus-linux team who made supergfxctl which is a very important tool for this guide). It is more up-to-date than mine. I would probably incorporate those information into my guide, but you are welcome to use this one as a reference!
- This guide is exclusively for Fedora users because this distro is quite different to set up than other distro such as Arch. I would say Arch is easier to setup than Fedora, but sometimes you like to use Fedora than Arc
Download the miniroot tarball from the Alpine website and then add it to a Docker image:
FROM scratch
ENV ALPINE_ARCH x86_64
ENV ALPINE_VERSION 3.9.1
ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
CMD ["/bin/sh"]
aws:CurrentTime—To check for date/time conditions.aws:EpochTime—To check for date/time conditions using a date in epoch or UNIX time.aws:TokenIssueTimeThis is the date and time that temporary security credentials were issued and can be used with date/time conditions. (Note: This key is only available in requests that are signed using temporary security credentials. For more information about temporary security credentials, see Temporary Security Credentials.)aws:principaltype—To check the type of principal (user, account, federated user, - etc.) for the current request.aws:SecureTransport—To check whether the request was sent using SSL. For services - that use only SSL, such as Amazon RDS and Amazon Route 53, the aws:SecureTransport - key has no meaning.aws:SourceArn—To check the source of the request, using the Am
| #!/bin/bash | |
| #kcpasswordEncode (20220610) Copyright (c) 2021 Joel Bruner (https://github.com/brunerd) | |
| #Licensed under the MIT License | |
| #given a string creates data for /etc/kcpassword | |
| function kcpasswordEncode () ( | |
| #ascii string | |
| thisString="${1}" |
This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file.
- https://simpleit.rocks/linux/ubuntu/difference-suspend-hibernate-call-command/#tldr
- https://github.com/FrameworkComputer/linux-docs/blob/main/hibernation/hibernate-fedora-manual-method.md#manual-guide-configuring-lid-close-and-hibernate-settings-on-linux-not-fedora-official
- https://github.com/FrameworkComputer/linux-docs/blob/main/hibernation/hibernate-fedora-automatic.md#fedora-41-hibernation-option-not-fedora-official-beta
- https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate
| #!/bin/bash | |
| set -e | |
| # Script to download individual RPM files from Amazon Linux 2023 repositories | |
| # | |
| # sudo yum install -y sqlite | |
| # | |
| # Usage: ./download-al2023-rpm.sh <package-name> | |
| # Globals |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>WikiMD</title> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/marked.min.js"></script> | |
| <style> | |
| * { |
| #cloud-config-archive | |
| # vim:syntax=yaml | |
| - type: "text/cloud-config" | |
| content: | | |
| cloud_final_modules: | |
| - [scripts-user, always] | |
| - type: "text/x-shellscript" | |
| content: | | |
| #!/bin/bash | |
| exec > >(tee /var/log/user-data.log | logger -t user-data -s 2>/dev/console) 2>&1 |
My domain is registered on cloudflare.
So go to https://dash.cloudflare.com/profile/api-tokens to either use global key
or better create a new api key for a specific zone with zone dns edit permissions.
Copy that token you just created. Go back to dashboard, click on the domain you want to use
bottom right corner copy the zone id.
Acme Client I have used
https://github.com/acmesh-official/acme.sh