Emite as partes selecionadas das linhas de cada ARQUIVO na saída padrão.
# Comando
echo 'daniel:fernando:lourusso' | cut -d : -f 1,3
# Saida
# daniel:lourusso
blueprint: | |
name: Link Multiple Switches | |
description: | | |
## Link multiple switches together v1.0.1 | |
Select multiple switch entities to link their on/off state. If any selected switch entity is turned on or off, the other selected entities will be sent a matching on or off command. | |
Requires Home Assistant 2022.5.0 or newer. | |
Credit to @adchevrier for the initial blueprint: https://community.home-assistant.io/t/synchronize-the-on-off-state-of-2-entities/259010 | |
Credit to @Hebus for this fantastic template: https://community.home-assistant.io/t/synchronize-the-on-off-state-of-2-entities/259010/38 |
{"lastUpload":"2021-04-30T20:16:18.300Z","extensionVersion":"v3.4.3"} |
[user] | |
email = dflourusso@gmail.com | |
name = Daniel Fernando Lourusso | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = vi | |
eol = lf | |
pager = less -F -X |
alias gs='git status' | |
unalias ga &> /dev/null | |
ga() { git add -A $* && git status } | |
unalias gc &> /dev/null | |
gc() { noglob git commit -m "$*" && git status } | |
alias gp="git push -v --progress --follow-tags" | |
alias gu='git pull --rebase --autostash' | |
alias gx='gitg' | |
alias gui='gitg' | |
alias gxx='git log --graph --color --all --decorate' |
<?php | |
$notas = [ | |
999 => 8, | |
456 => 3, | |
789 => 5, | |
123 => 2, | |
]; // 8 5 3 2 | |
asort($notas); |