$ minikube version
minikube version: v1.7.1
| https://learn.microsoft.com/pt-pt/training/paths/github-foundations-2/ |
| https://github.com/moovweb/gvm | |
| sudo apt-get install bison | |
| bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
| gvm install go1.22.2 -B | |
| gvm use go1.22.2 |
| :local queueName "Client-$leaseActMAC"; | |
| :local ipAdd "$leaseActIP/32"; | |
| :if ([:len [/queue simple find name=$queueName]] = 0) do={ | |
| :log info "No Queue"; | |
| /queue simple add name=$queueName target=($ipAdd) limit-at=10M/4M max-limit=10M/4M comment=[/ip dhcp-server lease get [find where active-mac-address=$leaseActMAC && active-address=$leaseActIP] host-name]; | |
| } else={ | |
| :log info "exists"; | |
| :local ada [/queue simple get [find name=$queueName] target]; |
| { | |
| "id": "45c0996e-ac5e-4271-80e1-a09a16391a27", | |
| "name": "Sonoff Mini", | |
| "values": [ | |
| { | |
| "key": "sonoff_ip", | |
| "value": "10.0.1.32", | |
| "enabled": true | |
| }, | |
| { |
| #!/bin/bash | |
| cat > /usr/local/etc/pf-nat.conf << EOF | |
| nat on en0 from vnic1:network to any -> (en0) | |
| EOF | |
| sudo pfctl -d | |
| sudo sysctl -w net.inet.ip.forwarding=1 | |
| sudo pfctl -f /usr/local/etc/pf-nat.conf -e |
| --- | |
| #https://doc.owncloud.com/server/10.7/admin_manual/installation/docker/#raspberry-pi | |
| version: '3.7' | |
| services: | |
| traefik: | |
| container_name: proxy | |
| image: traefik | |
| restart: always | |
| command: | |
| - "--log.level=DEBUG" |
| curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.9.0/kind-linux-amd64 | |
| chmod +x ./kind | |
| mv ./kind $HOME/.local/bin/kind |
| flatpak from Ubuntu package server via the following command. | |
| sudo apt update && sudo apt install flatpak | |
| https://github.com/bazukas/obs-linuxbrowser | |
| https://linuxhint.com/install_obs_ubuntu/#:~:text=Install%20OBS%20from%20Ubuntu%20Package%20Server&text=To%20get%20this%20program%20from,refresh%20the%20APT%20repository%20cache.&text=Now%2C%20install%20OBS%20Studio. |