This file contains 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
#!/bin/bash | |
# You must have Bundler installed to use this script. You can install it with: | |
# gem install bundler | |
# | |
# This script designed for bundling gems along with a Dropzone action. | |
# First create a Gemfile inside the action bundle with the following like: | |
# | |
# source 'https://rubygems.org' | |
# gem 'great-gem' |
This file contains 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 bash | |
# This script requires ansi2html.sh to be copied to ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin/ | |
# You can download ansi2html.sh from http://www.pixelbeat.org/scripts/ansi2html.sh | |
# Change this to wherever you cloned the dropzone3-actions repo to | |
DROPZONE_3_ACTIONS_REPO_PATH=~/"Documents/Dropzone 3/dropzone3-actions" | |
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh" |
This file contains 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
"""Support for Flux lights.""" | |
import logging | |
import random | |
import socket | |
from flux_led import BulbScanner, WifiLedBulb | |
import voluptuous as vol | |
from homeassistant.components.light import ( | |
ATTR_BRIGHTNESS, |