Skip to content

Instantly share code, notes, and snippets.

@sausin
sausin / ro-setup.sh
Last active April 15, 2026 18:32
Readonly filesystem management on an orangepi or raspberry pi - aligned for picoclaw and zerotier
#!/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
@sausin
sausin / README.md
Last active March 31, 2021 13:07 — forked from willjohnson/README.md
Server Status Widget for Dashing

Description

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.

Usage

@sausin
sausin / https.patch
Created February 3, 2019 12:43
Enforce https in Akaunting url generation
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;