Skip to content

Instantly share code, notes, and snippets.

View pardnchiu's full-sized avatar
🚫
Employed at ITRD, no freelance.

邱敬幃 Pardn Chiu pardnchiu

🚫
Employed at ITRD, no freelance.
View GitHub Profile
@pardnchiu
pardnchiu / GPU Passthrough on Proxmox 8.md
Last active October 28, 2025 23:50
Proxmox

GPU Passthrough in Proxmox (RTX 6000 Ada / RTX 5080 / RTX 5090)

Note

  • Proxmox: 8.4.14
  • GPUs: RTX 6000 Ada / RTX 5080 / RTX 5090

Check GPU is Consumer or Professional

Note

Professional GPU with physical port has two mode, need to change to compute mode first, or cannot be used for passthrough.

@pardnchiu
pardnchiu / README.en.md
Last active October 28, 2025 23:51
Dynamic Textarea

Dynamic Textarea

This project demonstrates an auto-growing textarea component that dynamically adjusts its height to ensure all text remains visible without scrolling.
Preview: jsfiddle

Features

  • Dynamic Resizing
@pardnchiu
pardnchiu / README.en.md
Last active October 28, 2025 23:50
Converting HSB Colors to HSLA in SCSS

Converting HSB Colors to HSLA in SCSS

This code provides two SCSS functions, hsba and hsb, designed to convert HSB (Hue, Saturation, Brightness) color values into HSLA (Hue, Saturation, Lightness, Alpha) values. These functions are particularly useful for adapting HSB-based colors into CSS-compatible formats for use in web styles.

Overview

@function hsba($hue, $saturation, $brightness, $alpha: 1)

mariadb-unique-id

MariaDB 唯一字符串轉換函式
MariaDB Function for Unique ID Conversion

適用於 MariaDB 10.3.39
suitable for MariaDB 10.3.39

介紹 / Introduction