Skip to content

Instantly share code, notes, and snippets.

View BuffMcBigHuge's full-sized avatar
🇨🇦
Be the best, so I have competition.

Buff BuffMcBigHuge

🇨🇦
Be the best, so I have competition.
View GitHub Profile
@BuffMcBigHuge
BuffMcBigHuge / ComfyUI.js
Created January 8, 2025 23:02
ComfyUI.js - ComfyUI Helper Class in JavaScript for ComfyUI API
// ComfyUI.js
// Simple ComfyUI Helper Class in JavaScript for ComfyUI API
// Usage:
/*
const ComfyUI = require('./classes/ComfyUI');
// Define the nodes that you want to modify in your workflow
const nodes = {
seeds: ['4', '12'], // Node IDs that contain seeds

Fix magisk stock backup does not exist

# put stock boot.img into /sdcard/boot.img

# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
@Jlevyd15
Jlevyd15 / Heroku SSL with Certbot.md
Last active January 31, 2025 07:23
Creating a SSL certificate locally using Certbot on Mac OS and deploying to an existing Heroku App

Creating a SSL certificate locally using Certbot on Mac OS and deploying to an existing Heroku App

Caveats

  • You must have a heroku app deployed on the hobby tier. This is NOT the free tier and costs ~7/month
  • i'm assuming you have homebrew installed. It will be need to install the Certbot client
  • i'm also assuming you have the heroku CLI tools installed

first up, run this to install the certbot client

brew install certbot