I hereby claim:
- I am bcdonadio on github.
- I am bcdonadio (https://keybase.io/bcdonadio) on keybase.
- I have a public key whose fingerprint is D6F5 6A78 FF53 9A35 C425 35EA A016 0768 C300 5604
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Found 5797 test(s). | |
| Creating test database for alias 'default'... | |
| System check identified no issues (0 silenced). | |
| .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF.................................................................................................................................................................FF......................................FF..........................................................FF........................................ |
blueprint: | |
name: Link On/Off State of Grouped Devices | |
description: | | |
## Link On/Off State of Grouped Devices v1.1.1 | |
Select multiple entities from a group to link their on/off state. If any selected entity is turned on or off, the other selected entities will be sent a matching on or off command. | |
You can select any entity, but only entities supported by the `homeassistant.turn_on` or `homeassistant.turn_off` service calls will work. | |
### Requirements |
In order to compile a fully static binary when using Cgo you'll need to use another standard C library like musl instead of the GNU libc, because Canonical and others simply decided that most of the whole damn point of using Golang, which is having a multi-platform and almost universal build toolchain, is simply not to their tastes.
A solution then is to do this messy thingy:
apt update && apt build-dep -y musl
MUSL_VER=2.2.2 # Matches Ubuntu 22.04 "Jammy" as of 2023-01-06
DIR=$(mktemp -d)
pushd $DIR
wget https://www.musl-libc.org/releases/musl-${MUSL_VER}.tar.gz -O musl.tar.gz
#!/bin/bash | |
# Install the NHS (https://www.nhs.com.br) UPS server software on Raspbian | |
# using qemu-user to emulate i386 arch on armv7l | |
debRelease="stretch" | |
targetArch="i386" | |
serviceUser="nhsups" | |
zipURL="https://nhs.com.br/wp-content/uploads/2018/05/nhsups_3.1.36_x86_eGLIBC_2.11.zip" | |
installDir="/usr/local/nhs" |
"""Test a tsuru deploy""" | |
from subprocess import Popen, PIPE, run | |
from tempfile import NamedTemporaryFile | |
import os | |
import yaml | |
CONFIGFILE = "config.yml" | |
TARGETFILE = os.environ["HOME"] + "/.tsuru/target" | |
class Tsuru(object): |
I hereby claim:
To claim this, I am signing this object:
####INICIO rsync_dhcp.te#### | |
module rsync_dhcp 1.1; | |
require { | |
type rsync_t; | |
type dhcp_etc_t; | |
class dir { getattr search }; | |
class file { read getattr open }; | |
} | |
allow rsync_t dhcp_etc_t:dir { getattr search }; |
dnf install texlive-abntex2 texlive-babel-portuges texlive-babel-french texlive-hyphen-portuguese texlive-hyphen-french texlive-multirow texlive-lipsum |
#!/bin/bash | |
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
git clone https://github.com/Valloric/YouCompleteMe ~/.vim/bundle/YouCompleteMe | |
cd ~/.vim/bundle/YouCompleteMe | |
git submodule update --init --recursive | |
rm -rf ~/.ycm_build | |
mkdir ~/.ycm_build | |
cd ~/.ycm_build | |
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp |