winverSet-ExecutionPolicy RemoteSigned -Scope CurrentUserPerfetto is super useful for understanding interactions between the kernel and applications. Outside of Android and ChromeOS, though it's use isn't as common. This doc tries to provide a basic walk through to get started using perfetto for upstream kernel development with classic linux distros, potentially running under qemu.
Grab the latest linux- tarball: https://github.com/google/perfetto/releases
Often the tests I’m tracing need to run as root, so because of this, I copied the
binaries in the tarball to /usr/local/bin/ and chmod +x the binaries to make
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!
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:TokenIssueTime This 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.
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
To setup Pushover.net notification in Proxmox VE, go to:
Datacenter -> Notifications -> Notification Targets -> Add -> Webhook
Set up the following fields:
pushover (or whatever you want, note the character limitation)POST, https://api.pushover.net/1/messages.jsonContent-Type -> application/jsonpushover_proxmox-notification-webhook.json file below| #!/bin/bash | |
| ##### | |
| ## Author: [email protected] | |
| ## Dept: Consulting/Infrastructure | |
| ## Detail: Script to check updates and their severity | |
| ## Example: yum_update_report.sh -s Moderate | |
| ##### | |
| function validations () | |
| { |