Skip to content

Instantly share code, notes, and snippets.

View justin8's full-sized avatar

Justin Dray justin8

View GitHub Profile
@justin8
justin8 / sensor-light.yaml
Created July 11, 2024 10:41 — forked from Blackshome/sensor-light.yaml
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# 💡 Sensor Light
**Version: 6.9**
Your lighting experience, your way - take control and customize it to perfection! 💡✨
@justin8
justin8 / reflect.py
Created June 1, 2016 03:19 — forked from huyng/reflect.py
A simple echo server to inspect http web requests
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):