See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
# The example of a multi-select dialog in a Kodi addon created with PyXBMCt framework. | |
# You will need a checkmark image file. | |
import os | |
import xbmcgui | |
import xbmcaddon | |
import pyxbmct.addonwindow as pyxbmct | |
_addon = xbmcaddon.Addon() | |
_path = _addon.getAddonInfo("path") | |
_check_icon = os.path.join(_path, "check.png") # Don't decode _path to utf-8!!! |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Slot Machine</title> | |
</head> | |
<body> | |
<?php | |
/************ |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
#!/bin/bash -ex | |
git_branch="v1.3-patch" | |
git_base="https://github.com/rstudio/rstudio" | |
QT_VERSION=5.15.0 | |
now=$(date +"%m%d%Y%H%M") | |
#docker build --pull --no-cache -f Dockerfile.focal-amd64 -t rstudio:focal-amd64 . | |
# following from https://stackoverflow.com/a/246128 | |
SOURCE="${BASH_SOURCE[0]}" | |
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink | |
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" |
blueprint: | |
name: Turn the light on when motion is detected | |
description: Turn on a light when motion is detected and Illuminance is low. | |
domain: automation | |
source_url: https://github.com/niemyjski/home-assistant-config/tree/master/blueprints/automation/niemyjski/motion_light.yaml | |
input: | |
motion: | |
name: Motion Sensor | |
description: The motion sensor wich triggers the light to turn on | |
selector: |
blueprint: | |
name: Yet Another Motion Automation | |
description: > | |
# YAMA V10 | |
Turn on lights or scenes when motion is detected. | |
Four different scenes can be defined depending on time of day. | |
blueprint: | |
name: Target temperature adjustment depending on second temperature sensor (Fahrenheit) | |
description: > | |
Sets target temperature depending on second temperature sensor. | |
This blueprint is inspired by this blueprint https://community.home-assistant.io/t/tado-set-offset-using-separate-temperature-sensor/288515 | |
created by Sanderma. Since not all thermostat devices have an configurable | |
offset, this blueprint sets the target temperature of the thermostat device | |
depending on a given target temperature and a second temperature sensor. | |
domain: automation | |
input: |
blueprint: | |
name: Climate Control Persist Values | |
description: Stores climate control configuration | |
domain: automation | |
input: | |
climate_source: | |
name: Source Thermostat | |
description: Climate entity which will send the temperature update | |
selector: | |
entity: |
# Dumb way to control humidity in Bathroom using mechanical ventillation fan. | |
# It tries to be quiet and enable fan after people leave the room, except it is really necessary. | |
# Fan is usually turned on in periods when light is off. | |
# original version: | |
# https://github.com/KrzysztofHajdamowicz/home-assistant-blueprints/ | |
blueprint: | |
name: Humidity controller | |
description: Turn on and turn off your fan according to humidity and (assumed) user presence. | |
domain: automation |