Skip to content

Instantly share code, notes, and snippets.

View danielrosehill's full-sized avatar

Daniel Rosehill danielrosehill

View GitHub Profile
@azer
azer / fal-pricing.json
Created May 15, 2025 13:55
all fal.ai models and their prices
{
"models": [
{
"model": "fal-ai/ace-step",
"pricing": {
"pricePerSecond": { "currency": "USD", "amount": 0.005 }
}
},
{
"model": "fal-ai/ace-step/audio-inpaint",
@rdeangel
rdeangel / zigbee2mqtt-tuya-4-button-switch-mqtt-device-trigger_rdeangel.yaml
Last active November 16, 2025 15:41
Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel
blueprint:
name: Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel
description: "Blueprint Version: 11-01-25\n
Blueprint Name: Zigbee2MQTT - Tuya 4-Button Switch (MQTT Device Trigger) - rdeangel\n\n
This blueprint uses MQTT `device` based triggers and it will be triggered only when the selected Device MQTT messages are received."
domain: automation
input:
mode:
name: Automation Modes
description: https://www.home-assistant.io/docs/automation/modes/
@Jiab77
Jiab77 / setup-nut-and-netdata-on-ubuntu.md
Last active November 20, 2025 23:08
In this document, I will explain how to setup nut (Network UPS Tools) on Ubuntu 18.04 and 20.04.

Setup nut and netdata on Ubuntu

In this document, I will explain how to setup nut (Network UPS Tools) on Ubuntu 18.04 and 20.04.

It is basically the next chapter of my previous gist, Upgrade nut on Ubuntu 18.04.

I'll only document USB connected UPS and not the other supported connection modes.

Install required dependencies

@fr3nd
fr3nd / TS0041.yaml
Last active October 28, 2025 03:47
Zigbee2MQTT - Tuya 1-button Scene Switch (TS0041)
blueprint:
name: Zigbee2MQTT - Tuya 1-Button Scene Switch
description: Automate your Tuya 1-Button Scene Switch via Zigbee2MQTT.
domain: automation
input:
switch:
name: Tuya 1-Button Scene Switch
description: Tuya 1-Button Scene Switch to use
selector:
entity:
@nekromoff
nekromoff / zoom-bombing.php
Last active November 6, 2025 06:26
Zoom bombing - identify Zoom existing meeting IDs
<?php
/*
Identify existing meetings/meeting IDs on Zoom.us call app
License: Public domain. Use for pranking only. Any other use prohibited.
https://gist.github.com/nekromoff/48ec26cbaecc31fccb202d1efa7d0657
*/
$ch = curl_init();
@PARC6502
PARC6502 / OpenSourceBaas.md
Last active December 5, 2025 02:13
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@csamsel
csamsel / convert-ssl.sh
Last active September 26, 2024 03:36
convert ssl certificates from pem to crt/key
openssl rsa -outform der -in privkey.pem -out privkey.key
openssl x509 -outform der -in fullchain.pem -out fullchain.crt
openssl x509 -outform der -in cert.pem -out cert.crt