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
[out:json]; | |
area["name"="United Kingdom"]->.searchArea; | |
( | |
node(area.searchArea)["generator:source"="solar"]['generator:output:electricity'='yes']; | |
way(area.searchArea)["generator:source"="solar"]['generator:output:electricity'='yes']; | |
relation(area.searchArea)["generator:source"="solar"]['generator:output:electricity'='yes']; | |
); | |
out body; | |
>; | |
out skel qt; |
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
license: mit |
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 | |
clear | |
curl -X POST -H Content-Type:application/json -d ' | |
{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.clear"} | |
' http://192.168.0.13:6680/mopidy/rpc | |
curl -X POST -H Content-Type:application/json -d ' | |
{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.add", | |
"params": {"uri": "spotify:user:half-baked:playlist:33oDg4iambUIRrG8gNoJSb"}} |
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
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Toad Hall | |
# Location required to calculate the time the sun rises and sets | |
latitude: XXXXXXXXXX | |
longitude: -XXXXXXXXXX | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: Europe/London |