$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM
format (only used when you use the on
command).
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* Sebastiano Poggi wrote this file. As long as you retain this notice you | |
* can do whatever you want with this stuff. If we meet some day, and you think | |
* this stuff is worth it, you can buy me a beer in return. Seb | |
* ---------------------------------------------------------------------------- | |
*/ | |
package dev.sebastiano.bundel |
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* Sebastiano Poggi wrote this file. As long as you retain this notice you | |
* can do whatever you want with this stuff. If we meet some day, and you think | |
* this stuff is worth it, you can buy me a beer in return. Seb | |
* ---------------------------------------------------------------------------- | |
*/ | |
/** |
#! /bin/bash | |
#---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. Seb | |
# ---------------------------------------------------------------------------- | |
# Inspired by http://www.spaziocurvo.com/2015/03/svg-to-icns-script-for-mac-os-x/ | |
# and https://gist.github.com/plroebuck/af19a26c908838c7f9e363c571199deb |
blueprint: | |
name: HVAC automation | |
source_url: https://gist.github.com/rock3r/5954b87184c6536bb8f2ea922bc97f02 | |
description: Turn a HVAC on or off based on a binary sensor | |
domain: automation | |
input: | |
opening_sensor: | |
name: Window/Door sensor | |
description: The window or door sensor to use to drive the Tado valve | |
selector: |
@OptIn(ExperimentalAnimationApi::class) | |
@Composable | |
private fun DrawText(it: PaddingValues) { | |
Column(Modifier.padding(it)) { | |
var text by remember { mutableStateOf("Vel eum voluptatem nulla. Ut enim unde sit autem laboriosam consequatur ut. Quo eius veniam occaecati minima. Porro architecto et omnis. Et dolor qui non. Tempora et consequuntur ea quia iste qui ducimus cum.\n") } | |
OutlinedTextField(value = text, onValueChange = { text = it.trim() }) | |
val baseFontSizePx = with(LocalDensity.current) { 24.sp.toPx() } | |
val context = LocalContext.current | |
var bitmap by remember { mutableStateOf<ImageBitmap?>(null) } |
$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM
format (only used when you use the on
command).
See https://github.com/orgs/community/discussions/16925
Well-formed:
Caution
Negative potential consequences of an action.
[!CAUTION]
>Negative potential consequences of an action.
## Seb's .gitignore template | |
# You can find the most up-to-date version at https://go.sebastiano.dev/gitignore | |
# Partly based on templates by https://plugins.jetbrains.com/plugin/7495--ignore | |
# Released under a CC-0 License https://creativecommons.org/share-your-work/public-domain/cc0/ | |
### Windows template | |
# Windows thumbnail cache files | |
Thumbs.db | |
Thumbs.db:encryptable | |
ehthumbs.db |