Skip to content

Instantly share code, notes, and snippets.

@cfg
cfg / zen34.yaml
Last active July 25, 2024 19:03 — forked from computergreek/zen34.yaml
Generic entity blueprint tutorial for Zen34
blueprint:
name: Zooz ZEN34 Blueprint for generic entities. Does not support brightness.
description: Control a device with single-tap and double-tap
# reference: https://gist.github.com/flyingsubs/35246fa2935f105f133385c6cf41f6fa
# reference: https://gist.github.com/computergreek/847ad5194168cf3f26a0c908acc9431c
# reference: https://youtu.be/L-bcabdaMxE
# reference: https://chat.openai.com/share/299064bf-56bf-4bdb-a12b-3b474d8fec65
domain: automation
author: cfg
@cfg
cfg / slack_leave_bd_channels.py
Created July 15, 2022 17:39 — forked from krets/slack_leave_bd_channels.py
Quick script to leave a bunch of slack channels with the "bd-" prefix.
#!/usr/bin/env python
import argparse
import requests
import logging
LOG = logging.getLogger("slack_leaver")
class JSONRest(object):
def __init__(self, base_url):
@cfg
cfg / WWDC Line hax
Created November 9, 2016 15:38 — forked from b3ll/WWDC Line hax
// June 11, 2012
// https://twitter.com/b3ll/status/212169466665111552
-(BOOL)isBlocked
{
return false;
}
-(int)epicWWDCLineHacks
{
@cfg
cfg / floatsign.sh
Created July 25, 2016 15:35 — forked from mediabounds/floatsign.sh
A small bash script to re-sign iOS applications.
#!/usr/bin/env bash
# Copyright (c) 2011 Float Mobile Learning
# http://www.floatlearning.com/
# Extension Copyright (c) 2013 Weptun Gmbh
# http://www.weptun.de
#
# Extended by Ronan O Ciosoig January 2012
#
# Extended by Patrick Blitz, April 2013