A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ro-setup.sh - TUI-driven read-only root conversion for Armbian and Raspberry Pi OS. | |
| # | |
| # Detects platform at runtime (Armbian vs Raspberry Pi OS, and within RPi | |
| # whether it's Bookworm+ with /boot/firmware or older with /boot). | |
| # | |
| # Modes: | |
| # sudo ./ro-setup.sh # interactive TUI (default) | |
| # sudo ./ro-setup.sh --auto # run every applicable action, no prompts (still prepare-only) | |
| # sudo ./ro-setup.sh --dry-run # show what would happen, change nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -rtc old/app/Providers/AppServiceProvider.php new/app/Providers/AppServiceProvider.php | |
| *** old/app/Providers/AppServiceProvider.php 2017-11-18 16:56:54.000000000 +0530 | |
| --- new/app/Providers/AppServiceProvider.php 2019-02-03 18:00:47.634035968 +0530 | |
| *************** | |
| *** 4,9 **** | |
| --- 4,10 ---- | |
| use Illuminate\Support\ServiceProvider; | |
| use Schema; | |
| + use URL; |
