Skip to content

Instantly share code, notes, and snippets.

alias: Tooth Brushing Countdown (Approx 2mins)
trigger: []
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.tooth_brush_timer_state
state: "off"
sequence:
@ryanneufeld
ryanneufeld / serial.log
Created April 14, 2017 03:09
Serial output from M45 V10
< 7:56:33 PM: Measured left 11.69000, 0.66000, -2.85000
< 7:56:33 PM: Measured right 16.45000, 0.66000, -2.85000
< 7:56:33 PM: Measured left 11.65000, 0.56000, -2.85000
< 7:56:33 PM: Measured right 16.49000, 0.56000, -2.85000
< 7:56:34 PM: Measured left 11.60000, 0.46000, -2.85000
< 7:56:34 PM: Measured right 16.55000, 0.46000, -2.85000
< 7:56:34 PM: Measured left 11.57000, 0.36000, -2.85000
< 7:56:34 PM: Measured right 16.59000, 0.36000, -2.85000
< 7:56:35 PM: Measured left 11.54000, 0.26000, -2.85000
< 7:56:35 PM: Measured right 16.62000, 0.26000, -2.85000
==> default: There was a problem while downloading the metadata for your box
==> default: to check for updates. This is not an error, since it is usually due
==> default: to temporary network problems. This is just a warning. The problem
==> default: encountered was:
==> default:
==> default:
==> default:
==> default: If you want to check for box updates, verify your network connection
==> default: is valid and try again.
#!/bin/sh
if [ -n "$1" ]; then
/usr/bin/avrdude -C/etc/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:$1:i
fi
kitchen destroy 1 ↵ ✹ ryanneufeld-patch-1
-----> Starting Kitchen (v1.10.2)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::UserError
>>>>>> Message: WinRM Transport requires the vagrant-winrm Vagrant plugin to properly communicate with this Vagrant VM. Please install this plugin with: `vagrant plugin install vagrant-winrm' and try again.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
mkdir -p '/opt/website'
mount -o nolock,vers=3,udp,noatime,actimeo=2 '172.27.72.1:/Users/rneufeld/dev/website' '/opt/website'
if command -v /sbin/init && /sbin/init --version | grep upstart; then
/sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT='/opt/website'
fi
(sudo=true)
DEBUG ssh: Re-using SSH connection.
INFO ssh: Execute: echo; printf $SSH_AUTH_SOCK (sudo=false)
DEBUG ssh: stdout:
2016-06-11 03:13:24 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: GET URL: http://alpharatio.cc/torrents.php?searchstr=Top+Gear+S08E02&filter_cat%5B1%5D=1&filter_cat%5B4%5D=1&filter_cat%5B5%5D=1&filter_cat%5B2%5D=1&filter_cat%5B3%5D=1 [Status: 302]
2016-06-11 03:13:24 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: GET URL: http://alpharatio.cc/login.php [Status: 200]
2016-06-11 03:13:24 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: Data returned from provider does not contain any torrents
2016-06-11 03:13:24 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: Search Mode: Episode
2016-06-11 03:13:24 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: Search string: Top Gear UK S08E03
2016-06-11 03:13:25 DEBUG SEARCHQUEUE-BACKLOG-74608 :: [AlphaRatio] :: GET URL: http://alpharatio.cc/torrents.php?searchstr=Top+Gear+UK+S08E03&filter_cat%5B1%5D=1&filter_cat%5B4%5D=1&filter_cat%5B5%5D=1&filter_cat%5B2%5D=1&filter_cat%5B3%5D=1 [Status: 302]
2016-06-11 03:13:25 DEBUG SEARCHQUEUE-BAC
root@vagrant:/etc/riak# diff -Naur riak.conf riak.conf.orig
--- riak.conf 2016-01-13 19:25:42.173339497 +0000
+++ riak.conf.orig 2016-01-13 19:25:26.517172746 +0000
@@ -99,11 +99,11 @@
## Name of the Erlang node
##
-## Default: riak@0.0.0.0
+## Default: riak@127.0.0.1
##
var React = require('react');
var ReactDOM = require('react-dom');
var ReactRouter = require('react-router');
var Router = ReactRouter.Router;
var Route = ReactRouter.Route;
var History = ReactRouter.History;
var createBrowserHistory = require('history/lib/createBrowserHistory');
var h = require('./helpers');
longestkey = 1
for key in somedict:
if len(key) > longestkey:
longestkey = len(key)