No drivers need to be installed on the proxmox, from now called host.
Find GIDs of video and render group on host:
cat /etc/group | grep video
cat /etc/group | grep render
####### | |
## These results are still open to the public. See | |
## https://blog.ktz.me/the-best-media-server-cpu-in-the-world/ | |
## for analysis of them. | |
# https://github.com/ironicbadger/quicksync_calc | |
# zoidberg - dell 7040 sff pc | |
CPU TEST FILE BITRATE TIME AVG_FPS AVG_SPEED AVG_WATTS | |
i5-6600T h264_1080p_cpu ribblehead_1080p_h264 18952 kb/s 116.352s 29.88 1.04x N/A |
#!/usr/bin/env bash | |
# current_shell_rcfile() { | |
# if [ -n "$BASH_VERSION" ]; then | |
# printf "%s\n" ~/.bashrc | |
# elif [ -n "$ZSH_VERSION" ]; then | |
# printf "%s\n" ~/.zshrc | |
# elif [ -n "$FISH_VERSION" ]; then | |
# printf "%s\n" ~/.config/fish/config.fish | |
# elif [ -n "$XONSH_VERSION" ]; then |
# Note: This will only work on Navi21 GPUs (6800/6900+). | |
# See: https://github.com/RadeonOpenCompute/ROCm/issues/1668#issuecomment-1043994570 | |
# Install Conda (latest from https://docs.conda.io/en/latest/miniconda.html#linux-installers) | |
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh | |
bash Miniconda3-py39_4.12.0-Linux-x86_64.sh | |
# follow the prompts to install it, and run `conda` to make sure it's working. | |
# Install git and curl, and clone the stable-diffusion repo | |
sudo apt install -y git curl |
job "hello-world" { | |
datacenters = ["dc1"] | |
namespace = "default" | |
type = "service" | |
group "redis" { | |
# Specify number of replicas of redis needed. | |
count = 1 | |
# Specify networking for the group, port allocs. |
#!/bin/bash | |
export LC_CTYPE=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
# Must run on Proxmox VE 7 server | |
# Not sure how to handle a cluster - either run on each node or copy template after creating on one? | |
# e.g. $ ssh root@proxmox.server < proxmox-create-cloud-template.sh | |
SRC_IMG="https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64-disk-kvm.img" |
#!/bin/bash | |
set -eu | |
# Listen address for all docker.io/registry instances | |
listen_address=0.0.0.0 | |
# Listen port for the first container | |
# all subsequent ports for containers will be incremented by one | |
listen_port_first=5000 | |
insecure=true |
ITHOME 鐵人賽 :: 主題競賽組觀戰區
目前這份資料是用年久失修的爬蟲在跑的,新版網址如下:
https://ithome-2021-ironman.s3.ap-northeast-1.amazonaws.com/index.html
This guide will include a step-by-step guide on how to set up an board running Armbian to act as a gadget device (similar to how it's been advertized with the Pi Zero)
You will need a:
/* | |
ERB template chunk from The Feed's display of emails: | |
<section class="postings postings--feed-style" id="postings" | |
data-controller="pagination" data-pagination-root-margin-value="40px"> | |
<%= render partial: "postings/snippet", collection: @page.records, as: :posting, cached: true %> | |
<%= link_to(spinner_tag, url_for(page: @page.next_param), | |
class: "pagination-link", data: { pagination_target: "nextPageLink", preload: @page.first? }) unless @page.last? %> | |
</section> |