1,004 B
1,004 B
- 11:33 quick capture: Alpaca: A strong open-source instruction-following model Alpaca: A strong open-source instruction-following model #LLM
- Idea per far riconnettere il client #wireguard al nodo #vpn se il il ping fallisce #homelab
-
#!/bin/bash gateway=10.6.0.1 count=$(ping -c 3 $gateway | grep from* | wc -l) if [ $count -eq 0 ]; then echo "VPN gateway seems unreachable. Restarting the VPN client..." | systemd-cat -p warning wg-quick down wg0 && wg-quick up wg0 else echo "VPN gateway is reachable, no action required!" | systemd-cat -p info fi
-
- 16:51 quick capture: Scrcpy 2.0 mirrors Android devices with audio forwarding Scrcpy 2.0 mirrors Android devices with audio forwarding #Android #teaching