This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
domain: automation | |
name: Controlling lights using Philips Hue Dimmer Switch (RWL022) | |
description: Take the swith fast into use with pre-set configuration. | |
input: | |
zha_device: | |
name: Philips Hue Dimmer Switch (RWL022 only) | |
description: The swith to be taken into use. | |
selector: | |
device: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
domain: automation | |
name: Controlling lights using Philips Hue Dimmer Switch (RWL022) | |
description: Take the swith fast into use with pre-set configuration. | |
input: | |
zha_device: | |
name: Philips Hue Dimmer Switch (RWL022 only) | |
description: The swith to be taken into use. | |
selector: | |
device: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
%%% This script converts an arbitrary binary file to an Erlang module with a | |
%%% single exported 'bin/0' function that returns the original binary. | |
%%% | |
%%% See the end of the file for how I figured out the correct terms. | |
main(["+debug_info" | Files]) -> | |
io:format("Embedding binaries with debug_info...\n"), | |
lists:foreach(fun(X) -> embed_file_in_beam(X, [debug_info]) end, Files); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f4e7c10492b7b6f6fd805d4059eb44c4ae8eaa8e Mon Sep 17 00:00:00 2001 | |
From: benoitc <[email protected]> | |
Date: Sun, 22 Dec 2013 08:44:38 +0100 | |
Subject: [PATCH 1/2] add hackney dependency | |
--- | |
rebar.config | 13 +++++++++++-- | |
1 file changed, 11 insertions(+), 2 deletions(-) | |
diff --git a/rebar.config b/rebar.config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 26 19:24:29 Benoit-Chesneaus-iPad SpotMeApp[653] <Notice>: stdout: | |
=ERROR REPORT==== 26-Mar-2012::19:24:29 === | |
** Generic server <0.172.0> terminating | |
** Last message in was delayed_commit | |
** When Server state == {db,<0.171.0>,<0.172.0>,nil,<<"1332781452099921">>, | |
<0.166.0>,<0.173.0>, | |
{db_header,6,528,0, | |
{6435190,{426,0,5859423},52419}, | |
{6471288,426,22630}, | |
{6275330,[],545}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day job: web craftsman doing opensource development | |
Favorite Python project: my own project? gunicorn or couchapp | |
Favorite Conference: pycon | |
Python Experience Level: Expert |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copypasta of Django's runserver management command, modified to use gunicorn http://github.com/benoitc/gunicorn | |
import os | |
import signal | |
import sys | |
import threading | |
import time | |
from optparse import make_option |