Skip to content

Instantly share code, notes, and snippets.

View BadLamb's full-sized avatar

Lambda BadLamb

View GitHub Profile
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
PPPPPPPPPPPPPPPPPPPPPPPP
<
<
@BadLamb
BadLamb / main.go
Last active November 5, 2017 14:57
/*
How to get this to work on your machine:
1) change the sqlx.Connect to connect with your server
2) run the following commands:
go get github.com/dgrijalva/jwt-go
go get github.com/jmoiron/sqlx
go get github.com/lib/pq
go get github.com/magical/argon2
go run main.go
Object Recognition Terms of Service and Privacy Policy
1. Terms
By using the app you are agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this website are protected by applicable copyright and trademark law.
2. Use License
Permission is granted to temporarily download one copy of the materials (information or software) on Object Recognition's website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:
modify or copy the materials;
@BadLamb
BadLamb / ayy
Last active July 1, 2017 06:18
{
status: "true",
data: "<html><head><script>console.log(1)</script></head></html>
}
### Keybase proof
I hereby claim:
* I am badlamb on github.
* I am pwnlambda (https://keybase.io/pwnlambda) on keybase.
* I have a public key whose fingerprint is 672D B0E3 63DB 5362 A681 2727 BA47 5DAD AF9F 92DF
To claim this, I am signing this object:
@BadLamb
BadLamb / designer.html
Last active December 27, 2015 13:09
designer
<link rel="import" href="../polymer/polymer.html">
<design-host translate spellcheck contenteditable="inherit" offsettop="0" offsetleft="0" offsetwidth="0" offsetheight="0" namespaceuri="http://www.w3.org/1999/xhtml" localname="design-host" tagname="DESIGN-HOST" id="design_host" outerhtml='<design-host id="design_host"></design-host>' scrolltop="0" scrollleft="0" scrollwidth="0" scrollheight="0" clienttop="0" clientleft="0" clientwidth="0" clientheight="0" childelementcount="0" nodetype="1" nodename="DESIGN-HOST"></design-host>
@BadLamb
BadLamb / designer.html
Last active December 5, 2015 17:35
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@BadLamb
BadLamb / designer.html
Created December 5, 2015 17:02
designer
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@BadLamb
BadLamb / designer.html
Last active December 5, 2015 15:00
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">