Skip to content

Instantly share code, notes, and snippets.

@sean6541
sean6541 / cwop_upload.yaml
Last active August 1, 2026 05:34
Upload data from Home Assistant to the CWOP.
blueprint:
name: 'CWOP Upload'
description: >
Upload data from Home Assistant to the CWOP.
Config:
The sensor_* variables are the sensors whos data will be uploaded.
The trigger_entities variable specifies the entries to trigger state changes on (this could be a list).
The script "/config/blueprints/automation/sean6541/send_tcp.sh" must be executable and contain the following:
@unixpickle
unixpickle / README.md
Created November 14, 2019 20:58
Hacking Lily's Garden

Overview

In this document, I will describe how I managed to get unlimited stars and coins in the Android game "Lily's Garden". In short, here are the steps:

  • Use the adb backup feature to extract all of the game's data
  • Extract the Android backup into a tar file
  • Modify the file which stores the number of coins and stars
  • Re-sign the coins/stars field using a reverse-engineered HMAC key
  • Convert the tar file back to an Android backup
@mill1000
mill1000 / README.md
Last active October 27, 2025 17:46
Headless A2DP Audio Streaming on Raspbian Stretch

About

This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43

Prerequisites