Skip to content

Instantly share code, notes, and snippets.

View dermodmaster's full-sized avatar
🐼
Panda Panda Panda

Levent K. (M.Sc.) dermodmaster

🐼
Panda Panda Panda
View GitHub Profile
@dermodmaster
dermodmaster / install-comfyui-flux-dev-on-ec2.sh
Created August 29, 2024 11:44
Install ComfyUi easily with FLUX-Dev on AWS EC2 instance
#!/bin/bash
# Used EC2 Image: Techlatest.net-nvidia-aiml-cuda-vm-v01-prod-b2r3n6vwasdcy
# 1. Check if script is run with sudo
if [ "$EUID" -ne 0 ]; then
echo "Please run as root (using sudo)"
exit 1
fi
# 2. Change the password of ubuntu, for jupyterhub login
@dermodmaster
dermodmaster / apex.chart.sh
Created May 12, 2024 12:24
Add coral pci dual tpu temperature metrics to netdata
# Put me at /usr/libexec/netdata/charts.d/apex.chart.sh
# shellcheck shell=bash
# no need for shebang - this file is a plugin
# Initialization function
# Used to check if the required commands are available
apex_check() {
require_cmd cat || return 1
return 0
}