Skip to content

Instantly share code, notes, and snippets.

View memesalot's full-sized avatar
😃

Memesalot memesalot

😃
  • Privately Contracted
View GitHub Profile
@memesalot
memesalot / safe-event-action.yaml
Last active June 12, 2026 04:57
Runs an action for an event entity button press while ignoring unknown/unavailable restore changes.
blueprint:
name: Safe Event Button Action
description: "Runs an action for an event entity button press while ignoring unknown/unavailable restore changes."
domain: automation
input:
button_event:
name: Button event entity
selector:
entity:
@memesalot
memesalot / statusline.sh
Created March 2, 2026 09:55
Claude Code statusline.sh
#!/bin/bash
# Line 1: Model | tokens used/total | % used <fullused> | % remain <fullremain> | thinking: on/off
# Line 2: current: <progressbar> % | weekly: <progressbar> % | extra: <progressbar> $used/$limit
# Line 3: resets <time> | resets <datetime> | resets <date>
set -f # disable globbing
input=$(cat)
if [ -z "$input" ]; then

AcentraMC Rank Permissions

This document outlines all ranks and their permissions on the server.


Rank Hierarchy

Owner (100)
@memesalot
memesalot / haproxy.cfg
Created July 15, 2025 16:08 — forked from nathan818fr/haproxy.cfg
Decoding the Minecraft handshake with HAProxy (protocol version, hostname, next-state) to choose which backend to use.
global
lua-load /path/to/haproxy_minecraft.lua
[...]
defaults
[...]
frontend mc_listener
bind *:25565
mode tcp
@memesalot
memesalot / update_immich.yml
Last active October 3, 2024 07:06
Update Immich to the latest version with Ansible
---
- name: Update Immich App
hosts: localhost
connection: local # Ensure the playbook runs locally
become: yes # Use sudo privileges where necessary
# Run this playbook with the following command:
# ansible-playbook update_immich.yml -K -i localhost,
vars:
app_directory: /home/lab/immich-app # Change to proper immich-app directory
containers_to_check:
@memesalot
memesalot / update_pelican.yml
Created September 28, 2024 08:52
Update Pelican Panel via Ansible Playbook
---
- name: Update the Pelican application locally
hosts: localhost
become: yes
tasks:
- name: Put the application into maintenance mode
command: php artisan down
args:
chdir: /var/www/pelican
@memesalot
memesalot / pool-pump-scheduler.yaml
Created June 14, 2024 06:30
pool-pump-scheduler.yaml
blueprint:
name: Pool Pump Scheduler
description: Schedules pool pump based on its capacity and pool size. Just set your pools ize (volume), your pump flow rate and desired time limit the pump can rum daily. The automation will calculate the turnover rate and swithes on and off the pump as required.
domain: automation
input:
pool_pump:
name: Pool Pump
description: A switch that controls the pool pump
selector:
entity:

Terms of Service

Last Updated: Nov 5, 2023

Introduction

This document encompasses the terms, privacy policy, and agreement that govern your use of Tickets when added to a server or accessed as a member of such a server. It is important to note that this document does not supersede the Developer Terms of Service.

Terminology

  • Server Manager - Anyone who has the ability to add a bot to a server or configure the bot for the server. This is usually an administrator or moderator
@memesalot
memesalot / tap.yaml
Created December 6, 2023 10:30
Z2M - Philips Hue Tap Switch
blueprint:
name: Z2M - Hue Tap Switch 4 buttons
description: Use the individual buttons of the Hue Tap switch to control an action
by a tap.
domain: automation
input:
dimmer:
name: Hue Tap switch
description: Hue Tap Switch to use (Zigbee2mqtt Action Sensor)
selector:

Privacy Policy

Last Updated: Nov 05, 2023

Introduction

This Privacy Policy explains how Tickets collects, uses, and safeguards your data. By adding Tickets to your server or utilizing this bot in any capacity, you agree to abide by the terms outlined in this Privacy Policy.

Terminology

  • Server Manager - Anyone who has the ability to add a bot to a server or configure the bot for the server. This is usually an administrator or moderator